From 62c27b55b6c2bf04d0ae8ef9debb629b6e5b8db7 Mon Sep 17 00:00:00 2001 From: George Fu Date: Thu, 7 Sep 2023 19:48:24 +0000 Subject: [PATCH] chore(clients): codegen for model sync --- .../src/endpoint/EndpointParameters.ts | 2 +- .../src/endpoint/ruleset.ts | 47 +- .../client-account/src/endpoint/ruleset.ts | 2 +- .../client-acm-pca/src/endpoint/ruleset.ts | 2 +- clients/client-acm/src/endpoint/ruleset.ts | 32 +- .../src/endpoint/ruleset.ts | 2 +- clients/client-amp/src/endpoint/ruleset.ts | 2 +- .../client-amplify/src/endpoint/ruleset.ts | 35 +- clients/client-amplify/src/models/models_0.ts | 61 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 2 +- .../client-app-mesh/src/endpoint/ruleset.ts | 35 +- .../client-appconfig/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../commands/GetReportDefinitionCommand.ts | 4 +- .../commands/ImportApplicationUsageCommand.ts | 2 +- .../commands/ListReportDefinitionsCommand.ts | 4 +- .../commands/PutReportDefinitionCommand.ts | 4 +- .../commands/UpdateReportDefinitionCommand.ts | 4 +- .../src/endpoint/ruleset.ts | 35 +- .../client-appstream/src/endpoint/ruleset.ts | 2 +- .../client-appsync/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/EndpointParameters.ts | 2 +- .../src/endpoint/ruleset.ts | 38 +- clients/client-athena/src/endpoint/ruleset.ts | 2 +- .../src/commands/CreateScalingPlanCommand.ts | 18 +- .../DescribeScalingPlanResourcesCommand.ts | 12 +- .../commands/DescribeScalingPlansCommand.ts | 20 +- ...tScalingPlanResourceForecastDataCommand.ts | 6 +- .../src/commands/UpdateScalingPlanCommand.ts | 18 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/EndpointParameters.ts | 2 +- .../src/endpoint/ruleset.ts | 39 +- .../src/commands/GetChunkCommand.ts | 2 +- .../src/commands/GetObjectMetadataCommand.ts | 2 +- .../src/commands/ListChunksCommand.ts | 2 +- .../src/commands/ListObjectsCommand.ts | 2 +- .../commands/NotifyObjectCompleteCommand.ts | 6 +- .../src/commands/PutChunkCommand.ts | 4 +- .../src/commands/PutObjectCommand.ts | 6 +- .../src/endpoint/ruleset.ts | 35 +- clients/client-batch/src/endpoint/ruleset.ts | 2 +- clients/client-braket/src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- clients/client-chime/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/EndpointParameters.ts | 2 +- .../src/endpoint/ruleset.ts | 43 +- .../client-cloudfront/src/endpoint/ruleset.ts | 2 +- .../src/commands/CreateClusterCommand.ts | 10 +- .../src/commands/CreateHsmCommand.ts | 2 +- .../src/commands/DeleteBackupCommand.ts | 2 +- .../src/commands/DeleteClusterCommand.ts | 8 +- .../src/commands/DescribeBackupsCommand.ts | 2 +- .../src/commands/DescribeClustersCommand.ts | 8 +- .../src/commands/InitializeClusterCommand.ts | 2 +- .../commands/ModifyBackupAttributesCommand.ts | 2 +- .../src/commands/ModifyClusterCommand.ts | 10 +- .../src/commands/RestoreBackupCommand.ts | 2 +- .../src/endpoint/ruleset.ts | 38 +- .../src/commands/SearchCommand.ts | 2 +- .../src/commands/UploadDocumentsCommand.ts | 2 +- .../src/endpoint/ruleset.ts | 35 +- .../src/models/models_0.ts | 24 +- .../commands/DefineAnalysisSchemeCommand.ts | 10 +- .../src/commands/DefineExpressionCommand.ts | 2 +- .../src/commands/DefineIndexFieldCommand.ts | 6 +- .../src/commands/DefineSuggesterCommand.ts | 6 +- .../commands/DeleteAnalysisSchemeCommand.ts | 6 +- .../src/commands/DeleteExpressionCommand.ts | 2 +- .../src/commands/DeleteIndexFieldCommand.ts | 4 +- .../src/commands/DeleteSuggesterCommand.ts | 4 +- .../DescribeAnalysisSchemesCommand.ts | 6 +- .../DescribeAvailabilityOptionsCommand.ts | 2 +- .../DescribeDomainEndpointOptionsCommand.ts | 4 +- .../commands/DescribeExpressionsCommand.ts | 2 +- .../commands/DescribeIndexFieldsCommand.ts | 4 +- .../DescribeScalingParametersCommand.ts | 4 +- .../DescribeServiceAccessPoliciesCommand.ts | 2 +- .../src/commands/DescribeSuggestersCommand.ts | 4 +- .../UpdateAvailabilityOptionsCommand.ts | 2 +- .../UpdateDomainEndpointOptionsCommand.ts | 6 +- .../UpdateScalingParametersCommand.ts | 6 +- .../UpdateServiceAccessPoliciesCommand.ts | 2 +- .../src/endpoint/ruleset.ts | 35 +- .../client-cloudsearch/src/models/models_0.ts | 191 ++-- .../src/endpoint/EndpointParameters.ts | 2 +- .../src/endpoint/ruleset.ts | 39 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- clients/client-codebuild/src/CodeBuild.ts | 4 +- .../client-codebuild/src/CodeBuildClient.ts | 4 +- .../commands/BatchGetBuildBatchesCommand.ts | 52 +- .../src/commands/BatchGetBuildsCommand.ts | 40 +- .../src/commands/BatchGetProjectsCommand.ts | 54 +- .../commands/BatchGetReportGroupsCommand.ts | 8 +- .../src/commands/BatchGetReportsCommand.ts | 8 +- .../src/commands/CreateProjectCommand.ts | 102 +- .../src/commands/CreateReportGroupCommand.ts | 14 +- .../src/commands/CreateWebhookCommand.ts | 8 +- .../commands/DescribeCodeCoveragesCommand.ts | 4 +- .../commands/GetReportGroupTrendCommand.ts | 2 +- .../ImportSourceCredentialsCommand.ts | 4 +- .../src/commands/ListBuildBatchesCommand.ts | 4 +- .../ListBuildBatchesForProjectCommand.ts | 4 +- .../src/commands/ListBuildsCommand.ts | 2 +- .../commands/ListBuildsForProjectCommand.ts | 2 +- .../ListCuratedEnvironmentImagesCommand.ts | 4 +- .../src/commands/ListProjectsCommand.ts | 4 +- .../src/commands/ListReportGroupsCommand.ts | 4 +- .../src/commands/ListReportsCommand.ts | 4 +- .../ListReportsForReportGroupCommand.ts | 4 +- .../src/commands/ListSharedProjectsCommand.ts | 4 +- .../commands/ListSharedReportGroupsCommand.ts | 4 +- .../commands/ListSourceCredentialsCommand.ts | 4 +- .../src/commands/RetryBuildBatchCommand.ts | 54 +- .../src/commands/RetryBuildCommand.ts | 40 +- .../src/commands/StartBuildBatchCommand.ts | 98 +- .../src/commands/StartBuildCommand.ts | 84 +- .../src/commands/StopBuildBatchCommand.ts | 52 +- .../src/commands/StopBuildCommand.ts | 40 +- .../src/commands/UpdateProjectCommand.ts | 102 +- .../UpdateProjectVisibilityCommand.ts | 4 +- .../src/commands/UpdateReportGroupCommand.ts | 12 +- .../src/commands/UpdateWebhookCommand.ts | 8 +- .../client-codebuild/src/endpoint/ruleset.ts | 35 +- clients/client-codebuild/src/index.ts | 4 +- .../client-codebuild/src/models/models_0.ts | 975 +++++++++--------- .../src/endpoint/ruleset.ts | 16 +- clients/client-codedeploy/src/CodeDeploy.ts | 50 +- .../client-codedeploy/src/CodeDeployClient.ts | 50 +- .../BatchGetDeploymentInstancesCommand.ts | 4 +- .../BatchGetDeploymentTargetsCommand.ts | 18 +- .../src/commands/CreateDeploymentCommand.ts | 22 +- .../commands/CreateDeploymentGroupCommand.ts | 12 +- .../commands/DeleteDeploymentConfigCommand.ts | 4 +- .../src/commands/GetDeploymentCommand.ts | 4 +- .../ListDeploymentInstancesCommand.ts | 4 +- .../ListOnPremisesInstancesCommand.ts | 2 +- .../RegisterOnPremisesInstanceCommand.ts | 4 +- .../commands/UpdateDeploymentGroupCommand.ts | 12 +- .../client-codedeploy/src/endpoint/ruleset.ts | 35 +- clients/client-codedeploy/src/index.ts | 50 +- .../client-codedeploy/src/models/models_0.ts | 428 ++++---- clients/client-codeguru-reviewer/README.md | 2 - .../src/CodeGuruReviewer.ts | 2 - .../src/CodeGuruReviewerClient.ts | 2 - .../commands/AssociateRepositoryCommand.ts | 3 - .../src/endpoint/ruleset.ts | 35 +- clients/client-codeguru-reviewer/src/index.ts | 2 - .../src/models/models_0.ts | 60 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../client-codestar-notifications/README.md | 4 - .../src/CodestarNotifications.ts | 8 +- .../src/CodestarNotificationsClient.ts | 8 +- .../src/endpoint/ruleset.ts | 35 +- .../src/index.ts | 8 +- .../src/models/models_0.ts | 4 +- .../client-codestar/src/endpoint/ruleset.ts | 35 +- .../src/commands/DeleteIdentitiesCommand.ts | 2 +- .../commands/GetIdentityPoolRolesCommand.ts | 6 +- .../commands/SetIdentityPoolRolesCommand.ts | 6 +- .../src/endpoint/ruleset.ts | 35 +- .../commands/GetBulkPublishDetailsCommand.ts | 2 +- .../GetIdentityPoolConfigurationCommand.ts | 2 +- .../src/commands/RegisterDeviceCommand.ts | 2 +- .../SetIdentityPoolConfigurationCommand.ts | 4 +- .../src/commands/UpdateRecordsCommand.ts | 2 +- .../src/endpoint/ruleset.ts | 35 +- .../src/models/models_0.ts | 35 +- .../client-comprehend/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- ...tRealtimeContactAnalysisSegmentsCommand.ts | 2 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 2 +- .../src/commands/QueryObjectsCommand.ts | 2 +- .../src/commands/SetTaskStatusCommand.ts | 2 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/EndpointParameters.ts | 2 +- .../client-databrew/src/endpoint/ruleset.ts | 41 +- .../src/endpoint/ruleset.ts | 2 +- .../src/commands/CreateClusterCommand.ts | 6 +- .../DecreaseReplicationFactorCommand.ts | 4 +- .../src/commands/DeleteClusterCommand.ts | 4 +- .../src/commands/DescribeClustersCommand.ts | 4 +- .../DescribeDefaultParametersCommand.ts | 6 +- .../src/commands/DescribeEventsCommand.ts | 4 +- .../src/commands/DescribeParametersCommand.ts | 6 +- .../IncreaseReplicationFactorCommand.ts | 4 +- .../src/commands/RebootNodeCommand.ts | 4 +- .../src/commands/UpdateClusterCommand.ts | 4 +- clients/client-dax/src/endpoint/ruleset.ts | 35 +- clients/client-dax/src/models/models_0.ts | 59 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- clients/client-dlm/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/EndpointParameters.ts | 2 +- .../src/endpoint/ruleset.ts | 38 +- clients/client-docdb/src/endpoint/ruleset.ts | 2 +- clients/client-drs/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../client-dynamodb/src/endpoint/ruleset.ts | 2 +- clients/client-ebs/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 35 +- .../client-ecr-public/src/endpoint/ruleset.ts | 2 +- clients/client-ecr/src/ECR.ts | 4 +- clients/client-ecr/src/ECRClient.ts | 4 +- .../BatchCheckLayerAvailabilityCommand.ts | 8 +- .../src/commands/BatchDeleteImageCommand.ts | 6 +- .../src/commands/BatchGetImageCommand.ts | 4 +- ...tRepositoryScanningConfigurationCommand.ts | 6 +- .../commands/CompleteLayerUploadCommand.ts | 4 +- .../src/commands/CreateRepositoryCommand.ts | 8 +- .../src/commands/DeleteRepositoryCommand.ts | 4 +- .../DescribeImageReplicationStatusCommand.ts | 2 +- .../DescribeImageScanFindingsCommand.ts | 4 +- .../src/commands/DescribeImagesCommand.ts | 8 +- .../src/commands/DescribeRegistryCommand.ts | 2 +- .../commands/DescribeRepositoriesCommand.ts | 4 +- .../commands/GetAuthorizationTokenCommand.ts | 2 +- .../commands/GetDownloadUrlForLayerCommand.ts | 4 +- .../GetLifecyclePolicyPreviewCommand.ts | 6 +- ...GetRegistryScanningConfigurationCommand.ts | 6 +- .../commands/InitiateLayerUploadCommand.ts | 4 +- .../src/commands/ListImagesCommand.ts | 4 +- .../src/commands/PutImageCommand.ts | 5 +- .../PutImageScanningConfigurationCommand.ts | 4 +- .../commands/PutImageTagMutabilityCommand.ts | 4 +- .../src/commands/PutRegistryPolicyCommand.ts | 2 +- ...PutRegistryScanningConfigurationCommand.ts | 12 +- .../PutReplicationConfigurationCommand.ts | 8 +- .../src/commands/StartImageScanCommand.ts | 2 +- .../StartLifecyclePolicyPreviewCommand.ts | 2 +- .../src/commands/UploadLayerPartCommand.ts | 4 +- clients/client-ecr/src/endpoint/ruleset.ts | 26 +- clients/client-ecr/src/index.ts | 4 +- clients/client-ecr/src/models/models_0.ts | 32 +- clients/client-efs/src/endpoint/ruleset.ts | 2 +- clients/client-eks/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/EndpointParameters.ts | 2 +- .../src/endpoint/ruleset.ts | 47 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 32 +- .../src/waiters/index.ts | 2 + .../waiters/waitForInstanceDeregistered.ts | 65 ++ .../src/waiters/waitForInstanceInService.ts | 65 ++ .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- clients/client-emr/src/endpoint/ruleset.ts | 2 +- .../client-evidently/src/endpoint/ruleset.ts | 2 +- .../src/commands/CreateChangesetCommand.ts | 2 +- .../src/commands/CreateDataViewCommand.ts | 2 +- .../src/commands/CreateDatasetCommand.ts | 4 +- .../commands/CreatePermissionGroupCommand.ts | 2 +- .../src/commands/CreateUserCommand.ts | 4 +- .../src/commands/GetChangesetCommand.ts | 6 +- .../src/commands/GetDataViewCommand.ts | 6 +- .../src/commands/GetDatasetCommand.ts | 6 +- .../src/commands/GetPermissionGroupCommand.ts | 4 +- .../src/commands/GetUserCommand.ts | 6 +- .../src/commands/GetWorkingLocationCommand.ts | 2 +- .../src/commands/ListChangesetsCommand.ts | 6 +- .../src/commands/ListDataViewsCommand.ts | 6 +- .../src/commands/ListDatasetsCommand.ts | 4 +- .../ListPermissionGroupsByUserCommand.ts | 2 +- .../commands/ListPermissionGroupsCommand.ts | 4 +- .../ListUsersByPermissionGroupCommand.ts | 8 +- .../src/commands/ListUsersCommand.ts | 6 +- .../src/commands/UpdateDatasetCommand.ts | 4 +- .../commands/UpdatePermissionGroupCommand.ts | 2 +- .../src/commands/UpdateUserCommand.ts | 4 +- .../src/endpoint/ruleset.ts | 35 +- .../src/models/models_0.ts | 2 - .../commands/CreateDeliveryStreamCommand.ts | 4 - .../src/commands/PutRecordBatchCommand.ts | 1 - .../src/commands/PutRecordCommand.ts | 1 - .../src/commands/UpdateDestinationCommand.ts | 2 - .../client-firehose/src/endpoint/ruleset.ts | 35 +- .../client-firehose/src/models/models_0.ts | 6 - .../src/endpoint/EndpointParameters.ts | 2 +- clients/client-fis/src/endpoint/ruleset.ts | 43 +- clients/client-fms/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/EndpointParameters.ts | 2 +- .../client-forecast/src/endpoint/ruleset.ts | 39 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 2 +- .../client-gamesparks/src/endpoint/ruleset.ts | 35 +- .../src/endpoint/EndpointParameters.ts | 2 +- .../client-glacier/src/endpoint/ruleset.ts | 47 +- .../src/endpoint/EndpointParameters.ts | 2 +- .../client-greengrass/src/endpoint/ruleset.ts | 59 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../client-healthlake/src/endpoint/ruleset.ts | 2 +- .../commands/BatchCreateTableRowsCommand.ts | 2 +- .../commands/BatchUpdateTableRowsCommand.ts | 2 +- .../commands/BatchUpsertTableRowsCommand.ts | 4 +- .../DescribeTableDataImportJobCommand.ts | 6 +- .../src/commands/GetScreenDataCommand.ts | 4 +- .../src/commands/ListTableColumnsCommand.ts | 2 +- .../src/commands/ListTableRowsCommand.ts | 2 +- .../src/commands/QueryTableRowsCommand.ts | 2 +- .../StartTableDataImportJobCommand.ts | 6 +- .../client-honeycode/src/endpoint/ruleset.ts | 35 +- .../client-honeycode/src/models/models_0.ts | 98 +- clients/client-iam/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../AddAttributesToFindingsCommand.ts | 2 +- .../commands/DescribeAssessmentRunsCommand.ts | 10 +- .../DescribeAssessmentTargetsCommand.ts | 2 +- .../DescribeAssessmentTemplatesCommand.ts | 2 +- .../src/commands/DescribeExclusionsCommand.ts | 6 +- .../src/commands/DescribeFindingsCommand.ts | 8 +- .../commands/DescribeResourceGroupsCommand.ts | 2 +- .../commands/DescribeRulesPackagesCommand.ts | 4 +- .../commands/GetAssessmentReportCommand.ts | 6 +- .../commands/GetExclusionsPreviewCommand.ts | 6 +- .../ListAssessmentRunAgentsCommand.ts | 8 +- .../src/commands/ListAssessmentRunsCommand.ts | 2 +- .../commands/ListEventSubscriptionsCommand.ts | 2 +- .../src/commands/ListFindingsCommand.ts | 2 +- .../src/commands/PreviewAgentsCommand.ts | 2 +- .../RemoveAttributesFromFindingsCommand.ts | 2 +- .../src/commands/StopAssessmentRunCommand.ts | 2 +- .../src/commands/SubscribeToEventCommand.ts | 2 +- .../commands/UnsubscribeFromEventCommand.ts | 2 +- .../client-inspector/src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 2 +- .../commands/BatchAcknowledgeAlarmCommand.ts | 2 +- .../commands/BatchDeleteDetectorCommand.ts | 2 +- .../src/commands/BatchDisableAlarmCommand.ts | 2 +- .../src/commands/BatchEnableAlarmCommand.ts | 2 +- .../src/commands/BatchPutMessageCommand.ts | 2 +- .../src/commands/BatchResetAlarmCommand.ts | 2 +- .../src/commands/BatchSnoozeAlarmCommand.ts | 2 +- .../commands/BatchUpdateDetectorCommand.ts | 2 +- .../src/commands/DescribeAlarmCommand.ts | 10 +- .../src/commands/ListAlarmsCommand.ts | 2 +- .../src/endpoint/ruleset.ts | 35 +- .../src/models/models_0.ts | 68 +- .../src/commands/CreateAlarmModelCommand.ts | 14 +- .../commands/CreateDetectorModelCommand.ts | 16 +- .../src/commands/CreateInputCommand.ts | 2 +- .../src/commands/DescribeAlarmModelCommand.ts | 14 +- .../DescribeDetectorModelAnalysisCommand.ts | 2 +- .../commands/DescribeDetectorModelCommand.ts | 14 +- .../src/commands/DescribeInputCommand.ts | 2 +- .../commands/DescribeLoggingOptionsCommand.ts | 2 +- .../GetDetectorModelAnalysisResultsCommand.ts | 2 +- .../commands/ListAlarmModelVersionsCommand.ts | 2 +- .../ListDetectorModelVersionsCommand.ts | 4 +- .../src/commands/ListInputsCommand.ts | 2 +- .../src/commands/PutLoggingOptionsCommand.ts | 2 +- .../StartDetectorModelAnalysisCommand.ts | 10 +- .../src/commands/UpdateAlarmModelCommand.ts | 14 +- .../commands/UpdateDetectorModelCommand.ts | 16 +- .../src/commands/UpdateInputCommand.ts | 2 +- .../client-iot-events/src/endpoint/ruleset.ts | 35 +- .../commands/DescribeJobExecutionCommand.ts | 2 +- .../StartNextPendingJobExecutionCommand.ts | 2 +- .../src/commands/UpdateJobExecutionCommand.ts | 4 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 2 +- clients/client-iot/src/endpoint/ruleset.ts | 2 +- clients/client-iotanalytics/README.md | 2 - .../client-iotanalytics/src/IoTAnalytics.ts | 2 - .../src/IoTAnalyticsClient.ts | 2 - .../src/commands/CreateDatasetCommand.ts | 2 +- .../src/commands/DescribeChannelCommand.ts | 2 +- .../src/commands/DescribeDatasetCommand.ts | 4 +- .../src/commands/DescribeDatastoreCommand.ts | 2 +- .../commands/DescribeLoggingOptionsCommand.ts | 2 +- .../src/commands/DescribePipelineCommand.ts | 2 +- .../src/commands/GetDatasetContentCommand.ts | 2 +- .../src/commands/ListChannelsCommand.ts | 2 +- .../commands/ListDatasetContentsCommand.ts | 2 +- .../src/commands/ListDatasetsCommand.ts | 4 +- .../src/commands/ListDatastoresCommand.ts | 4 +- .../src/commands/ListPipelinesCommand.ts | 2 +- .../src/commands/PutLoggingOptionsCommand.ts | 2 +- .../src/commands/UpdateDatasetCommand.ts | 2 +- .../src/endpoint/ruleset.ts | 35 +- clients/client-iotanalytics/src/index.ts | 2 - .../src/models/models_0.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../commands/DescribeApplicationCommand.ts | 2 +- .../src/commands/ListApplicationsCommand.ts | 2 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 2 +- .../src/IoTSecureTunneling.ts | 4 +- .../src/IoTSecureTunnelingClient.ts | 4 +- .../src/commands/CloseTunnelCommand.ts | 2 +- .../src/commands/DescribeTunnelCommand.ts | 8 +- .../src/commands/ListTunnelsCommand.ts | 4 +- .../src/commands/OpenTunnelCommand.ts | 2 +- .../RotateTunnelAccessTokenCommand.ts | 10 +- .../src/endpoint/ruleset.ts | 36 +- .../client-iotsecuretunneling/src/index.ts | 4 +- .../src/endpoint/ruleset.ts | 2 +- clients/client-iotthingsgraph/README.md | 1 - .../src/IoTThingsGraph.ts | 1 - .../src/IoTThingsGraphClient.ts | 1 - .../src/commands/CreateFlowTemplateCommand.ts | 2 +- .../commands/CreateSystemInstanceCommand.ts | 8 +- .../commands/CreateSystemTemplateCommand.ts | 2 +- .../commands/DeploySystemInstanceCommand.ts | 4 +- .../DissociateEntityFromThingCommand.ts | 2 +- .../src/commands/GetEntitiesCommand.ts | 4 +- .../src/commands/GetFlowTemplateCommand.ts | 2 +- .../GetNamespaceDeletionStatusCommand.ts | 4 +- .../src/commands/GetSystemInstanceCommand.ts | 6 +- .../src/commands/GetSystemTemplateCommand.ts | 2 +- .../src/commands/GetUploadStatusCommand.ts | 2 +- .../ListFlowExecutionMessagesCommand.ts | 2 +- .../src/commands/SearchEntitiesCommand.ts | 8 +- .../commands/SearchFlowExecutionsCommand.ts | 2 +- .../commands/SearchFlowTemplatesCommand.ts | 2 +- .../commands/SearchSystemInstancesCommand.ts | 6 +- .../commands/SearchSystemTemplatesCommand.ts | 2 +- .../commands/UndeploySystemInstanceCommand.ts | 4 +- .../src/commands/UpdateFlowTemplateCommand.ts | 2 +- .../commands/UpdateSystemTemplateCommand.ts | 2 +- .../UploadEntityDefinitionsCommand.ts | 2 +- .../src/endpoint/ruleset.ts | 37 +- clients/client-iotthingsgraph/src/index.ts | 1 - .../src/endpoint/ruleset.ts | 2 +- .../client-ivschat/src/endpoint/ruleset.ts | 2 +- clients/client-kafka/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/EndpointParameters.ts | 2 +- .../src/endpoint/ruleset.ts | 36 +- clients/client-kendra/src/endpoint/ruleset.ts | 2 +- .../client-keyspaces/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../commands/AddApplicationInputCommand.ts | 2 +- .../commands/AddApplicationOutputCommand.ts | 2 +- ...ddApplicationReferenceDataSourceCommand.ts | 2 +- .../src/commands/CreateApplicationCommand.ts | 6 +- .../commands/DescribeApplicationCommand.ts | 10 +- .../commands/DiscoverInputSchemaCommand.ts | 4 +- .../src/commands/ListApplicationsCommand.ts | 2 +- .../src/commands/StartApplicationCommand.ts | 2 +- .../src/commands/UpdateApplicationCommand.ts | 6 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 2 +- .../src/commands/GetMediaCommand.ts | 2 +- .../src/endpoint/ruleset.ts | 35 +- .../src/commands/GetIceServerConfigCommand.ts | 2 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/EndpointParameters.ts | 2 +- .../src/endpoint/ruleset.ts | 39 +- .../src/endpoint/EndpointParameters.ts | 2 +- .../client-kinesis/src/endpoint/ruleset.ts | 83 +- clients/client-kms/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- clients/client-lambda/src/endpoint/ruleset.ts | 2 +- .../src/commands/CreateBotVersionCommand.ts | 8 +- .../commands/CreateIntentVersionCommand.ts | 12 +- .../commands/CreateSlotTypeVersionCommand.ts | 4 +- .../src/commands/DeleteBotCommand.ts | 1 - .../src/commands/DeleteIntentCommand.ts | 1 - .../src/commands/GetBotAliasCommand.ts | 4 +- .../src/commands/GetBotAliasesCommand.ts | 4 +- .../GetBotChannelAssociationCommand.ts | 4 +- .../GetBotChannelAssociationsCommand.ts | 4 +- .../src/commands/GetBotCommand.ts | 8 +- .../src/commands/GetBotVersionsCommand.ts | 2 +- .../src/commands/GetBotsCommand.ts | 2 +- .../src/commands/GetBuiltinIntentCommand.ts | 2 +- .../src/commands/GetBuiltinIntentsCommand.ts | 4 +- .../commands/GetBuiltinSlotTypesCommand.ts | 5 +- .../src/commands/GetExportCommand.ts | 10 +- .../src/commands/GetImportCommand.ts | 6 +- .../src/commands/GetIntentCommand.ts | 12 +- .../src/commands/GetMigrationCommand.ts | 8 +- .../src/commands/GetMigrationsCommand.ts | 12 +- .../src/commands/GetSlotTypeCommand.ts | 2 +- .../src/commands/GetUtterancesViewCommand.ts | 2 +- .../src/commands/PutBotAliasCommand.ts | 8 +- .../src/commands/PutBotCommand.ts | 17 +- .../src/commands/PutIntentCommand.ts | 25 +- .../src/commands/PutSlotTypeCommand.ts | 5 +- .../src/commands/StartImportCommand.ts | 10 +- .../src/commands/StartMigrationCommand.ts | 6 +- .../src/endpoint/ruleset.ts | 42 +- .../src/models/models_0.ts | 6 - .../src/commands/GetSessionCommand.ts | 12 +- .../src/commands/PostContentCommand.ts | 4 +- .../src/commands/PostTextCommand.ts | 6 +- .../src/commands/PutSessionCommand.ts | 16 +- .../src/endpoint/ruleset.ts | 42 +- .../src/endpoint/EndpointParameters.ts | 2 +- .../src/endpoint/ruleset.ts | 39 +- .../src/endpoint/EndpointParameters.ts | 2 +- .../src/endpoint/ruleset.ts | 39 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 2 +- .../client-lightsail/src/endpoint/ruleset.ts | 2 +- .../client-location/src/endpoint/ruleset.ts | 2 +- .../src/commands/CreateAlertCommand.ts | 2 +- .../commands/CreateAnomalyDetectorCommand.ts | 2 +- .../src/commands/CreateMetricSetCommand.ts | 10 +- .../src/commands/DescribeAlertCommand.ts | 6 +- ...scribeAnomalyDetectionExecutionsCommand.ts | 2 +- .../DescribeAnomalyDetectorCommand.ts | 6 +- .../src/commands/DescribeMetricSetCommand.ts | 10 +- .../commands/DetectMetricSetConfigCommand.ts | 10 +- .../commands/GetDataQualityMetricsCommand.ts | 2 +- .../src/commands/GetSampleDataCommand.ts | 4 +- .../src/commands/ListAlertsCommand.ts | 4 +- .../commands/ListAnomalyDetectorsCommand.ts | 2 +- .../ListAnomalyGroupRelatedMetricsCommand.ts | 4 +- .../src/commands/UpdateAlertCommand.ts | 2 +- .../commands/UpdateAnomalyDetectorCommand.ts | 2 +- .../src/commands/UpdateMetricSetCommand.ts | 10 +- .../src/endpoint/ruleset.ts | 35 +- .../src/models/models_0.ts | 2 +- .../src/commands/CreateDatasetCommand.ts | 4 +- .../DescribeModelPackagingJobCommand.ts | 1 - .../src/commands/DetectAnomaliesCommand.ts | 2 - .../commands/ListModelPackagingJobsCommand.ts | 1 - .../commands/StartModelPackagingJobCommand.ts | 4 - .../commands/UpdateDatasetEntriesCommand.ts | 4 - .../src/endpoint/EndpointParameters.ts | 2 +- .../src/endpoint/ruleset.ts | 39 +- .../src/models/models_0.ts | 6 +- clients/client-m2/src/endpoint/ruleset.ts | 2 +- .../src/commands/AddTagsCommand.ts | 4 +- .../src/commands/CreateMLModelCommand.ts | 2 +- .../commands/CreateRealtimeEndpointCommand.ts | 2 +- .../commands/DeleteRealtimeEndpointCommand.ts | 2 +- .../src/commands/DeleteTagsCommand.ts | 4 +- .../DescribeBatchPredictionsCommand.ts | 6 +- .../commands/DescribeDataSourcesCommand.ts | 6 +- .../commands/DescribeEvaluationsCommand.ts | 6 +- .../src/commands/DescribeMLModelsCommand.ts | 12 +- .../src/commands/DescribeTagsCommand.ts | 4 +- .../src/commands/GetBatchPredictionCommand.ts | 2 +- .../src/commands/GetDataSourceCommand.ts | 2 +- .../src/commands/GetEvaluationCommand.ts | 2 +- .../src/commands/GetMLModelCommand.ts | 6 +- .../src/endpoint/ruleset.ts | 35 +- clients/client-macie/README.md | 1 - clients/client-macie/src/Macie.ts | 1 - clients/client-macie/src/MacieClient.ts | 1 - .../commands/AssociateS3ResourcesCommand.ts | 4 +- .../src/commands/ListS3ResourcesCommand.ts | 4 +- .../src/commands/UpdateS3ResourcesCommand.ts | 4 +- clients/client-macie/src/endpoint/ruleset.ts | 35 +- clients/client-macie/src/index.ts | 1 - clients/client-macie2/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../src/commands/GenerateDataSetCommand.ts | 2 +- .../commands/StartSupportDataExportCommand.ts | 2 +- .../src/endpoint/ruleset.ts | 35 +- .../src/models/models_0.ts | 11 +- .../src/endpoint/ruleset.ts | 37 +- .../src/MarketplaceMetering.ts | 42 +- .../src/MarketplaceMeteringClient.ts | 42 +- .../src/commands/BatchMeterUsageCommand.ts | 22 +- .../src/commands/MeterUsageCommand.ts | 8 +- .../src/commands/RegisterUsageCommand.ts | 10 +- .../src/commands/ResolveCustomerCommand.ts | 4 +- .../src/endpoint/ruleset.ts | 38 +- .../client-marketplace-metering/src/index.ts | 42 +- .../src/models/models_0.ts | 38 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../src/commands/ListItemsCommand.ts | 2 +- .../src/commands/PutObjectCommand.ts | 6 +- .../src/endpoint/ruleset.ts | 35 +- .../src/commands/CreateContainerCommand.ts | 2 +- .../src/commands/DescribeContainerCommand.ts | 2 +- .../src/commands/GetCorsPolicyCommand.ts | 2 +- .../src/commands/GetMetricPolicyCommand.ts | 2 +- .../src/commands/ListContainersCommand.ts | 2 +- .../src/commands/PutCorsPolicyCommand.ts | 2 +- .../src/commands/PutMetricPolicyCommand.ts | 2 +- .../client-mediastore/src/endpoint/ruleset.ts | 35 +- .../client-memorydb/src/endpoint/ruleset.ts | 2 +- clients/client-mgn/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../DescribeApplicationStateCommand.ts | 2 +- .../commands/DescribeMigrationTaskCommand.ts | 4 +- .../commands/ListApplicationStatesCommand.ts | 2 +- .../src/commands/ListMigrationTasksCommand.ts | 2 +- .../commands/NotifyApplicationStateCommand.ts | 2 +- .../NotifyMigrationTaskStateCommand.ts | 2 +- .../commands/PutResourceAttributesCommand.ts | 2 +- .../src/endpoint/ruleset.ts | 35 +- .../CreateHomeRegionControlCommand.ts | 4 +- .../DescribeHomeRegionControlsCommand.ts | 4 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 2 +- .../src/commands/CreateProjectCommand.ts | 2 +- .../src/commands/DescribeBundleCommand.ts | 2 +- .../src/commands/DescribeProjectCommand.ts | 2 +- .../src/commands/ExportBundleCommand.ts | 2 +- .../src/commands/ListBundlesCommand.ts | 2 +- .../src/commands/UpdateProjectCommand.ts | 2 +- clients/client-mobile/src/endpoint/ruleset.ts | 35 +- clients/client-mq/src/endpoint/ruleset.ts | 2 +- .../src/commands/CreateHITCommand.ts | 12 +- .../src/commands/CreateHITTypeCommand.ts | 4 +- .../commands/CreateHITWithHITTypeCommand.ts | 8 +- .../CreateQualificationTypeCommand.ts | 4 +- .../src/commands/GetAssignmentCommand.ts | 10 +- .../src/commands/GetHITCommand.ts | 8 +- .../commands/GetQualificationScoreCommand.ts | 2 +- .../commands/GetQualificationTypeCommand.ts | 2 +- .../commands/ListAssignmentsForHITCommand.ts | 4 +- .../src/commands/ListHITsCommand.ts | 8 +- .../ListHITsForQualificationTypeCommand.ts | 8 +- .../commands/ListQualificationTypesCommand.ts | 2 +- .../ListReviewPolicyResultsForHITCommand.ts | 6 +- .../src/commands/ListReviewableHITsCommand.ts | 10 +- ...ListWorkersWithQualificationTypeCommand.ts | 4 +- .../src/commands/NotifyWorkersCommand.ts | 2 +- .../SendTestEventNotificationCommand.ts | 6 +- .../UpdateNotificationSettingsCommand.ts | 4 +- .../UpdateQualificationTypeCommand.ts | 4 +- clients/client-mturk/src/endpoint/ruleset.ts | 33 +- clients/client-mwaa/src/endpoint/ruleset.ts | 2 +- .../client-neptune/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 56 +- .../src/endpoint/EndpointParameters.ts | 2 +- clients/client-nimble/src/endpoint/ruleset.ts | 39 +- .../src/endpoint/EndpointParameters.ts | 2 +- clients/client-oam/src/endpoint/ruleset.ts | 38 +- .../client-opensearch/src/endpoint/ruleset.ts | 2 +- .../src/commands/CloneStackCommand.ts | 4 +- .../src/commands/CreateAppCommand.ts | 4 +- .../src/commands/CreateDeploymentCommand.ts | 2 +- .../src/commands/CreateInstanceCommand.ts | 8 +- .../src/commands/CreateLayerCommand.ts | 8 +- .../src/commands/CreateStackCommand.ts | 4 +- .../src/commands/DescribeAppsCommand.ts | 4 +- .../commands/DescribeDeploymentsCommand.ts | 2 +- .../src/commands/DescribeInstancesCommand.ts | 10 +- .../src/commands/DescribeLayersCommand.ts | 8 +- .../src/commands/DescribeStacksCommand.ts | 4 +- .../src/commands/UpdateAppCommand.ts | 4 +- .../src/commands/UpdateInstanceCommand.ts | 4 +- .../src/commands/UpdateLayerCommand.ts | 6 +- .../src/commands/UpdateStackCommand.ts | 4 +- .../client-opsworks/src/endpoint/ruleset.ts | 35 +- .../client-opsworks/src/models/models_0.ts | 467 ++++++--- .../src/commands/CreateBackupCommand.ts | 4 +- .../src/commands/CreateServerCommand.ts | 4 +- .../src/commands/DescribeBackupsCommand.ts | 4 +- .../DescribeNodeAssociationStatusCommand.ts | 2 +- .../src/commands/DescribeServersCommand.ts | 4 +- .../src/commands/RestoreServerCommand.ts | 4 +- .../src/commands/StartMaintenanceCommand.ts | 4 +- .../src/commands/UpdateServerCommand.ts | 4 +- .../UpdateServerEngineAttributesCommand.ts | 4 +- .../client-opsworkscm/src/endpoint/ruleset.ts | 35 +- .../client-outposts/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/EndpointParameters.ts | 2 +- .../client-panorama/src/endpoint/ruleset.ts | 39 +- .../src/endpoint/ruleset.ts | 35 +- .../src/models/models_0.ts | 1 - .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 2 +- .../commands/CreateConfigurationSetCommand.ts | 2 +- ...ConfigurationSetEventDestinationCommand.ts | 4 +- .../CreateDeliverabilityTestReportCommand.ts | 2 +- .../commands/CreateEmailIdentityCommand.ts | 4 +- .../commands/GetConfigurationSetCommand.ts | 2 +- ...onfigurationSetEventDestinationsCommand.ts | 4 +- .../src/commands/GetDedicatedIpCommand.ts | 2 +- .../src/commands/GetDedicatedIpsCommand.ts | 2 +- ...etDeliverabilityDashboardOptionsCommand.ts | 2 +- .../GetDeliverabilityTestReportCommand.ts | 2 +- .../src/commands/GetEmailIdentityCommand.ts | 8 +- .../ListDeliverabilityTestReportsCommand.ts | 2 +- .../commands/ListEmailIdentitiesCommand.ts | 2 +- ...tConfigurationSetDeliveryOptionsCommand.ts | 2 +- ...tEmailIdentityMailFromAttributesCommand.ts | 2 +- ...ConfigurationSetEventDestinationCommand.ts | 4 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 35 +- ...ConfigurationSetEventDestinationCommand.ts | 2 +- ...onfigurationSetEventDestinationsCommand.ts | 2 +- ...ConfigurationSetEventDestinationCommand.ts | 2 +- .../src/endpoint/ruleset.ts | 35 +- .../client-pinpoint/src/endpoint/ruleset.ts | 2 +- .../client-pricing/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- clients/client-proton/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 35 +- clients/client-qldb/src/endpoint/ruleset.ts | 2 +- clients/client-ram/src/endpoint/ruleset.ts | 2 +- clients/client-rbin/README.md | 2 - clients/client-rbin/src/Rbin.ts | 2 - clients/client-rbin/src/RbinClient.ts | 2 - .../src/endpoint/EndpointParameters.ts | 2 +- clients/client-rbin/src/endpoint/ruleset.ts | 38 +- clients/client-rbin/src/index.ts | 2 - .../client-rds-data/src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/EndpointParameters.ts | 2 +- .../src/endpoint/ruleset.ts | 39 +- .../client-redshift/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../commands/DescribeReportCreationCommand.ts | 24 +- .../commands/GetComplianceSummaryCommand.ts | 32 +- .../src/commands/GetResourcesCommand.ts | 22 +- .../src/commands/GetTagKeysCommand.ts | 14 +- .../src/commands/GetTagValuesCommand.ts | 14 +- .../commands/StartReportCreationCommand.ts | 28 +- .../src/commands/TagResourcesCommand.ts | 38 +- .../src/commands/UntagResourcesCommand.ts | 31 +- .../src/endpoint/ruleset.ts | 35 +- .../src/models/models_0.ts | 118 +-- .../src/endpoint/EndpointParameters.ts | 2 +- .../src/endpoint/ruleset.ts | 42 +- .../BatchDescribeSimulationJobCommand.ts | 18 +- .../commands/CreateDeploymentJobCommand.ts | 4 +- .../commands/CreateRobotApplicationCommand.ts | 12 +- .../CreateRobotApplicationVersionCommand.ts | 6 +- .../src/commands/CreateRobotCommand.ts | 4 +- .../CreateSimulationApplicationCommand.ts | 20 +- ...eateSimulationApplicationVersionCommand.ts | 10 +- .../commands/CreateSimulationJobCommand.ts | 32 +- .../commands/CreateWorldExportJobCommand.ts | 4 +- .../CreateWorldGenerationJobCommand.ts | 4 +- .../commands/DescribeDeploymentJobCommand.ts | 10 +- .../src/commands/DescribeFleetCommand.ts | 6 +- .../DescribeRobotApplicationCommand.ts | 6 +- .../src/commands/DescribeRobotCommand.ts | 4 +- .../DescribeSimulationApplicationCommand.ts | 10 +- .../DescribeSimulationJobBatchCommand.ts | 38 +- .../commands/DescribeSimulationJobCommand.ts | 18 +- .../commands/DescribeWorldExportJobCommand.ts | 4 +- .../DescribeWorldGenerationJobCommand.ts | 6 +- .../src/commands/ListDeploymentJobsCommand.ts | 4 +- .../src/commands/ListFleetsCommand.ts | 2 +- .../commands/ListRobotApplicationsCommand.ts | 4 +- .../src/commands/ListRobotsCommand.ts | 4 +- .../ListSimulationApplicationsCommand.ts | 6 +- .../ListSimulationJobBatchesCommand.ts | 2 +- .../src/commands/ListSimulationJobsCommand.ts | 4 +- .../commands/ListWorldExportJobsCommand.ts | 2 +- .../ListWorldGenerationJobsCommand.ts | 2 +- .../StartSimulationJobBatchCommand.ts | 52 +- .../src/commands/SyncDeploymentJobCommand.ts | 4 +- .../commands/UpdateRobotApplicationCommand.ts | 12 +- .../UpdateSimulationApplicationCommand.ts | 20 +- .../client-robomaker/src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 2 +- .../client-route-53/src/endpoint/ruleset.ts | 2 +- .../src/Route53RecoveryCluster.ts | 22 +- .../src/Route53RecoveryClusterClient.ts | 22 +- .../commands/GetRoutingControlStateCommand.ts | 12 +- .../commands/ListRoutingControlsCommand.ts | 12 +- .../UpdateRoutingControlStateCommand.ts | 12 +- .../UpdateRoutingControlStatesCommand.ts | 10 +- .../src/endpoint/ruleset.ts | 35 +- .../src/index.ts | 22 +- .../src/models/models_0.ts | 4 +- .../src/endpoint/EndpointParameters.ts | 2 +- .../src/endpoint/ruleset.ts | 41 +- .../GetCellReadinessSummaryCommand.ts | 4 +- .../GetReadinessCheckResourceStatusCommand.ts | 4 +- .../GetReadinessCheckStatusCommand.ts | 4 +- ...GetRecoveryGroupReadinessSummaryCommand.ts | 4 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 34 +- clients/client-rum/src/endpoint/ruleset.ts | 2 +- .../client-s3outposts/src/endpoint/ruleset.ts | 2 +- .../src/commands/DescribeHumanLoopCommand.ts | 2 +- .../src/commands/ListHumanLoopsCommand.ts | 4 +- .../src/commands/StartHumanLoopCommand.ts | 2 +- .../src/endpoint/ruleset.ts | 35 +- .../src/commands/GetDeploymentsCommand.ts | 8 +- .../src/commands/SendHeartbeatCommand.ts | 6 +- .../src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/EndpointParameters.ts | 2 +- .../src/endpoint/ruleset.ts | 39 +- .../src/endpoint/ruleset.ts | 2 +- .../src/commands/CreateDiscovererCommand.ts | 2 +- .../src/commands/CreateSchemaCommand.ts | 2 +- .../commands/DescribeCodeBindingCommand.ts | 2 +- .../src/commands/DescribeDiscovererCommand.ts | 2 +- .../commands/GetDiscoveredSchemaCommand.ts | 2 +- .../src/commands/ListDiscoverersCommand.ts | 2 +- .../src/commands/ListSchemaVersionsCommand.ts | 2 +- .../src/commands/PutCodeBindingCommand.ts | 2 +- .../src/commands/SearchSchemasCommand.ts | 2 +- .../src/commands/StartDiscovererCommand.ts | 2 +- .../src/commands/StopDiscovererCommand.ts | 2 +- .../src/commands/UpdateDiscovererCommand.ts | 2 +- .../src/commands/UpdateSchemaCommand.ts | 2 +- .../client-schemas/src/endpoint/ruleset.ts | 35 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/EndpointParameters.ts | 2 +- .../src/endpoint/ruleset.ts | 47 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 35 +- clients/client-ses/src/endpoint/ruleset.ts | 2 +- clients/client-sfn/src/endpoint/ruleset.ts | 2 +- .../src/commands/AssociateDRTRoleCommand.ts | 1 - .../commands/CreateProtectionGroupCommand.ts | 6 +- .../src/commands/DescribeAttackCommand.ts | 8 +- .../src/commands/DescribeProtectionCommand.ts | 2 +- .../DescribeProtectionGroupCommand.ts | 6 +- .../commands/DescribeSubscriptionCommand.ts | 4 +- .../commands/GetSubscriptionStateCommand.ts | 2 +- .../commands/ListProtectionGroupsCommand.ts | 12 +- .../src/commands/ListProtectionsCommand.ts | 4 +- .../commands/UpdateProtectionGroupCommand.ts | 6 +- .../src/commands/UpdateSubscriptionCommand.ts | 2 +- clients/client-shield/src/endpoint/ruleset.ts | 59 +- clients/client-shield/src/models/models_0.ts | 40 +- clients/client-signer/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 35 +- .../client-snowball/src/endpoint/ruleset.ts | 2 +- clients/client-sns/src/endpoint/ruleset.ts | 2 +- clients/client-sqs/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 2 +- clients/client-ssm/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/EndpointParameters.ts | 2 +- .../client-sso-admin/src/endpoint/ruleset.ts | 47 +- clients/client-sso-oidc/README.md | 1 - clients/client-sso-oidc/src/SSOOIDC.ts | 1 - clients/client-sso-oidc/src/SSOOIDCClient.ts | 1 - .../client-sso-oidc/src/endpoint/ruleset.ts | 35 +- clients/client-sso-oidc/src/index.ts | 1 - .../client-sso-oidc/src/models/models_0.ts | 2 - clients/client-sso/README.md | 3 - clients/client-sso/src/SSO.ts | 3 - clients/client-sso/src/SSOClient.ts | 3 - .../client-sso/src/commands/LogoutCommand.ts | 2 - clients/client-sso/src/endpoint/ruleset.ts | 35 +- clients/client-sso/src/index.ts | 3 - clients/client-storage-gateway/README.md | 8 - .../src/StorageGateway.ts | 9 - .../src/StorageGatewayClient.ts | 9 - .../src/commands/AddCacheCommand.ts | 1 - .../src/commands/AddTagsToResourceCommand.ts | 2 - .../src/commands/AddUploadBufferCommand.ts | 1 - .../src/commands/AddWorkingStorageCommand.ts | 2 - .../CreateCachediSCSIVolumeCommand.ts | 3 - .../src/commands/CreateNFSFileShareCommand.ts | 4 +- .../src/commands/CreateSMBFileShareCommand.ts | 6 +- .../src/commands/CreateSnapshotCommand.ts | 4 - ...eSnapshotFromVolumeRecoveryPointCommand.ts | 3 - .../CreateStorediSCSIVolumeCommand.ts | 2 - .../src/commands/CreateTapePoolCommand.ts | 4 +- .../commands/CreateTapeWithBarcodeCommand.ts | 1 - .../src/commands/CreateTapesCommand.ts | 1 - .../src/commands/DeleteGatewayCommand.ts | 2 - .../commands/DeleteSnapshotScheduleCommand.ts | 3 - .../src/commands/DeleteVolumeCommand.ts | 2 - .../DescribeAvailabilityMonitorTestCommand.ts | 2 +- .../DescribeBandwidthRateLimitCommand.ts | 1 - ...scribeBandwidthRateLimitScheduleCommand.ts | 3 - .../src/commands/DescribeCacheCommand.ts | 1 - .../DescribeCachediSCSIVolumesCommand.ts | 1 - .../DescribeGatewayInformationCommand.ts | 6 +- .../commands/DescribeNFSFileSharesCommand.ts | 2 +- .../commands/DescribeSMBFileSharesCommand.ts | 4 +- .../commands/DescribeSMBSettingsCommand.ts | 4 +- .../commands/DescribeTapeArchivesCommand.ts | 1 - .../DescribeTapeRecoveryPointsCommand.ts | 1 - .../commands/DescribeUploadBufferCommand.ts | 1 - .../src/commands/DescribeVTLDevicesCommand.ts | 1 - .../commands/DescribeWorkingStorageCommand.ts | 2 - .../src/commands/DisableGatewayCommand.ts | 2 - .../src/commands/JoinDomainCommand.ts | 2 +- ...istAutomaticTapeCreationPoliciesCommand.ts | 1 - .../src/commands/ListFileSharesCommand.ts | 2 +- .../src/commands/ListGatewaysCommand.ts | 4 +- .../src/commands/ListLocalDisksCommand.ts | 1 - .../src/commands/ListTapePoolsCommand.ts | 7 +- .../src/commands/ListTapesCommand.ts | 1 - .../ListVolumeRecoveryPointsCommand.ts | 1 - .../src/commands/ListVolumesCommand.ts | 1 - .../src/commands/NotifyWhenUploadedCommand.ts | 4 - .../src/commands/RefreshCacheCommand.ts | 8 - .../src/commands/ResetCacheCommand.ts | 1 - .../commands/RetrieveTapeArchiveCommand.ts | 1 - .../RetrieveTapeRecoveryPointCommand.ts | 2 - .../src/commands/ShutdownGatewayCommand.ts | 5 - .../src/commands/StartGatewayCommand.ts | 2 - ...pdateAutomaticTapeCreationPolicyCommand.ts | 2 - .../UpdateBandwidthRateLimitCommand.ts | 2 - .../commands/UpdateChapCredentialsCommand.ts | 1 - .../UpdateGatewayInformationCommand.ts | 3 +- .../UpdateGatewaySoftwareNowCommand.ts | 2 - .../src/commands/UpdateNFSFileShareCommand.ts | 5 +- .../src/commands/UpdateSMBFileShareCommand.ts | 7 +- .../UpdateSMBSecurityStrategyCommand.ts | 4 +- .../commands/UpdateSnapshotScheduleCommand.ts | 2 - .../src/endpoint/ruleset.ts | 35 +- clients/client-storage-gateway/src/index.ts | 9 - .../src/models/models_0.ts | 495 ++++----- clients/client-sts/src/endpoint/ruleset.ts | 2 +- .../src/endpoint/ruleset.ts | 35 +- .../client-support/src/endpoint/ruleset.ts | 2 +- clients/client-synthetics/README.md | 1 - clients/client-synthetics/src/Synthetics.ts | 1 - .../client-synthetics/src/SyntheticsClient.ts | 1 - .../src/commands/CreateCanaryCommand.ts | 8 +- .../src/commands/DeleteCanaryCommand.ts | 1 - .../src/commands/DescribeCanariesCommand.ts | 6 +- .../DescribeCanariesLastRunCommand.ts | 5 +- .../src/commands/GetCanaryCommand.ts | 6 +- .../src/commands/GetCanaryRunsCommand.ts | 4 +- .../src/commands/UpdateCanaryCommand.ts | 2 +- .../client-synthetics/src/endpoint/ruleset.ts | 35 +- clients/client-synthetics/src/index.ts | 1 - .../client-synthetics/src/models/models_0.ts | 3 +- .../client-textract/src/endpoint/ruleset.ts | 2 +- .../src/TimestreamQuery.ts | 2 +- .../src/TimestreamQueryClient.ts | 2 +- .../commands/CreateScheduledQueryCommand.ts | 10 +- .../src/commands/DescribeEndpointsCommand.ts | 12 +- .../commands/DescribeScheduledQueryCommand.ts | 16 +- .../commands/ListScheduledQueriesCommand.ts | 6 +- .../src/commands/PrepareQueryCommand.ts | 4 +- .../src/commands/QueryCommand.ts | 20 +- .../commands/UpdateScheduledQueryCommand.ts | 2 +- .../src/endpoint/ruleset.ts | 35 +- clients/client-timestream-query/src/index.ts | 2 +- .../src/models/models_0.ts | 44 +- .../src/endpoint/ruleset.ts | 34 +- .../StartMedicalStreamTranscriptionCommand.ts | 12 +- .../src/endpoint/ruleset.ts | 37 +- .../src/models/models_0.ts | 42 +- .../client-transcribe/src/endpoint/ruleset.ts | 2 +- .../client-translate/src/endpoint/ruleset.ts | 2 +- .../client-voice-id/src/endpoint/ruleset.ts | 2 +- .../src/commands/CreateByteMatchSetCommand.ts | 6 +- .../src/commands/CreateGeoMatchSetCommand.ts | 4 +- .../src/commands/CreateIPSetCommand.ts | 2 +- .../commands/CreateRateBasedRuleCommand.ts | 6 +- .../commands/CreateRegexMatchSetCommand.ts | 4 +- .../src/commands/CreateRuleCommand.ts | 2 +- .../CreateSizeConstraintSetCommand.ts | 6 +- .../CreateSqlInjectionMatchSetCommand.ts | 4 +- .../src/commands/CreateWebACLCommand.ts | 10 +- .../src/commands/CreateXssMatchSetCommand.ts | 4 +- .../src/commands/GetByteMatchSetCommand.ts | 6 +- .../commands/GetChangeTokenStatusCommand.ts | 2 +- .../src/commands/GetGeoMatchSetCommand.ts | 4 +- .../src/commands/GetIPSetCommand.ts | 2 +- .../GetLoggingConfigurationCommand.ts | 2 +- .../src/commands/GetRateBasedRuleCommand.ts | 4 +- .../src/commands/GetRegexMatchSetCommand.ts | 4 +- .../src/commands/GetRuleCommand.ts | 2 +- .../commands/GetSizeConstraintSetCommand.ts | 6 +- .../GetSqlInjectionMatchSetCommand.ts | 4 +- .../src/commands/GetWebACLCommand.ts | 8 +- .../src/commands/GetXssMatchSetCommand.ts | 4 +- .../ListActivatedRulesInRuleGroupCommand.ts | 6 +- .../ListLoggingConfigurationsCommand.ts | 2 +- .../commands/ListResourcesForWebACLCommand.ts | 2 +- .../PutLoggingConfigurationCommand.ts | 4 +- .../src/commands/UpdateByteMatchSetCommand.ts | 8 +- .../src/commands/UpdateGeoMatchSetCommand.ts | 6 +- .../src/commands/UpdateIPSetCommand.ts | 4 +- .../commands/UpdateRateBasedRuleCommand.ts | 4 +- .../commands/UpdateRegexMatchSetCommand.ts | 6 +- .../commands/UpdateRegexPatternSetCommand.ts | 2 +- .../src/commands/UpdateRuleCommand.ts | 4 +- .../src/commands/UpdateRuleGroupCommand.ts | 8 +- .../UpdateSizeConstraintSetCommand.ts | 8 +- .../UpdateSqlInjectionMatchSetCommand.ts | 6 +- .../src/commands/UpdateWebACLCommand.ts | 10 +- .../src/commands/UpdateXssMatchSetCommand.ts | 6 +- .../src/endpoint/ruleset.ts | 35 +- .../src/commands/CreateByteMatchSetCommand.ts | 6 +- .../src/commands/CreateGeoMatchSetCommand.ts | 4 +- .../src/commands/CreateIPSetCommand.ts | 2 +- .../commands/CreateRateBasedRuleCommand.ts | 6 +- .../commands/CreateRegexMatchSetCommand.ts | 4 +- .../src/commands/CreateRuleCommand.ts | 2 +- .../CreateSizeConstraintSetCommand.ts | 6 +- .../CreateSqlInjectionMatchSetCommand.ts | 4 +- .../src/commands/CreateWebACLCommand.ts | 10 +- .../src/commands/CreateXssMatchSetCommand.ts | 4 +- .../src/commands/GetByteMatchSetCommand.ts | 6 +- .../commands/GetChangeTokenStatusCommand.ts | 2 +- .../src/commands/GetGeoMatchSetCommand.ts | 4 +- .../src/commands/GetIPSetCommand.ts | 2 +- .../GetLoggingConfigurationCommand.ts | 2 +- .../src/commands/GetRateBasedRuleCommand.ts | 4 +- .../src/commands/GetRegexMatchSetCommand.ts | 4 +- .../client-waf/src/commands/GetRuleCommand.ts | 2 +- .../commands/GetSizeConstraintSetCommand.ts | 6 +- .../GetSqlInjectionMatchSetCommand.ts | 4 +- .../src/commands/GetWebACLCommand.ts | 8 +- .../src/commands/GetXssMatchSetCommand.ts | 4 +- .../ListActivatedRulesInRuleGroupCommand.ts | 6 +- .../ListLoggingConfigurationsCommand.ts | 2 +- .../PutLoggingConfigurationCommand.ts | 4 +- .../src/commands/UpdateByteMatchSetCommand.ts | 8 +- .../src/commands/UpdateGeoMatchSetCommand.ts | 6 +- .../src/commands/UpdateIPSetCommand.ts | 4 +- .../commands/UpdateRateBasedRuleCommand.ts | 4 +- .../commands/UpdateRegexMatchSetCommand.ts | 6 +- .../commands/UpdateRegexPatternSetCommand.ts | 2 +- .../src/commands/UpdateRuleCommand.ts | 4 +- .../src/commands/UpdateRuleGroupCommand.ts | 8 +- .../UpdateSizeConstraintSetCommand.ts | 8 +- .../UpdateSqlInjectionMatchSetCommand.ts | 6 +- .../src/commands/UpdateWebACLCommand.ts | 10 +- .../src/commands/UpdateXssMatchSetCommand.ts | 6 +- clients/client-waf/src/endpoint/ruleset.ts | 60 +- .../src/endpoint/ruleset.ts | 2 +- clients/client-wisdom/src/endpoint/ruleset.ts | 2 +- .../client-workdocs/src/endpoint/ruleset.ts | 2 +- ...iateWebsiteAuthorizationProviderCommand.ts | 2 +- .../src/commands/DescribeDeviceCommand.ts | 2 +- .../src/commands/DescribeDomainCommand.ts | 2 +- .../commands/DescribeFleetMetadataCommand.ts | 2 +- ...ibeIdentityProviderConfigurationCommand.ts | 2 +- .../src/commands/ListDevicesCommand.ts | 2 +- .../src/commands/ListDomainsCommand.ts | 2 +- .../src/commands/ListFleetsCommand.ts | 2 +- ...istWebsiteAuthorizationProvidersCommand.ts | 2 +- ...ateIdentityProviderConfigurationCommand.ts | 2 +- .../client-worklink/src/endpoint/ruleset.ts | 35 +- .../client-workmail/src/endpoint/ruleset.ts | 35 +- .../commands/PutRawMessageContentCommand.ts | 2 - .../src/endpoint/ruleset.ts | 35 +- .../client-workspaces/src/endpoint/ruleset.ts | 2 +- clients/client-xray/src/endpoint/ruleset.ts | 2 +- .../aws-models/accessanalyzer.json | 18 +- codegen/sdk-codegen/aws-models/account.json | 22 +- codegen/sdk-codegen/aws-models/acm-pca.json | 2 +- codegen/sdk-codegen/aws-models/acm.json | 2 +- .../aws-models/alexa-for-business.json | 2 +- codegen/sdk-codegen/aws-models/amp.json | 2 +- codegen/sdk-codegen/aws-models/amplify.json | 2 +- .../aws-models/amplifybackend.json | 2 +- .../aws-models/amplifyuibuilder.json | 128 ++- .../sdk-codegen/aws-models/api-gateway.json | 2 +- .../aws-models/apigatewaymanagementapi.json | 2 +- .../sdk-codegen/aws-models/apigatewayv2.json | 2 +- codegen/sdk-codegen/aws-models/app-mesh.json | 34 +- codegen/sdk-codegen/aws-models/appconfig.json | 6 +- .../sdk-codegen/aws-models/appconfigdata.json | 2 +- codegen/sdk-codegen/aws-models/appfabric.json | 2 +- codegen/sdk-codegen/aws-models/appflow.json | 2 +- .../aws-models/appintegrations.json | 2 +- .../aws-models/application-auto-scaling.json | 6 +- .../application-discovery-service.json | 2 +- .../aws-models/application-insights.json | 2 +- .../aws-models/applicationcostprofiler.json | 2 +- codegen/sdk-codegen/aws-models/apprunner.json | 2 +- codegen/sdk-codegen/aws-models/appstream.json | 2 +- codegen/sdk-codegen/aws-models/appsync.json | 2 +- .../aws-models/arc-zonal-shift.json | 2 +- codegen/sdk-codegen/aws-models/athena.json | 2 +- .../sdk-codegen/aws-models/auditmanager.json | 2 +- .../aws-models/auto-scaling-plans.json | 2 +- .../sdk-codegen/aws-models/auto-scaling.json | 93 +- .../aws-models/backup-gateway.json | 2 +- codegen/sdk-codegen/aws-models/backup.json | 2 +- .../sdk-codegen/aws-models/backupstorage.json | 14 +- codegen/sdk-codegen/aws-models/batch.json | 65 +- .../aws-models/billingconductor.json | 57 +- codegen/sdk-codegen/aws-models/braket.json | 2 +- codegen/sdk-codegen/aws-models/budgets.json | 2 +- .../aws-models/chime-sdk-identity.json | 2 +- .../aws-models/chime-sdk-media-pipelines.json | 2 +- .../aws-models/chime-sdk-meetings.json | 2 +- .../aws-models/chime-sdk-messaging.json | 2 +- .../aws-models/chime-sdk-voice.json | 2 +- codegen/sdk-codegen/aws-models/chime.json | 2 +- .../sdk-codegen/aws-models/cleanrooms.json | 32 +- codegen/sdk-codegen/aws-models/cloud9.json | 12 +- .../sdk-codegen/aws-models/cloudcontrol.json | 2 +- .../aws-models/clouddirectory.json | 2 +- .../aws-models/cloudformation.json | 10 +- .../sdk-codegen/aws-models/cloudfront.json | 2 +- .../sdk-codegen/aws-models/cloudhsm-v2.json | 2 +- codegen/sdk-codegen/aws-models/cloudhsm.json | 2 +- .../aws-models/cloudsearch-domain.json | 2 +- .../sdk-codegen/aws-models/cloudsearch.json | 2 +- .../aws-models/cloudtrail-data.json | 2 +- .../sdk-codegen/aws-models/cloudtrail.json | 2 +- .../aws-models/cloudwatch-events.json | 2 +- .../aws-models/cloudwatch-logs.json | 2 +- .../sdk-codegen/aws-models/cloudwatch.json | 2 +- .../sdk-codegen/aws-models/codeartifact.json | 2 +- codegen/sdk-codegen/aws-models/codebuild.json | 2 +- .../sdk-codegen/aws-models/codecatalyst.json | 6 +- .../sdk-codegen/aws-models/codecommit.json | 2 +- .../sdk-codegen/aws-models/codedeploy.json | 2 +- .../aws-models/codeguru-reviewer.json | 2 +- .../aws-models/codeguru-security.json | 2 +- .../aws-models/codeguruprofiler.json | 16 +- .../sdk-codegen/aws-models/codepipeline.json | 2 +- .../aws-models/codestar-connections.json | 2 +- .../aws-models/codestar-notifications.json | 2 +- codegen/sdk-codegen/aws-models/codestar.json | 2 +- .../aws-models/cognito-identity-provider.json | 105 +- .../aws-models/cognito-identity.json | 2 +- .../sdk-codegen/aws-models/cognito-sync.json | 2 +- .../sdk-codegen/aws-models/comprehend.json | 2 +- .../aws-models/comprehendmedical.json | 2 +- .../aws-models/compute-optimizer.json | 2 +- .../aws-models/config-service.json | 2 +- .../aws-models/connect-contact-lens.json | 2 +- codegen/sdk-codegen/aws-models/connect.json | 2 +- .../aws-models/connectcampaigns.json | 2 +- .../sdk-codegen/aws-models/connectcases.json | 2 +- .../aws-models/connectparticipant.json | 2 +- .../sdk-codegen/aws-models/controltower.json | 8 +- .../cost-and-usage-report-service.json | 27 +- .../sdk-codegen/aws-models/cost-explorer.json | 2 +- .../aws-models/customer-profiles.json | 2 +- .../sdk-codegen/aws-models/data-pipeline.json | 2 +- .../database-migration-service.json | 42 +- codegen/sdk-codegen/aws-models/databrew.json | 2 +- .../sdk-codegen/aws-models/dataexchange.json | 2 +- codegen/sdk-codegen/aws-models/datasync.json | 2 +- codegen/sdk-codegen/aws-models/dax.json | 2 +- codegen/sdk-codegen/aws-models/detective.json | 2 +- .../sdk-codegen/aws-models/device-farm.json | 2 +- .../sdk-codegen/aws-models/devops-guru.json | 2 +- .../aws-models/direct-connect.json | 2 +- .../aws-models/directory-service.json | 2 +- codegen/sdk-codegen/aws-models/dlm.json | 2 +- .../sdk-codegen/aws-models/docdb-elastic.json | 8 +- codegen/sdk-codegen/aws-models/docdb.json | 6 +- codegen/sdk-codegen/aws-models/drs.json | 53 +- .../aws-models/dynamodb-streams.json | 2 +- codegen/sdk-codegen/aws-models/dynamodb.json | 17 +- codegen/sdk-codegen/aws-models/ebs.json | 6 +- .../aws-models/ec2-instance-connect.json | 2 +- codegen/sdk-codegen/aws-models/ec2.json | 223 +++- .../sdk-codegen/aws-models/ecr-public.json | 2 +- codegen/sdk-codegen/aws-models/ecr.json | 2 +- codegen/sdk-codegen/aws-models/ecs.json | 70 +- codegen/sdk-codegen/aws-models/efs.json | 14 +- codegen/sdk-codegen/aws-models/eks.json | 25 +- .../aws-models/elastic-beanstalk.json | 41 +- .../aws-models/elastic-inference.json | 2 +- .../aws-models/elastic-load-balancing-v2.json | 75 +- .../aws-models/elastic-load-balancing.json | 112 +- .../aws-models/elastic-transcoder.json | 2 +- .../sdk-codegen/aws-models/elasticache.json | 39 +- .../aws-models/elasticsearch-service.json | 2 +- .../aws-models/emr-containers.json | 2 +- .../aws-models/emr-serverless.json | 9 +- codegen/sdk-codegen/aws-models/emr.json | 2 +- .../aws-models/entityresolution.json | 8 +- .../sdk-codegen/aws-models/eventbridge.json | 26 +- codegen/sdk-codegen/aws-models/evidently.json | 14 +- .../sdk-codegen/aws-models/finspace-data.json | 2 +- codegen/sdk-codegen/aws-models/finspace.json | 2 +- codegen/sdk-codegen/aws-models/firehose.json | 2 +- codegen/sdk-codegen/aws-models/fis.json | 2 +- codegen/sdk-codegen/aws-models/fms.json | 2 +- codegen/sdk-codegen/aws-models/forecast.json | 2 +- .../sdk-codegen/aws-models/forecastquery.json | 2 +- .../sdk-codegen/aws-models/frauddetector.json | 2 +- codegen/sdk-codegen/aws-models/fsx.json | 6 +- codegen/sdk-codegen/aws-models/gamelift.json | 2 +- .../sdk-codegen/aws-models/gamesparks.json | 2 +- codegen/sdk-codegen/aws-models/glacier.json | 2 +- .../aws-models/global-accelerator.json | 2 +- codegen/sdk-codegen/aws-models/glue.json | 2 +- codegen/sdk-codegen/aws-models/grafana.json | 6 +- .../sdk-codegen/aws-models/greengrass.json | 2 +- .../sdk-codegen/aws-models/greengrassv2.json | 2 +- .../sdk-codegen/aws-models/groundstation.json | 2 +- codegen/sdk-codegen/aws-models/guardduty.json | 2 +- codegen/sdk-codegen/aws-models/health.json | 2 +- .../sdk-codegen/aws-models/healthlake.json | 2 +- codegen/sdk-codegen/aws-models/honeycode.json | 2 +- codegen/sdk-codegen/aws-models/iam.json | 44 +- .../sdk-codegen/aws-models/identitystore.json | 2 +- .../sdk-codegen/aws-models/imagebuilder.json | 2 +- codegen/sdk-codegen/aws-models/inspector.json | 22 +- .../sdk-codegen/aws-models/inspector2.json | 23 +- .../aws-models/internetmonitor.json | 32 +- .../iot-1click-devices-service.json | 2 +- .../aws-models/iot-1click-projects.json | 2 +- .../aws-models/iot-data-plane.json | 2 +- .../aws-models/iot-events-data.json | 2 +- .../sdk-codegen/aws-models/iot-events.json | 2 +- .../aws-models/iot-jobs-data-plane.json | 2 +- .../aws-models/iot-roborunner.json | 2 +- .../sdk-codegen/aws-models/iot-wireless.json | 2 +- codegen/sdk-codegen/aws-models/iot.json | 2 +- .../sdk-codegen/aws-models/iotanalytics.json | 2 +- .../aws-models/iotdeviceadvisor.json | 2 +- .../sdk-codegen/aws-models/iotfleethub.json | 2 +- .../sdk-codegen/aws-models/iotfleetwise.json | 2 +- .../aws-models/iotsecuretunneling.json | 2 +- .../sdk-codegen/aws-models/iotsitewise.json | 2 +- .../aws-models/iotthingsgraph.json | 2 +- .../sdk-codegen/aws-models/iottwinmaker.json | 2 +- .../sdk-codegen/aws-models/ivs-realtime.json | 2 +- codegen/sdk-codegen/aws-models/ivs.json | 2 +- codegen/sdk-codegen/aws-models/ivschat.json | 2 +- codegen/sdk-codegen/aws-models/kafka.json | 2 +- .../sdk-codegen/aws-models/kafkaconnect.json | 8 +- .../aws-models/kendra-ranking.json | 2 +- codegen/sdk-codegen/aws-models/kendra.json | 2 +- codegen/sdk-codegen/aws-models/keyspaces.json | 2 +- .../aws-models/kinesis-analytics-v2.json | 2 +- .../aws-models/kinesis-analytics.json | 2 +- .../kinesis-video-archived-media.json | 2 +- .../aws-models/kinesis-video-media.json | 2 +- .../aws-models/kinesis-video-signaling.json | 2 +- .../kinesis-video-webrtc-storage.json | 2 +- .../sdk-codegen/aws-models/kinesis-video.json | 2 +- codegen/sdk-codegen/aws-models/kinesis.json | 11 +- codegen/sdk-codegen/aws-models/kms.json | 25 +- .../sdk-codegen/aws-models/lakeformation.json | 2 +- codegen/sdk-codegen/aws-models/lambda.json | 2 +- .../lex-model-building-service.json | 50 +- .../sdk-codegen/aws-models/lex-models-v2.json | 2 +- .../aws-models/lex-runtime-service.json | 6 +- .../aws-models/lex-runtime-v2.json | 15 +- .../license-manager-linux-subscriptions.json | 8 +- .../license-manager-user-subscriptions.json | 8 +- .../aws-models/license-manager.json | 2 +- codegen/sdk-codegen/aws-models/lightsail.json | 2 +- codegen/sdk-codegen/aws-models/location.json | 2 +- .../aws-models/lookoutequipment.json | 2 +- .../aws-models/lookoutmetrics.json | 2 +- .../sdk-codegen/aws-models/lookoutvision.json | 2 +- codegen/sdk-codegen/aws-models/m2.json | 53 +- .../aws-models/machine-learning.json | 2 +- codegen/sdk-codegen/aws-models/macie.json | 2 +- codegen/sdk-codegen/aws-models/macie2.json | 2 +- .../aws-models/managedblockchain-query.json | 2 +- .../aws-models/managedblockchain.json | 2 +- .../aws-models/marketplace-catalog.json | 2 +- .../marketplace-commerce-analytics.json | 2 +- .../marketplace-entitlement-service.json | 2 +- .../aws-models/marketplace-metering.json | 2 +- .../sdk-codegen/aws-models/mediaconnect.json | 2 +- .../sdk-codegen/aws-models/mediaconvert.json | 2 +- codegen/sdk-codegen/aws-models/medialive.json | 2 +- .../aws-models/mediapackage-vod.json | 2 +- .../sdk-codegen/aws-models/mediapackage.json | 2 +- .../aws-models/mediapackagev2.json | 113 +- .../aws-models/mediastore-data.json | 6 +- .../sdk-codegen/aws-models/mediastore.json | 2 +- .../sdk-codegen/aws-models/mediatailor.json | 6 +- .../aws-models/medical-imaging.json | 24 +- codegen/sdk-codegen/aws-models/memorydb.json | 2 +- codegen/sdk-codegen/aws-models/mgn.json | 16 +- .../migration-hub-refactor-spaces.json | 6 +- .../sdk-codegen/aws-models/migration-hub.json | 2 +- .../aws-models/migrationhub-config.json | 2 +- .../aws-models/migrationhuborchestrator.json | 2 +- .../aws-models/migrationhubstrategy.json | 2 +- codegen/sdk-codegen/aws-models/mobile.json | 2 +- codegen/sdk-codegen/aws-models/mq.json | 2 +- codegen/sdk-codegen/aws-models/mturk.json | 2 +- codegen/sdk-codegen/aws-models/mwaa.json | 2 +- codegen/sdk-codegen/aws-models/neptune.json | 6 +- .../sdk-codegen/aws-models/neptunedata.json | 2 +- .../aws-models/network-firewall.json | 2 +- .../aws-models/networkmanager.json | 2 +- codegen/sdk-codegen/aws-models/nimble.json | 150 ++- codegen/sdk-codegen/aws-models/oam.json | 71 +- codegen/sdk-codegen/aws-models/omics.json | 47 +- .../sdk-codegen/aws-models/opensearch.json | 2 +- .../aws-models/opensearchserverless.json | 2 +- codegen/sdk-codegen/aws-models/opsworks.json | 2 +- .../sdk-codegen/aws-models/opsworkscm.json | 2 +- .../sdk-codegen/aws-models/organizations.json | 6 +- codegen/sdk-codegen/aws-models/osis.json | 2 +- codegen/sdk-codegen/aws-models/outposts.json | 2 +- codegen/sdk-codegen/aws-models/panorama.json | 2 +- .../aws-models/payment-cryptography-data.json | 2 +- .../aws-models/payment-cryptography.json | 2 +- .../aws-models/pca-connector-ad.json | 8 +- .../aws-models/personalize-events.json | 2 +- .../aws-models/personalize-runtime.json | 2 +- .../sdk-codegen/aws-models/personalize.json | 2 +- codegen/sdk-codegen/aws-models/pi.json | 2 +- .../aws-models/pinpoint-email.json | 2 +- .../aws-models/pinpoint-sms-voice-v2.json | 2 +- .../aws-models/pinpoint-sms-voice.json | 2 +- codegen/sdk-codegen/aws-models/pinpoint.json | 2 +- codegen/sdk-codegen/aws-models/pipes.json | 63 +- codegen/sdk-codegen/aws-models/polly.json | 6 +- codegen/sdk-codegen/aws-models/pricing.json | 2 +- .../aws-models/privatenetworks.json | 8 +- codegen/sdk-codegen/aws-models/proton.json | 2 +- .../sdk-codegen/aws-models/qldb-session.json | 2 +- codegen/sdk-codegen/aws-models/qldb.json | 2 +- .../sdk-codegen/aws-models/quicksight.json | 2 +- codegen/sdk-codegen/aws-models/ram.json | 2 +- codegen/sdk-codegen/aws-models/rbin.json | 2 +- codegen/sdk-codegen/aws-models/rds-data.json | 2 +- codegen/sdk-codegen/aws-models/rds.json | 266 ++++- .../sdk-codegen/aws-models/redshift-data.json | 2 +- .../aws-models/redshift-serverless.json | 9 +- codegen/sdk-codegen/aws-models/redshift.json | 6 +- .../sdk-codegen/aws-models/rekognition.json | 43 +- .../sdk-codegen/aws-models/resiliencehub.json | 2 +- .../aws-models/resource-explorer-2.json | 2 +- .../resource-groups-tagging-api.json | 2 +- .../aws-models/resource-groups.json | 2 +- codegen/sdk-codegen/aws-models/robomaker.json | 2 +- .../sdk-codegen/aws-models/rolesanywhere.json | 2 +- .../aws-models/route-53-domains.json | 2 +- codegen/sdk-codegen/aws-models/route-53.json | 6 +- .../aws-models/route53-recovery-cluster.json | 2 +- .../route53-recovery-control-config.json | 2 +- .../route53-recovery-readiness.json | 2 +- .../aws-models/route53resolver.json | 2 +- codegen/sdk-codegen/aws-models/rum.json | 2 +- .../sdk-codegen/aws-models/s3-control.json | 306 ++++-- codegen/sdk-codegen/aws-models/s3.json | 67 +- .../sdk-codegen/aws-models/s3outposts.json | 2 +- .../aws-models/sagemaker-a2i-runtime.json | 2 +- .../aws-models/sagemaker-edge.json | 2 +- .../sagemaker-featurestore-runtime.json | 2 +- .../aws-models/sagemaker-geospatial.json | 8 +- .../aws-models/sagemaker-metrics.json | 2 +- .../aws-models/sagemaker-runtime.json | 2 +- codegen/sdk-codegen/aws-models/sagemaker.json | 30 +- .../sdk-codegen/aws-models/savingsplans.json | 2 +- codegen/sdk-codegen/aws-models/scheduler.json | 23 +- codegen/sdk-codegen/aws-models/schemas.json | 2 +- .../aws-models/secrets-manager.json | 31 +- .../sdk-codegen/aws-models/securityhub.json | 92 +- .../sdk-codegen/aws-models/securitylake.json | 42 +- .../serverlessapplicationrepository.json | 2 +- .../service-catalog-appregistry.json | 2 +- .../aws-models/service-catalog.json | 2 +- .../aws-models/service-quotas.json | 2 +- .../aws-models/servicediscovery.json | 12 +- codegen/sdk-codegen/aws-models/ses.json | 50 +- codegen/sdk-codegen/aws-models/sesv2.json | 2 +- codegen/sdk-codegen/aws-models/sfn.json | 2 +- codegen/sdk-codegen/aws-models/shield.json | 2 +- codegen/sdk-codegen/aws-models/signer.json | 2 +- .../aws-models/simspaceweaver.json | 27 +- codegen/sdk-codegen/aws-models/sms.json | 2 +- .../aws-models/snow-device-management.json | 2 +- codegen/sdk-codegen/aws-models/snowball.json | 2 +- codegen/sdk-codegen/aws-models/sns.json | 2 +- codegen/sdk-codegen/aws-models/sqs.json | 2 +- .../sdk-codegen/aws-models/ssm-contacts.json | 2 +- .../sdk-codegen/aws-models/ssm-incidents.json | 385 +++++-- codegen/sdk-codegen/aws-models/ssm-sap.json | 2 +- codegen/sdk-codegen/aws-models/ssm.json | 2 +- codegen/sdk-codegen/aws-models/sso-admin.json | 2 +- codegen/sdk-codegen/aws-models/sso-oidc.json | 2 +- codegen/sdk-codegen/aws-models/sso.json | 2 +- .../aws-models/storage-gateway.json | 45 +- codegen/sdk-codegen/aws-models/sts.json | 7 +- .../sdk-codegen/aws-models/support-app.json | 2 +- codegen/sdk-codegen/aws-models/support.json | 2 +- codegen/sdk-codegen/aws-models/swf.json | 2 +- .../sdk-codegen/aws-models/synthetics.json | 2 +- codegen/sdk-codegen/aws-models/textract.json | 2 +- .../aws-models/timestream-query.json | 2 +- .../aws-models/timestream-write.json | 2 +- codegen/sdk-codegen/aws-models/tnb.json | 33 +- .../aws-models/transcribe-streaming.json | 11 +- .../sdk-codegen/aws-models/transcribe.json | 2 +- codegen/sdk-codegen/aws-models/transfer.json | 2 +- codegen/sdk-codegen/aws-models/translate.json | 2 +- .../aws-models/verifiedpermissions.json | 9 +- codegen/sdk-codegen/aws-models/voice-id.json | 18 +- .../sdk-codegen/aws-models/vpc-lattice.json | 8 +- .../sdk-codegen/aws-models/waf-regional.json | 2 +- codegen/sdk-codegen/aws-models/waf.json | 2 +- codegen/sdk-codegen/aws-models/wafv2.json | 2 +- .../aws-models/wellarchitected.json | 2 +- codegen/sdk-codegen/aws-models/wisdom.json | 6 +- codegen/sdk-codegen/aws-models/workdocs.json | 2 +- codegen/sdk-codegen/aws-models/worklink.json | 2 +- codegen/sdk-codegen/aws-models/workmail.json | 2 +- .../aws-models/workmailmessageflow.json | 2 +- .../aws-models/workspaces-web.json | 2 +- .../sdk-codegen/aws-models/workspaces.json | 2 +- codegen/sdk-codegen/aws-models/xray.json | 2 +- .../codegen/XmlShapeSerVisitor.java | 2 +- .../commands/HttpPayloadWithUnionCommand.ts | 133 +++ .../commands/HttpPayloadWithUnionCommand.ts | 133 +++ .../commands/XmlMapWithXmlNamespaceCommand.ts | 133 +++ .../server/operations/HttpPayloadWithUnion.ts | 191 ++++ 1409 files changed, 10328 insertions(+), 7612 deletions(-) create mode 100644 clients/client-elastic-load-balancing/src/waiters/waitForInstanceDeregistered.ts create mode 100644 clients/client-elastic-load-balancing/src/waiters/waitForInstanceInService.ts create mode 100644 private/aws-protocoltests-restjson/src/commands/HttpPayloadWithUnionCommand.ts create mode 100644 private/aws-protocoltests-restxml/src/commands/HttpPayloadWithUnionCommand.ts create mode 100644 private/aws-protocoltests-restxml/src/commands/XmlMapWithXmlNamespaceCommand.ts create mode 100644 private/aws-restjson-server/src/server/operations/HttpPayloadWithUnion.ts diff --git a/clients/client-accessanalyzer/src/endpoint/EndpointParameters.ts b/clients/client-accessanalyzer/src/endpoint/EndpointParameters.ts index 2d5e91063d50d..b20d89a74ed98 100644 --- a/clients/client-accessanalyzer/src/endpoint/EndpointParameters.ts +++ b/clients/client-accessanalyzer/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-accessanalyzer/src/endpoint/ruleset.ts b/clients/client-accessanalyzer/src/endpoint/ruleset.ts index 2be384fd04624..1a6adcaec752b 100644 --- a/clients/client-accessanalyzer/src/endpoint/ruleset.ts +++ b/clients/client-accessanalyzer/src/endpoint/ruleset.ts @@ -6,28 +6,27 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/accessanalyzer.json */ -const u="fn", -v="argv", -w="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h="getAttr", -i="stringEquals", -j={"required":true,"default":false,"type":"Boolean"}, -k={[w]:"Region"}, -l={[w]:"Endpoint"}, -m={[u]:"booleanEquals",[v]:[{[w]:"UseFIPS"},true]}, -n={[u]:"booleanEquals",[v]:[{[w]:"UseDualStack"},true]}, -o={}, -p={[u]:"booleanEquals",[v]:[true,{[u]:h,[v]:[{[w]:d},"supportsFIPS"]}]}, -q={[w]:d}, -r={[u]:"booleanEquals",[v]:[true,{[u]:h,[v]:[q,"supportsDualStack"]}]}, -s=[m], -t=[n]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:j,UseFIPS:j,Endpoint:{required:b,type:c}},rules:[{conditions:[{[u]:"aws.partition",[v]:[k],assign:d}],type:e,rules:[{conditions:[{[u]:"isSet",[v]:[l]}],type:e,rules:[{conditions:s,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:t,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:l,properties:o,headers:o},type:g}]}]},{conditions:[m,n],type:e,rules:[{conditions:[p,r],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://access-analyzer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:o,headers:o},type:g}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:s,type:e,rules:[{conditions:[p],type:e,rules:[{type:e,rules:[{conditions:[{[u]:i,[v]:["aws-us-gov",{[u]:h,[v]:[q,"name"]}]}],endpoint:{url:"https://access-analyzer.{Region}.amazonaws.com",properties:o,headers:o},type:g},{endpoint:{url:"https://access-analyzer-fips.{Region}.{PartitionResult#dnsSuffix}",properties:o,headers:o},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:t,type:e,rules:[{conditions:[r],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://access-analyzer.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:o,headers:o},type:g}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{type:e,rules:[{conditions:[{[u]:i,[v]:[k,"us-gov-east-1"]}],endpoint:{url:"https://access-analyzer.us-gov-east-1.amazonaws.com",properties:o,headers:o},type:g},{conditions:[{[u]:i,[v]:[k,"us-gov-west-1"]}],endpoint:{url:"https://access-analyzer.us-gov-west-1.amazonaws.com",properties:o,headers:o},type:g},{endpoint:{url:"https://access-analyzer.{Region}.{PartitionResult#dnsSuffix}",properties:o,headers:o},type:g}]}]}]}; +const s="required", +t="fn", +u="argv", +v="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f="getAttr", +g={[s]:false,"type":"String"}, +h={[s]:true,"default":false,"type":"Boolean"}, +i={[v]:"Endpoint"}, +j={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, +k={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, +l={}, +m={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[{[v]:e},"supportsFIPS"]}]}, +n={[v]:e}, +o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, +p=[j], +q=[k], +r=[{[v]:"Region"}]; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://access-analyzer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://access-analyzer.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://access-analyzer-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://access-analyzer.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://access-analyzer.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-account/src/endpoint/ruleset.ts b/clients/client-account/src/endpoint/ruleset.ts index 9fa2f83b49eac..d3140f84aeab5 100644 --- a/clients/client-account/src/endpoint/ruleset.ts +++ b/clients/client-account/src/endpoint/ruleset.ts @@ -32,5 +32,5 @@ s={[x]:"booleanEquals",[y]:[true,{[x]:"getAttr",[y]:[{[z]:e},"supportsDualStack" t=[l], u=[m], v=[{[z]:"Region"}]; -const _data={version:"1.0",parameters:{Region:i,UseDualStack:j,UseFIPS:j,Endpoint:i},rules:[{conditions:[{[x]:a,[y]:[k]}],type:b,rules:[{conditions:t,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:u,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:k,properties:n,headers:n},type:d}]}]},{type:b,rules:[{conditions:[{[x]:a,[y]:v}],type:b,rules:[{conditions:[{[x]:"aws.partition",[y]:v,assign:e}],type:b,rules:[{conditions:[{[x]:f,[y]:[o,"aws"]},p,q],endpoint:{url:"https://account.us-east-1.amazonaws.com",properties:{authSchemes:[{name:g,signingName:h,signingRegion:"us-east-1"}]},headers:n},type:d},{conditions:[{[x]:f,[y]:[o,"aws-cn"]},p,q],endpoint:{url:"https://account.cn-northwest-1.amazonaws.com.cn",properties:{authSchemes:[{name:g,signingName:h,signingRegion:"cn-northwest-1"}]},headers:n},type:d},{conditions:[l,m],type:b,rules:[{conditions:[r,s],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://account-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:t,type:b,rules:[{conditions:[r],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://account-fips.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:u,type:b,rules:[{conditions:[s],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://account.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://account.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:i,UseDualStack:j,UseFIPS:j,Endpoint:i},rules:[{conditions:[{[x]:a,[y]:[k]}],type:b,rules:[{conditions:t,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:u,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:k,properties:n,headers:n},type:d}]},{conditions:[{[x]:a,[y]:v}],type:b,rules:[{conditions:[{[x]:"aws.partition",[y]:v,assign:e}],type:b,rules:[{conditions:[{[x]:f,[y]:[o,"aws"]},p,q],endpoint:{url:"https://account.us-east-1.amazonaws.com",properties:{authSchemes:[{name:g,signingName:h,signingRegion:"us-east-1"}]},headers:n},type:d},{conditions:[{[x]:f,[y]:[o,"aws-cn"]},p,q],endpoint:{url:"https://account.cn-northwest-1.amazonaws.com.cn",properties:{authSchemes:[{name:g,signingName:h,signingRegion:"cn-northwest-1"}]},headers:n},type:d},{conditions:[l,m],type:b,rules:[{conditions:[r,s],type:b,rules:[{endpoint:{url:"https://account-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:t,type:b,rules:[{conditions:[r],type:b,rules:[{endpoint:{url:"https://account-fips.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:u,type:b,rules:[{conditions:[s],type:b,rules:[{endpoint:{url:"https://account.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://account.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-acm-pca/src/endpoint/ruleset.ts b/clients/client-acm-pca/src/endpoint/ruleset.ts index 0dda4743cea76..46fd1edce961e 100644 --- a/clients/client-acm-pca/src/endpoint/ruleset.ts +++ b/clients/client-acm-pca/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, p=[j], q=[k], r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://acm-pca-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://acm-pca.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://acm-pca-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://acm-pca.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://acm-pca.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://acm-pca-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://acm-pca.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://acm-pca-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://acm-pca.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://acm-pca.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-acm/src/endpoint/ruleset.ts b/clients/client-acm/src/endpoint/ruleset.ts index da570a4b557a1..8e6a756e3c2e0 100644 --- a/clients/client-acm/src/endpoint/ruleset.ts +++ b/clients/client-acm/src/endpoint/ruleset.ts @@ -10,23 +10,23 @@ const s="required", t="fn", u="argv", v="ref"; -const a="PartitionResult", +const a="isSet", b="tree", c="error", d="endpoint", -e="getAttr", -f={[s]:false,"type":"String"}, -g={[s]:true,"default":false,"type":"Boolean"}, -h={[v]:"Endpoint"}, -i={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, -j={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, -k={}, -l={[t]:"booleanEquals",[u]:[true,{[t]:e,[u]:[{[v]:a},"supportsFIPS"]}]}, -m={[v]:a}, -n={[t]:"booleanEquals",[u]:[true,{[t]:e,[u]:[m,"supportsDualStack"]}]}, -o={"url":"https://acm.{Region}.{PartitionResult#dnsSuffix}","properties":{},"headers":{}}, -p=[h], -q=[i], -r=[j]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[t]:"aws.partition",[u]:[{[v]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[t]:"isSet",[u]:p},{[t]:"parseURL",[u]:p,assign:"url"}],type:b,rules:[{conditions:q,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:r,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{conditions:[i,j],type:b,rules:[{conditions:[l,n],type:b,rules:[{endpoint:{url:"https://acm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:q,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:e,[u]:[m,"name"]}]}],endpoint:o,type:d},{endpoint:{url:"https://acm-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:r,type:b,rules:[{conditions:[n],type:b,rules:[{endpoint:{url:"https://acm.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:o,type:d}]}]}; +e="PartitionResult", +f="getAttr", +g={[s]:false,"type":"String"}, +h={[s]:true,"default":false,"type":"Boolean"}, +i={[v]:"Endpoint"}, +j={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, +k={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, +l={}, +m={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[{[v]:e},"supportsFIPS"]}]}, +n={[v]:e}, +o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, +p=[j], +q=[k], +r=[{[v]:"Region"}]; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://acm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://acm.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://acm-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://acm.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://acm.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-alexa-for-business/src/endpoint/ruleset.ts b/clients/client-alexa-for-business/src/endpoint/ruleset.ts index f6fa41fa7884a..d08215e8617ad 100644 --- a/clients/client-alexa-for-business/src/endpoint/ruleset.ts +++ b/clients/client-alexa-for-business/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://a4b-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://a4b-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://a4b.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://a4b.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://a4b-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://a4b-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://a4b.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://a4b.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-amp/src/endpoint/ruleset.ts b/clients/client-amp/src/endpoint/ruleset.ts index e233a709b7035..0ed3c1b788003 100644 --- a/clients/client-amp/src/endpoint/ruleset.ts +++ b/clients/client-amp/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://aps-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://aps-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://aps.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://aps.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://aps-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://aps-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://aps.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://aps.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-amplify/src/endpoint/ruleset.ts b/clients/client-amplify/src/endpoint/ruleset.ts index 59977da744b3d..130ddf2eb8260 100644 --- a/clients/client-amplify/src/endpoint/ruleset.ts +++ b/clients/client-amplify/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/amplify.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://amplify-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://amplify-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://amplify.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://amplify.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://amplify-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://amplify-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://amplify.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://amplify.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-amplify/src/models/models_0.ts b/clients/client-amplify/src/models/models_0.ts index a66425c1025ab..fe0a6ba044079 100644 --- a/clients/client-amplify/src/models/models_0.ts +++ b/clients/client-amplify/src/models/models_0.ts @@ -86,7 +86,7 @@ export interface AutoBranchCreationConfig { /** * @public *

Enables performance mode for the branch.

- *

Performance mode optimizes for faster hosting performance by keeping content cached at + *

Performance mode optimizes for faster hosting performance by keeping content cached at * the edge for a longer interval. When performance mode is enabled, hosting configuration * or code changes can take up to 10 minutes to roll out.

*/ @@ -131,29 +131,28 @@ export interface CustomRule { /** * @public *

The status code for a URL rewrite or redirect rule.

- * - *
+ *
*
200
*
- *

Represents a 200 rewrite rule.

- *
+ *

Represents a 200 rewrite rule.

+ * *
301
*
- *

Represents a 301 (moved pemanently) redirect rule. This and all future + *

Represents a 301 (moved pemanently) redirect rule. This and all future * requests should be directed to the target URL.

- *
+ * *
302
*
- *

Represents a 302 temporary redirect rule.

- *
+ *

Represents a 302 temporary redirect rule.

+ * *
404
*
- *

Represents a 404 redirect rule.

- *
+ *

Represents a 404 redirect rule.

+ * *
404-200
*
- *

Represents a 404 rewrite rule.

- *
+ *

Represents a 404 rewrite rule.

+ * *
*/ status?: string; @@ -223,12 +222,12 @@ export interface CreateAppRequest { *

The OAuth token for a third-party source control system for an Amplify app. The OAuth * token is used to create a webhook and a read-only deploy key using SSH cloning. The * OAuth token is not stored.

- *

Use oauthToken for repository providers other than GitHub, such as + *

Use oauthToken for repository providers other than GitHub, such as * Bitbucket or CodeCommit. To authorize access to GitHub as your repository provider, use * accessToken.

- *

You must specify either oauthToken or accessToken when you + *

You must specify either oauthToken or accessToken when you * create a new app.

- *

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work + *

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work * with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub * App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the * Amplify User Guide .

@@ -240,11 +239,11 @@ export interface CreateAppRequest { *

The personal access token for a GitHub repository for an Amplify app. The personal * access token is used to authorize access to a GitHub repository using the Amplify GitHub * App. The token is not stored.

- *

Use accessToken for GitHub repositories only. To authorize access to a + *

Use accessToken for GitHub repositories only. To authorize access to a * repository provider such as Bitbucket or CodeCommit, use oauthToken.

- *

You must specify either accessToken or oauthToken when you + *

You must specify either accessToken or oauthToken when you * create a new app.

- *

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work + *

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work * with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub * App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the * Amplify User Guide .

@@ -529,8 +528,8 @@ export interface App { * @public * *

This is for internal use.

- *
- *

The Amplify service uses this parameter to specify the authentication protocol to use to access + * + *

The Amplify service uses this parameter to specify the authentication protocol to use to access * the Git repository for an Amplify app. Amplify specifies TOKEN for a GitHub * repository, SIGV4 for an Amazon Web Services CodeCommit repository, and * SSH for GitLab and Bitbucket repositories.

@@ -807,7 +806,7 @@ export interface CreateBranchRequest { /** * @public *

Enables performance mode for the branch.

- *

Performance mode optimizes for faster hosting performance by keeping content cached at + *

Performance mode optimizes for faster hosting performance by keeping content cached at * the edge for a longer interval. When performance mode is enabled, hosting configuration * or code changes can take up to 10 minutes to roll out.

*/ @@ -961,7 +960,7 @@ export interface Branch { /** * @public *

Enables performance mode for the branch.

- *

Performance mode optimizes for faster hosting performance by keeping content cached at + *

Performance mode optimizes for faster hosting performance by keeping content cached at * the edge for a longer interval. When performance mode is enabled, hosting configuration * or code changes can take up to 10 minutes to roll out.

*/ @@ -2688,13 +2687,13 @@ export interface UpdateAppRequest { *

The OAuth token for a third-party source control system for an Amplify app. The OAuth * token is used to create a webhook and a read-only deploy key using SSH cloning. The * OAuth token is not stored.

- *

Use oauthToken for repository providers other than GitHub, such as + *

Use oauthToken for repository providers other than GitHub, such as * Bitbucket or CodeCommit.

- *

To authorize access to GitHub as your repository provider, use + *

To authorize access to GitHub as your repository provider, use * accessToken.

- *

You must specify either oauthToken or accessToken when you + *

You must specify either oauthToken or accessToken when you * update an app.

- *

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work + *

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work * with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub * App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the * Amplify User Guide .

@@ -2706,11 +2705,11 @@ export interface UpdateAppRequest { *

The personal access token for a GitHub repository for an Amplify app. The personal * access token is used to authorize access to a GitHub repository using the Amplify GitHub * App. The token is not stored.

- *

Use accessToken for GitHub repositories only. To authorize access to a + *

Use accessToken for GitHub repositories only. To authorize access to a * repository provider such as Bitbucket or CodeCommit, use oauthToken.

- *

You must specify either accessToken or oauthToken when you + *

You must specify either accessToken or oauthToken when you * update an app.

- *

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work + *

Existing Amplify apps deployed from a GitHub repository using OAuth continue to work * with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub * App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the * Amplify User Guide .

@@ -2800,7 +2799,7 @@ export interface UpdateBranchRequest { /** * @public *

Enables performance mode for the branch.

- *

Performance mode optimizes for faster hosting performance by keeping content cached at + *

Performance mode optimizes for faster hosting performance by keeping content cached at * the edge for a longer interval. When performance mode is enabled, hosting configuration * or code changes can take up to 10 minutes to roll out.

*/ diff --git a/clients/client-apigatewaymanagementapi/src/endpoint/ruleset.ts b/clients/client-apigatewaymanagementapi/src/endpoint/ruleset.ts index 2cca43abf64c2..ad716191fd0b4 100644 --- a/clients/client-apigatewaymanagementapi/src/endpoint/ruleset.ts +++ b/clients/client-apigatewaymanagementapi/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/apigatewaymanagementapi.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://execute-api-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://execute-api-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://execute-api.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://execute-api.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://execute-api-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://execute-api-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://execute-api.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://execute-api.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-apigatewayv2/src/endpoint/ruleset.ts b/clients/client-apigatewayv2/src/endpoint/ruleset.ts index f4dd415e0e4e9..691b0ae1e671a 100644 --- a/clients/client-apigatewayv2/src/endpoint/ruleset.ts +++ b/clients/client-apigatewayv2/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://apigateway-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://apigateway-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://apigateway.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://apigateway.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://apigateway-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://apigateway-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://apigateway.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://apigateway.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-app-mesh/src/endpoint/ruleset.ts b/clients/client-app-mesh/src/endpoint/ruleset.ts index 1fa67b8c8938f..302990a2c938c 100644 --- a/clients/client-app-mesh/src/endpoint/ruleset.ts +++ b/clients/client-app-mesh/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/app-mesh.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://appmesh-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://appmesh-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://appmesh.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://appmesh.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://appmesh-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://appmesh-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://appmesh.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://appmesh.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-appconfig/src/endpoint/ruleset.ts b/clients/client-appconfig/src/endpoint/ruleset.ts index 945ac804834a6..91cf7db105246 100644 --- a/clients/client-appconfig/src/endpoint/ruleset.ts +++ b/clients/client-appconfig/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:"getAttr",[u]:[{[v]:e},"supportsDualStack" p=[j], q=[k], r=[m]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[n,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://appconfig-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[n],type:b,rules:[{type:b,rules:[{conditions:[{[t]:f,[u]:[m,"us-gov-east-1"]}],endpoint:{url:"https://appconfig.us-gov-east-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[t]:f,[u]:[m,"us-gov-west-1"]}],endpoint:{url:"https://appconfig.us-gov-west-1.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://appconfig-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://appconfig.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://appconfig.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[n,o],type:b,rules:[{endpoint:{url:"https://appconfig-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[n],type:b,rules:[{conditions:[{[t]:f,[u]:[m,"us-gov-east-1"]}],endpoint:{url:"https://appconfig.us-gov-east-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[t]:f,[u]:[m,"us-gov-west-1"]}],endpoint:{url:"https://appconfig.us-gov-west-1.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://appconfig-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://appconfig.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://appconfig.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-appconfigdata/src/endpoint/ruleset.ts b/clients/client-appconfigdata/src/endpoint/ruleset.ts index 44f22d94cf3d6..b43c38de6acad 100644 --- a/clients/client-appconfigdata/src/endpoint/ruleset.ts +++ b/clients/client-appconfigdata/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://appconfigdata-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://appconfigdata-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://appconfigdata.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://appconfigdata.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://appconfigdata-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://appconfigdata-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://appconfigdata.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://appconfigdata.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-appintegrations/src/endpoint/ruleset.ts b/clients/client-appintegrations/src/endpoint/ruleset.ts index 1778ec1f70923..b166a206e1ff0 100644 --- a/clients/client-appintegrations/src/endpoint/ruleset.ts +++ b/clients/client-appintegrations/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://app-integrations-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://app-integrations-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://app-integrations.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://app-integrations.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://app-integrations-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://app-integrations-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://app-integrations.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://app-integrations.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-application-auto-scaling/src/endpoint/ruleset.ts b/clients/client-application-auto-scaling/src/endpoint/ruleset.ts index 854d379659273..36e87967b50b8 100644 --- a/clients/client-application-auto-scaling/src/endpoint/ruleset.ts +++ b/clients/client-application-auto-scaling/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, p=[j], q=[k], r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://application-autoscaling-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://application-autoscaling.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://application-autoscaling-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://application-autoscaling.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://application-autoscaling.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://application-autoscaling-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://application-autoscaling.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://application-autoscaling-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://application-autoscaling.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://application-autoscaling.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-application-discovery-service/src/endpoint/ruleset.ts b/clients/client-application-discovery-service/src/endpoint/ruleset.ts index 1b0fbf60760f2..591322a8ea983 100644 --- a/clients/client-application-discovery-service/src/endpoint/ruleset.ts +++ b/clients/client-application-discovery-service/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://discovery-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://discovery-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://discovery.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://discovery.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://discovery-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://discovery-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://discovery.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://discovery.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-application-insights/src/endpoint/ruleset.ts b/clients/client-application-insights/src/endpoint/ruleset.ts index caf89905001cc..4eac861d39ba4 100644 --- a/clients/client-application-insights/src/endpoint/ruleset.ts +++ b/clients/client-application-insights/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://applicationinsights-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://applicationinsights-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://applicationinsights.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://applicationinsights.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://applicationinsights-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://applicationinsights-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://applicationinsights.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://applicationinsights.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-applicationcostprofiler/src/commands/GetReportDefinitionCommand.ts b/clients/client-applicationcostprofiler/src/commands/GetReportDefinitionCommand.ts index 6cd889f4b9709..f0380778a4418 100644 --- a/clients/client-applicationcostprofiler/src/commands/GetReportDefinitionCommand.ts +++ b/clients/client-applicationcostprofiler/src/commands/GetReportDefinitionCommand.ts @@ -55,8 +55,8 @@ export interface GetReportDefinitionCommandOutput extends GetReportDefinitionRes * // { // GetReportDefinitionResult * // reportId: "STRING_VALUE", // required * // reportDescription: "STRING_VALUE", // required - * // reportFrequency: "STRING_VALUE", // required - * // format: "STRING_VALUE", // required + * // reportFrequency: "MONTHLY" || "DAILY" || "ALL", // required + * // format: "CSV" || "PARQUET", // required * // destinationS3Location: { // S3Location * // bucket: "STRING_VALUE", // required * // prefix: "STRING_VALUE", // required diff --git a/clients/client-applicationcostprofiler/src/commands/ImportApplicationUsageCommand.ts b/clients/client-applicationcostprofiler/src/commands/ImportApplicationUsageCommand.ts index bb377a6d8e894..12fc691bd6031 100644 --- a/clients/client-applicationcostprofiler/src/commands/ImportApplicationUsageCommand.ts +++ b/clients/client-applicationcostprofiler/src/commands/ImportApplicationUsageCommand.ts @@ -54,7 +54,7 @@ export interface ImportApplicationUsageCommandOutput extends ImportApplicationUs * sourceS3Location: { // SourceS3Location * bucket: "STRING_VALUE", // required * key: "STRING_VALUE", // required - * region: "STRING_VALUE", + * region: "ap-east-1" || "me-south-1" || "eu-south-1" || "af-south-1", * }, * }; * const command = new ImportApplicationUsageCommand(input); diff --git a/clients/client-applicationcostprofiler/src/commands/ListReportDefinitionsCommand.ts b/clients/client-applicationcostprofiler/src/commands/ListReportDefinitionsCommand.ts index 4712129151baa..4a065f4176ed1 100644 --- a/clients/client-applicationcostprofiler/src/commands/ListReportDefinitionsCommand.ts +++ b/clients/client-applicationcostprofiler/src/commands/ListReportDefinitionsCommand.ts @@ -59,8 +59,8 @@ export interface ListReportDefinitionsCommandOutput extends ListReportDefinition * // { // ReportDefinition * // reportId: "STRING_VALUE", * // reportDescription: "STRING_VALUE", - * // reportFrequency: "STRING_VALUE", - * // format: "STRING_VALUE", + * // reportFrequency: "MONTHLY" || "DAILY" || "ALL", + * // format: "CSV" || "PARQUET", * // destinationS3Location: { // S3Location * // bucket: "STRING_VALUE", // required * // prefix: "STRING_VALUE", // required diff --git a/clients/client-applicationcostprofiler/src/commands/PutReportDefinitionCommand.ts b/clients/client-applicationcostprofiler/src/commands/PutReportDefinitionCommand.ts index 8962b0a91be6e..45325d086ed6e 100644 --- a/clients/client-applicationcostprofiler/src/commands/PutReportDefinitionCommand.ts +++ b/clients/client-applicationcostprofiler/src/commands/PutReportDefinitionCommand.ts @@ -50,8 +50,8 @@ export interface PutReportDefinitionCommandOutput extends PutReportDefinitionRes * const input = { // PutReportDefinitionRequest * reportId: "STRING_VALUE", // required * reportDescription: "STRING_VALUE", // required - * reportFrequency: "STRING_VALUE", // required - * format: "STRING_VALUE", // required + * reportFrequency: "MONTHLY" || "DAILY" || "ALL", // required + * format: "CSV" || "PARQUET", // required * destinationS3Location: { // S3Location * bucket: "STRING_VALUE", // required * prefix: "STRING_VALUE", // required diff --git a/clients/client-applicationcostprofiler/src/commands/UpdateReportDefinitionCommand.ts b/clients/client-applicationcostprofiler/src/commands/UpdateReportDefinitionCommand.ts index 2443a24f55321..8bcf40225453c 100644 --- a/clients/client-applicationcostprofiler/src/commands/UpdateReportDefinitionCommand.ts +++ b/clients/client-applicationcostprofiler/src/commands/UpdateReportDefinitionCommand.ts @@ -50,8 +50,8 @@ export interface UpdateReportDefinitionCommandOutput extends UpdateReportDefinit * const input = { // UpdateReportDefinitionRequest * reportId: "STRING_VALUE", // required * reportDescription: "STRING_VALUE", // required - * reportFrequency: "STRING_VALUE", // required - * format: "STRING_VALUE", // required + * reportFrequency: "MONTHLY" || "DAILY" || "ALL", // required + * format: "CSV" || "PARQUET", // required * destinationS3Location: { // S3Location * bucket: "STRING_VALUE", // required * prefix: "STRING_VALUE", // required diff --git a/clients/client-applicationcostprofiler/src/endpoint/ruleset.ts b/clients/client-applicationcostprofiler/src/endpoint/ruleset.ts index 55f53fb0ad5ba..46b3653e591a6 100644 --- a/clients/client-applicationcostprofiler/src/endpoint/ruleset.ts +++ b/clients/client-applicationcostprofiler/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/applicationcostprofiler.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://application-cost-profiler-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://application-cost-profiler-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://application-cost-profiler.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://application-cost-profiler.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://application-cost-profiler-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://application-cost-profiler-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://application-cost-profiler.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://application-cost-profiler.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-appstream/src/endpoint/ruleset.ts b/clients/client-appstream/src/endpoint/ruleset.ts index 57f55ab2513ba..4132aa189059c 100644 --- a/clients/client-appstream/src/endpoint/ruleset.ts +++ b/clients/client-appstream/src/endpoint/ruleset.ts @@ -29,5 +29,5 @@ p={"url":"https://appstream2.{Region}.amazonaws.com","properties":{},"headers":{ q=[j], r=[k], s=[{[w]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[u]:a,[v]:[i]}],type:b,rules:[{conditions:q,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:r,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[u]:a,[v]:s}],type:b,rules:[{conditions:[{[u]:"aws.partition",[v]:s,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,n],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://appstream2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:q,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://appstream2-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:r,type:b,rules:[{conditions:[n],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://appstream2.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{conditions:[{[u]:f,[v]:["aws",o]}],endpoint:p,type:d},{conditions:[{[u]:f,[v]:["aws-us-gov",o]}],endpoint:p,type:d},{endpoint:{url:"https://appstream2.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[u]:a,[v]:[i]}],type:b,rules:[{conditions:q,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:r,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[u]:a,[v]:s}],type:b,rules:[{conditions:[{[u]:"aws.partition",[v]:s,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,n],type:b,rules:[{endpoint:{url:"https://appstream2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:q,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://appstream2-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:r,type:b,rules:[{conditions:[n],type:b,rules:[{endpoint:{url:"https://appstream2.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{conditions:[{[u]:f,[v]:["aws",o]}],endpoint:p,type:d},{conditions:[{[u]:f,[v]:["aws-us-gov",o]}],endpoint:p,type:d},{endpoint:{url:"https://appstream2.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-appsync/src/endpoint/ruleset.ts b/clients/client-appsync/src/endpoint/ruleset.ts index 7fbe0faa38eba..dd36748cf55bf 100644 --- a/clients/client-appsync/src/endpoint/ruleset.ts +++ b/clients/client-appsync/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://appsync-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://appsync-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://appsync.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://appsync.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://appsync-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://appsync-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://appsync.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://appsync.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-arc-zonal-shift/src/endpoint/EndpointParameters.ts b/clients/client-arc-zonal-shift/src/endpoint/EndpointParameters.ts index 5e68fcfd3c566..4591533406a54 100644 --- a/clients/client-arc-zonal-shift/src/endpoint/EndpointParameters.ts +++ b/clients/client-arc-zonal-shift/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-arc-zonal-shift/src/endpoint/ruleset.ts b/clients/client-arc-zonal-shift/src/endpoint/ruleset.ts index a3254229f8eea..9003545089311 100644 --- a/clients/client-arc-zonal-shift/src/endpoint/ruleset.ts +++ b/clients/client-arc-zonal-shift/src/endpoint/ruleset.ts @@ -6,25 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/arc-zonal-shift.json */ -const r="fn", +const q="required", +r="fn", s="argv", t="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h={"required":true,"default":false,"type":"Boolean"}, -i={[t]:"Endpoint"}, -j={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, -k={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, -l={}, -m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:d},"supportsFIPS"]}]}, -n={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:d},"supportsDualStack"]}]}, -o=[i], -p=[j], -q=[k]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[r]:"aws.partition",[s]:[{[t]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[r]:"isSet",[s]:o},{[r]:"parseURL",[s]:o,assign:"url"}],type:e,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{endpoint:{url:"https://arc-zonal-shift-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:p,type:e,rules:[{conditions:[m],type:e,rules:[{endpoint:{url:"https://arc-zonal-shift-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:q,type:e,rules:[{conditions:[n],type:e,rules:[{endpoint:{url:"https://arc-zonal-shift.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{endpoint:{url:"https://arc-zonal-shift.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]}; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://arc-zonal-shift-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://arc-zonal-shift-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://arc-zonal-shift.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://arc-zonal-shift.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-athena/src/endpoint/ruleset.ts b/clients/client-athena/src/endpoint/ruleset.ts index 5f566239fd944..8dee5bd9b3c50 100644 --- a/clients/client-athena/src/endpoint/ruleset.ts +++ b/clients/client-athena/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://athena-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://athena-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://athena.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://athena.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://athena-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://athena-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://athena.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://athena.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-auto-scaling-plans/src/commands/CreateScalingPlanCommand.ts b/clients/client-auto-scaling-plans/src/commands/CreateScalingPlanCommand.ts index fffbca5347697..c0aca6513f9bf 100644 --- a/clients/client-auto-scaling-plans/src/commands/CreateScalingPlanCommand.ts +++ b/clients/client-auto-scaling-plans/src/commands/CreateScalingPlanCommand.ts @@ -58,15 +58,15 @@ export interface CreateScalingPlanCommandOutput extends CreateScalingPlanRespons * }, * ScalingInstructions: [ // ScalingInstructions // required * { // ScalingInstruction - * ServiceNamespace: "STRING_VALUE", // required + * ServiceNamespace: "autoscaling" || "ecs" || "ec2" || "rds" || "dynamodb", // required * ResourceId: "STRING_VALUE", // required - * ScalableDimension: "STRING_VALUE", // required + * ScalableDimension: "autoscaling:autoScalingGroup:DesiredCapacity" || "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "rds:cluster:ReadReplicaCount" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits", // required * MinCapacity: Number("int"), // required * MaxCapacity: Number("int"), // required * TargetTrackingConfigurations: [ // TargetTrackingConfigurations // required * { // TargetTrackingConfiguration * PredefinedScalingMetricSpecification: { // PredefinedScalingMetricSpecification - * PredefinedScalingMetricType: "STRING_VALUE", // required + * PredefinedScalingMetricType: "ASGAverageCPUUtilization" || "ASGAverageNetworkIn" || "ASGAverageNetworkOut" || "DynamoDBReadCapacityUtilization" || "DynamoDBWriteCapacityUtilization" || "ECSServiceAverageCPUUtilization" || "ECSServiceAverageMemoryUtilization" || "ALBRequestCountPerTarget" || "RDSReaderAverageCPUUtilization" || "RDSReaderAverageDatabaseConnections" || "EC2SpotFleetRequestAverageCPUUtilization" || "EC2SpotFleetRequestAverageNetworkIn" || "EC2SpotFleetRequestAverageNetworkOut", // required * ResourceLabel: "STRING_VALUE", * }, * CustomizedScalingMetricSpecification: { // CustomizedScalingMetricSpecification @@ -78,7 +78,7 @@ export interface CreateScalingPlanCommandOutput extends CreateScalingPlanRespons * Value: "STRING_VALUE", // required * }, * ], - * Statistic: "STRING_VALUE", // required + * Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum", // required * Unit: "STRING_VALUE", * }, * TargetValue: Number("double"), // required @@ -89,7 +89,7 @@ export interface CreateScalingPlanCommandOutput extends CreateScalingPlanRespons * }, * ], * PredefinedLoadMetricSpecification: { // PredefinedLoadMetricSpecification - * PredefinedLoadMetricType: "STRING_VALUE", // required + * PredefinedLoadMetricType: "ASGTotalCPUUtilization" || "ASGTotalNetworkIn" || "ASGTotalNetworkOut" || "ALBTargetGroupRequestCount", // required * ResourceLabel: "STRING_VALUE", * }, * CustomizedLoadMetricSpecification: { // CustomizedLoadMetricSpecification @@ -101,14 +101,14 @@ export interface CreateScalingPlanCommandOutput extends CreateScalingPlanRespons * Value: "STRING_VALUE", // required * }, * ], - * Statistic: "STRING_VALUE", // required + * Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum", // required * Unit: "STRING_VALUE", * }, * ScheduledActionBufferTime: Number("int"), - * PredictiveScalingMaxCapacityBehavior: "STRING_VALUE", + * PredictiveScalingMaxCapacityBehavior: "SetForecastCapacityToMaxCapacity" || "SetMaxCapacityToForecastCapacity" || "SetMaxCapacityAboveForecastCapacity", * PredictiveScalingMaxCapacityBuffer: Number("int"), - * PredictiveScalingMode: "STRING_VALUE", - * ScalingPolicyUpdateBehavior: "STRING_VALUE", + * PredictiveScalingMode: "ForecastAndScale" || "ForecastOnly", + * ScalingPolicyUpdateBehavior: "KeepExternalPolicies" || "ReplaceExternalPolicies", * DisableDynamicScaling: true || false, * }, * ], diff --git a/clients/client-auto-scaling-plans/src/commands/DescribeScalingPlanResourcesCommand.ts b/clients/client-auto-scaling-plans/src/commands/DescribeScalingPlanResourcesCommand.ts index a7b2ecc663f6b..e0ef3dff30faf 100644 --- a/clients/client-auto-scaling-plans/src/commands/DescribeScalingPlanResourcesCommand.ts +++ b/clients/client-auto-scaling-plans/src/commands/DescribeScalingPlanResourcesCommand.ts @@ -61,16 +61,16 @@ export interface DescribeScalingPlanResourcesCommandOutput * // { // ScalingPlanResource * // ScalingPlanName: "STRING_VALUE", // required * // ScalingPlanVersion: Number("long"), // required - * // ServiceNamespace: "STRING_VALUE", // required + * // ServiceNamespace: "autoscaling" || "ecs" || "ec2" || "rds" || "dynamodb", // required * // ResourceId: "STRING_VALUE", // required - * // ScalableDimension: "STRING_VALUE", // required + * // ScalableDimension: "autoscaling:autoScalingGroup:DesiredCapacity" || "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "rds:cluster:ReadReplicaCount" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits", // required * // ScalingPolicies: [ // ScalingPolicies * // { // ScalingPolicy * // PolicyName: "STRING_VALUE", // required - * // PolicyType: "STRING_VALUE", // required + * // PolicyType: "TargetTrackingScaling", // required * // TargetTrackingConfiguration: { // TargetTrackingConfiguration * // PredefinedScalingMetricSpecification: { // PredefinedScalingMetricSpecification - * // PredefinedScalingMetricType: "STRING_VALUE", // required + * // PredefinedScalingMetricType: "ASGAverageCPUUtilization" || "ASGAverageNetworkIn" || "ASGAverageNetworkOut" || "DynamoDBReadCapacityUtilization" || "DynamoDBWriteCapacityUtilization" || "ECSServiceAverageCPUUtilization" || "ECSServiceAverageMemoryUtilization" || "ALBRequestCountPerTarget" || "RDSReaderAverageCPUUtilization" || "RDSReaderAverageDatabaseConnections" || "EC2SpotFleetRequestAverageCPUUtilization" || "EC2SpotFleetRequestAverageNetworkIn" || "EC2SpotFleetRequestAverageNetworkOut", // required * // ResourceLabel: "STRING_VALUE", * // }, * // CustomizedScalingMetricSpecification: { // CustomizedScalingMetricSpecification @@ -82,7 +82,7 @@ export interface DescribeScalingPlanResourcesCommandOutput * // Value: "STRING_VALUE", // required * // }, * // ], - * // Statistic: "STRING_VALUE", // required + * // Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum", // required * // Unit: "STRING_VALUE", * // }, * // TargetValue: Number("double"), // required @@ -93,7 +93,7 @@ export interface DescribeScalingPlanResourcesCommandOutput * // }, * // }, * // ], - * // ScalingStatusCode: "STRING_VALUE", // required + * // ScalingStatusCode: "Inactive" || "PartiallyActive" || "Active", // required * // ScalingStatusMessage: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-auto-scaling-plans/src/commands/DescribeScalingPlansCommand.ts b/clients/client-auto-scaling-plans/src/commands/DescribeScalingPlansCommand.ts index f59ef06b70632..d411e79292f7d 100644 --- a/clients/client-auto-scaling-plans/src/commands/DescribeScalingPlansCommand.ts +++ b/clients/client-auto-scaling-plans/src/commands/DescribeScalingPlansCommand.ts @@ -84,15 +84,15 @@ export interface DescribeScalingPlansCommandOutput extends DescribeScalingPlansR * // }, * // ScalingInstructions: [ // ScalingInstructions // required * // { // ScalingInstruction - * // ServiceNamespace: "STRING_VALUE", // required + * // ServiceNamespace: "autoscaling" || "ecs" || "ec2" || "rds" || "dynamodb", // required * // ResourceId: "STRING_VALUE", // required - * // ScalableDimension: "STRING_VALUE", // required + * // ScalableDimension: "autoscaling:autoScalingGroup:DesiredCapacity" || "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "rds:cluster:ReadReplicaCount" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits", // required * // MinCapacity: Number("int"), // required * // MaxCapacity: Number("int"), // required * // TargetTrackingConfigurations: [ // TargetTrackingConfigurations // required * // { // TargetTrackingConfiguration * // PredefinedScalingMetricSpecification: { // PredefinedScalingMetricSpecification - * // PredefinedScalingMetricType: "STRING_VALUE", // required + * // PredefinedScalingMetricType: "ASGAverageCPUUtilization" || "ASGAverageNetworkIn" || "ASGAverageNetworkOut" || "DynamoDBReadCapacityUtilization" || "DynamoDBWriteCapacityUtilization" || "ECSServiceAverageCPUUtilization" || "ECSServiceAverageMemoryUtilization" || "ALBRequestCountPerTarget" || "RDSReaderAverageCPUUtilization" || "RDSReaderAverageDatabaseConnections" || "EC2SpotFleetRequestAverageCPUUtilization" || "EC2SpotFleetRequestAverageNetworkIn" || "EC2SpotFleetRequestAverageNetworkOut", // required * // ResourceLabel: "STRING_VALUE", * // }, * // CustomizedScalingMetricSpecification: { // CustomizedScalingMetricSpecification @@ -104,7 +104,7 @@ export interface DescribeScalingPlansCommandOutput extends DescribeScalingPlansR * // Value: "STRING_VALUE", // required * // }, * // ], - * // Statistic: "STRING_VALUE", // required + * // Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum", // required * // Unit: "STRING_VALUE", * // }, * // TargetValue: Number("double"), // required @@ -115,7 +115,7 @@ export interface DescribeScalingPlansCommandOutput extends DescribeScalingPlansR * // }, * // ], * // PredefinedLoadMetricSpecification: { // PredefinedLoadMetricSpecification - * // PredefinedLoadMetricType: "STRING_VALUE", // required + * // PredefinedLoadMetricType: "ASGTotalCPUUtilization" || "ASGTotalNetworkIn" || "ASGTotalNetworkOut" || "ALBTargetGroupRequestCount", // required * // ResourceLabel: "STRING_VALUE", * // }, * // CustomizedLoadMetricSpecification: { // CustomizedLoadMetricSpecification @@ -127,18 +127,18 @@ export interface DescribeScalingPlansCommandOutput extends DescribeScalingPlansR * // Value: "STRING_VALUE", // required * // }, * // ], - * // Statistic: "STRING_VALUE", // required + * // Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum", // required * // Unit: "STRING_VALUE", * // }, * // ScheduledActionBufferTime: Number("int"), - * // PredictiveScalingMaxCapacityBehavior: "STRING_VALUE", + * // PredictiveScalingMaxCapacityBehavior: "SetForecastCapacityToMaxCapacity" || "SetMaxCapacityToForecastCapacity" || "SetMaxCapacityAboveForecastCapacity", * // PredictiveScalingMaxCapacityBuffer: Number("int"), - * // PredictiveScalingMode: "STRING_VALUE", - * // ScalingPolicyUpdateBehavior: "STRING_VALUE", + * // PredictiveScalingMode: "ForecastAndScale" || "ForecastOnly", + * // ScalingPolicyUpdateBehavior: "KeepExternalPolicies" || "ReplaceExternalPolicies", * // DisableDynamicScaling: true || false, * // }, * // ], - * // StatusCode: "STRING_VALUE", // required + * // StatusCode: "Active" || "ActiveWithProblems" || "CreationInProgress" || "CreationFailed" || "DeletionInProgress" || "DeletionFailed" || "UpdateInProgress" || "UpdateFailed", // required * // StatusMessage: "STRING_VALUE", * // StatusStartTime: new Date("TIMESTAMP"), * // CreationTime: new Date("TIMESTAMP"), diff --git a/clients/client-auto-scaling-plans/src/commands/GetScalingPlanResourceForecastDataCommand.ts b/clients/client-auto-scaling-plans/src/commands/GetScalingPlanResourceForecastDataCommand.ts index 71fcaae2a2b3c..1f0901b470b15 100644 --- a/clients/client-auto-scaling-plans/src/commands/GetScalingPlanResourceForecastDataCommand.ts +++ b/clients/client-auto-scaling-plans/src/commands/GetScalingPlanResourceForecastDataCommand.ts @@ -57,10 +57,10 @@ export interface GetScalingPlanResourceForecastDataCommandOutput * const input = { // GetScalingPlanResourceForecastDataRequest * ScalingPlanName: "STRING_VALUE", // required * ScalingPlanVersion: Number("long"), // required - * ServiceNamespace: "STRING_VALUE", // required + * ServiceNamespace: "autoscaling" || "ecs" || "ec2" || "rds" || "dynamodb", // required * ResourceId: "STRING_VALUE", // required - * ScalableDimension: "STRING_VALUE", // required - * ForecastDataType: "STRING_VALUE", // required + * ScalableDimension: "autoscaling:autoScalingGroup:DesiredCapacity" || "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "rds:cluster:ReadReplicaCount" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits", // required + * ForecastDataType: "CapacityForecast" || "LoadForecast" || "ScheduledActionMinCapacity" || "ScheduledActionMaxCapacity", // required * StartTime: new Date("TIMESTAMP"), // required * EndTime: new Date("TIMESTAMP"), // required * }; diff --git a/clients/client-auto-scaling-plans/src/commands/UpdateScalingPlanCommand.ts b/clients/client-auto-scaling-plans/src/commands/UpdateScalingPlanCommand.ts index ccc57536e2d2d..bd497b397169a 100644 --- a/clients/client-auto-scaling-plans/src/commands/UpdateScalingPlanCommand.ts +++ b/clients/client-auto-scaling-plans/src/commands/UpdateScalingPlanCommand.ts @@ -61,15 +61,15 @@ export interface UpdateScalingPlanCommandOutput extends UpdateScalingPlanRespons * }, * ScalingInstructions: [ // ScalingInstructions * { // ScalingInstruction - * ServiceNamespace: "STRING_VALUE", // required + * ServiceNamespace: "autoscaling" || "ecs" || "ec2" || "rds" || "dynamodb", // required * ResourceId: "STRING_VALUE", // required - * ScalableDimension: "STRING_VALUE", // required + * ScalableDimension: "autoscaling:autoScalingGroup:DesiredCapacity" || "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "rds:cluster:ReadReplicaCount" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits", // required * MinCapacity: Number("int"), // required * MaxCapacity: Number("int"), // required * TargetTrackingConfigurations: [ // TargetTrackingConfigurations // required * { // TargetTrackingConfiguration * PredefinedScalingMetricSpecification: { // PredefinedScalingMetricSpecification - * PredefinedScalingMetricType: "STRING_VALUE", // required + * PredefinedScalingMetricType: "ASGAverageCPUUtilization" || "ASGAverageNetworkIn" || "ASGAverageNetworkOut" || "DynamoDBReadCapacityUtilization" || "DynamoDBWriteCapacityUtilization" || "ECSServiceAverageCPUUtilization" || "ECSServiceAverageMemoryUtilization" || "ALBRequestCountPerTarget" || "RDSReaderAverageCPUUtilization" || "RDSReaderAverageDatabaseConnections" || "EC2SpotFleetRequestAverageCPUUtilization" || "EC2SpotFleetRequestAverageNetworkIn" || "EC2SpotFleetRequestAverageNetworkOut", // required * ResourceLabel: "STRING_VALUE", * }, * CustomizedScalingMetricSpecification: { // CustomizedScalingMetricSpecification @@ -81,7 +81,7 @@ export interface UpdateScalingPlanCommandOutput extends UpdateScalingPlanRespons * Value: "STRING_VALUE", // required * }, * ], - * Statistic: "STRING_VALUE", // required + * Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum", // required * Unit: "STRING_VALUE", * }, * TargetValue: Number("double"), // required @@ -92,7 +92,7 @@ export interface UpdateScalingPlanCommandOutput extends UpdateScalingPlanRespons * }, * ], * PredefinedLoadMetricSpecification: { // PredefinedLoadMetricSpecification - * PredefinedLoadMetricType: "STRING_VALUE", // required + * PredefinedLoadMetricType: "ASGTotalCPUUtilization" || "ASGTotalNetworkIn" || "ASGTotalNetworkOut" || "ALBTargetGroupRequestCount", // required * ResourceLabel: "STRING_VALUE", * }, * CustomizedLoadMetricSpecification: { // CustomizedLoadMetricSpecification @@ -104,14 +104,14 @@ export interface UpdateScalingPlanCommandOutput extends UpdateScalingPlanRespons * Value: "STRING_VALUE", // required * }, * ], - * Statistic: "STRING_VALUE", // required + * Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum", // required * Unit: "STRING_VALUE", * }, * ScheduledActionBufferTime: Number("int"), - * PredictiveScalingMaxCapacityBehavior: "STRING_VALUE", + * PredictiveScalingMaxCapacityBehavior: "SetForecastCapacityToMaxCapacity" || "SetMaxCapacityToForecastCapacity" || "SetMaxCapacityAboveForecastCapacity", * PredictiveScalingMaxCapacityBuffer: Number("int"), - * PredictiveScalingMode: "STRING_VALUE", - * ScalingPolicyUpdateBehavior: "STRING_VALUE", + * PredictiveScalingMode: "ForecastAndScale" || "ForecastOnly", + * ScalingPolicyUpdateBehavior: "KeepExternalPolicies" || "ReplaceExternalPolicies", * DisableDynamicScaling: true || false, * }, * ], diff --git a/clients/client-auto-scaling-plans/src/endpoint/ruleset.ts b/clients/client-auto-scaling-plans/src/endpoint/ruleset.ts index 2f9b19e8deab8..4a9955fb1ff69 100644 --- a/clients/client-auto-scaling-plans/src/endpoint/ruleset.ts +++ b/clients/client-auto-scaling-plans/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/auto-scaling-plans.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://autoscaling-plans-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://autoscaling-plans-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://autoscaling-plans.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://autoscaling-plans.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://autoscaling-plans-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://autoscaling-plans-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://autoscaling-plans.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://autoscaling-plans.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-backup-gateway/src/endpoint/EndpointParameters.ts b/clients/client-backup-gateway/src/endpoint/EndpointParameters.ts index 6baab51594ea6..0fb7e1c8f678b 100644 --- a/clients/client-backup-gateway/src/endpoint/EndpointParameters.ts +++ b/clients/client-backup-gateway/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-backup-gateway/src/endpoint/ruleset.ts b/clients/client-backup-gateway/src/endpoint/ruleset.ts index 6491d5a434fa1..2a80c2bb7e30e 100644 --- a/clients/client-backup-gateway/src/endpoint/ruleset.ts +++ b/clients/client-backup-gateway/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/backup-gateway.json */ -const q="fn", -r="argv", -s="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h={"required":true,"default":false,"type":"Boolean"}, -i={[s]:"Endpoint"}, -j={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -k={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -l={}, -m={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsFIPS"]}]}, -n={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsDualStack"]}]}, +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], o=[j], -p=[k]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[q]:"isSet",[r]:[i]}],type:e,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{endpoint:{url:"https://backup-gateway-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:o,type:e,rules:[{conditions:[m],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://backup-gateway-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:p,type:e,rules:[{conditions:[n],type:e,rules:[{endpoint:{url:"https://backup-gateway.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{endpoint:{url:"https://backup-gateway.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]}; +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://backup-gateway-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://backup-gateway-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://backup-gateway.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://backup-gateway.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-backupstorage/src/commands/GetChunkCommand.ts b/clients/client-backupstorage/src/commands/GetChunkCommand.ts index cc147c440947f..19b8bf9e7eb75 100644 --- a/clients/client-backupstorage/src/commands/GetChunkCommand.ts +++ b/clients/client-backupstorage/src/commands/GetChunkCommand.ts @@ -57,7 +57,7 @@ export interface GetChunkCommandOutput extends Omit, __M * // Data: "STREAMING_BLOB_VALUE", // required * // Length: Number("long"), // required * // Checksum: "STRING_VALUE", // required - * // ChecksumAlgorithm: "STRING_VALUE", // required + * // ChecksumAlgorithm: "SHA256", // required * // }; * * ``` diff --git a/clients/client-backupstorage/src/commands/GetObjectMetadataCommand.ts b/clients/client-backupstorage/src/commands/GetObjectMetadataCommand.ts index 738cf74c82182..d3f4bbc7389b7 100644 --- a/clients/client-backupstorage/src/commands/GetObjectMetadataCommand.ts +++ b/clients/client-backupstorage/src/commands/GetObjectMetadataCommand.ts @@ -64,7 +64,7 @@ export interface GetObjectMetadataCommandOutput * // MetadataBlob: "STREAMING_BLOB_VALUE", * // MetadataBlobLength: Number("long"), * // MetadataBlobChecksum: "STRING_VALUE", - * // MetadataBlobChecksumAlgorithm: "STRING_VALUE", + * // MetadataBlobChecksumAlgorithm: "SHA256", * // }; * * ``` diff --git a/clients/client-backupstorage/src/commands/ListChunksCommand.ts b/clients/client-backupstorage/src/commands/ListChunksCommand.ts index 3907d3a098e24..e5930843b698a 100644 --- a/clients/client-backupstorage/src/commands/ListChunksCommand.ts +++ b/clients/client-backupstorage/src/commands/ListChunksCommand.ts @@ -57,7 +57,7 @@ export interface ListChunksCommandOutput extends ListChunksOutput, __MetadataBea * // Index: Number("long"), // required * // Length: Number("long"), // required * // Checksum: "STRING_VALUE", // required - * // ChecksumAlgorithm: "STRING_VALUE", // required + * // ChecksumAlgorithm: "SHA256", // required * // ChunkToken: "STRING_VALUE", // required * // }, * // ], diff --git a/clients/client-backupstorage/src/commands/ListObjectsCommand.ts b/clients/client-backupstorage/src/commands/ListObjectsCommand.ts index e6b7681558e5f..3263469c6f531 100644 --- a/clients/client-backupstorage/src/commands/ListObjectsCommand.ts +++ b/clients/client-backupstorage/src/commands/ListObjectsCommand.ts @@ -61,7 +61,7 @@ export interface ListObjectsCommandOutput extends ListObjectsOutput, __MetadataB * // ChunksCount: Number("long"), * // MetadataString: "STRING_VALUE", * // ObjectChecksum: "STRING_VALUE", // required - * // ObjectChecksumAlgorithm: "STRING_VALUE", // required + * // ObjectChecksumAlgorithm: "SUMMARY", // required * // ObjectToken: "STRING_VALUE", // required * // }, * // ], diff --git a/clients/client-backupstorage/src/commands/NotifyObjectCompleteCommand.ts b/clients/client-backupstorage/src/commands/NotifyObjectCompleteCommand.ts index 0170484aa375c..4e9407ca4aee0 100644 --- a/clients/client-backupstorage/src/commands/NotifyObjectCompleteCommand.ts +++ b/clients/client-backupstorage/src/commands/NotifyObjectCompleteCommand.ts @@ -55,18 +55,18 @@ export interface NotifyObjectCompleteCommandOutput extends NotifyObjectCompleteO * BackupJobId: "STRING_VALUE", // required * UploadId: "STRING_VALUE", // required * ObjectChecksum: "STRING_VALUE", // required - * ObjectChecksumAlgorithm: "STRING_VALUE", // required + * ObjectChecksumAlgorithm: "SUMMARY", // required * MetadataString: "STRING_VALUE", * MetadataBlob: "STREAMING_BLOB_VALUE", * MetadataBlobLength: Number("long"), * MetadataBlobChecksum: "STRING_VALUE", - * MetadataBlobChecksumAlgorithm: "STRING_VALUE", + * MetadataBlobChecksumAlgorithm: "SHA256", * }; * const command = new NotifyObjectCompleteCommand(input); * const response = await client.send(command); * // { // NotifyObjectCompleteOutput * // ObjectChecksum: "STRING_VALUE", // required - * // ObjectChecksumAlgorithm: "STRING_VALUE", // required + * // ObjectChecksumAlgorithm: "SUMMARY", // required * // }; * * ``` diff --git a/clients/client-backupstorage/src/commands/PutChunkCommand.ts b/clients/client-backupstorage/src/commands/PutChunkCommand.ts index 0a5bba0029857..768403add4a3c 100644 --- a/clients/client-backupstorage/src/commands/PutChunkCommand.ts +++ b/clients/client-backupstorage/src/commands/PutChunkCommand.ts @@ -54,13 +54,13 @@ export interface PutChunkCommandOutput extends PutChunkOutput, __MetadataBearer * Data: "STREAMING_BLOB_VALUE", // required * Length: Number("long"), // required * Checksum: "STRING_VALUE", // required - * ChecksumAlgorithm: "STRING_VALUE", // required + * ChecksumAlgorithm: "SHA256", // required * }; * const command = new PutChunkCommand(input); * const response = await client.send(command); * // { // PutChunkOutput * // ChunkChecksum: "STRING_VALUE", // required - * // ChunkChecksumAlgorithm: "STRING_VALUE", // required + * // ChunkChecksumAlgorithm: "SHA256", // required * // }; * * ``` diff --git a/clients/client-backupstorage/src/commands/PutObjectCommand.ts b/clients/client-backupstorage/src/commands/PutObjectCommand.ts index d40c1335538d6..47b94c1aa3350 100644 --- a/clients/client-backupstorage/src/commands/PutObjectCommand.ts +++ b/clients/client-backupstorage/src/commands/PutObjectCommand.ts @@ -56,16 +56,16 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare * InlineChunkChecksum: "STRING_VALUE", * InlineChunkChecksumAlgorithm: "STRING_VALUE", * ObjectChecksum: "STRING_VALUE", - * ObjectChecksumAlgorithm: "STRING_VALUE", + * ObjectChecksumAlgorithm: "SUMMARY", * ThrowOnDuplicate: true || false, * }; * const command = new PutObjectCommand(input); * const response = await client.send(command); * // { // PutObjectOutput * // InlineChunkChecksum: "STRING_VALUE", // required - * // InlineChunkChecksumAlgorithm: "STRING_VALUE", // required + * // InlineChunkChecksumAlgorithm: "SHA256", // required * // ObjectChecksum: "STRING_VALUE", // required - * // ObjectChecksumAlgorithm: "STRING_VALUE", // required + * // ObjectChecksumAlgorithm: "SUMMARY", // required * // }; * * ``` diff --git a/clients/client-backupstorage/src/endpoint/ruleset.ts b/clients/client-backupstorage/src/endpoint/ruleset.ts index f451326c19b7c..17f2708fda6d4 100644 --- a/clients/client-backupstorage/src/endpoint/ruleset.ts +++ b/clients/client-backupstorage/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/backupstorage.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://backupstorage-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://backupstorage-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://backupstorage.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://backupstorage.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://backupstorage-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://backupstorage-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://backupstorage.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://backupstorage.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-batch/src/endpoint/ruleset.ts b/clients/client-batch/src/endpoint/ruleset.ts index f46bff05ac0ad..85fce73360a28 100644 --- a/clients/client-batch/src/endpoint/ruleset.ts +++ b/clients/client-batch/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"getAttr",[u]:[{[v]:e},"name"]}, p=[j], q=[k], r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,n],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://batch-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:f,[u]:["aws",o]}],endpoint:{url:"https://fips.batch.{Region}.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[t]:f,[u]:["aws-us-gov",o]}],endpoint:{url:"https://batch.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://batch-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[n],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://batch.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://batch.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,n],type:b,rules:[{endpoint:{url:"https://batch-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:f,[u]:["aws",o]}],endpoint:{url:"https://fips.batch.{Region}.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[t]:f,[u]:["aws-us-gov",o]}],endpoint:{url:"https://batch.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://batch-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[n],type:b,rules:[{endpoint:{url:"https://batch.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://batch.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-braket/src/endpoint/ruleset.ts b/clients/client-braket/src/endpoint/ruleset.ts index 22edc2d49219b..eed6aedd450c3 100644 --- a/clients/client-braket/src/endpoint/ruleset.ts +++ b/clients/client-braket/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/braket.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://braket-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://braket-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://braket.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://braket.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://braket-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://braket-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://braket.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://braket.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-chime-sdk-identity/src/endpoint/ruleset.ts b/clients/client-chime-sdk-identity/src/endpoint/ruleset.ts index 4d9d04b70b957..18c5ee6d30c78 100644 --- a/clients/client-chime-sdk-identity/src/endpoint/ruleset.ts +++ b/clients/client-chime-sdk-identity/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://identity-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://identity-chime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://identity-chime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://identity-chime.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://identity-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://identity-chime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://identity-chime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://identity-chime.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-chime-sdk-messaging/src/endpoint/ruleset.ts b/clients/client-chime-sdk-messaging/src/endpoint/ruleset.ts index 10fdd65ea546f..cef25193d8ceb 100644 --- a/clients/client-chime-sdk-messaging/src/endpoint/ruleset.ts +++ b/clients/client-chime-sdk-messaging/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://messaging-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://messaging-chime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://messaging-chime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://messaging-chime.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://messaging-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://messaging-chime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://messaging-chime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://messaging-chime.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-chime/src/endpoint/ruleset.ts b/clients/client-chime/src/endpoint/ruleset.ts index b268215edbef2..bd7bcb9ede6a5 100644 --- a/clients/client-chime/src/endpoint/ruleset.ts +++ b/clients/client-chime/src/endpoint/ruleset.ts @@ -32,5 +32,5 @@ s={[x]:d,[y]:[true,{[x]:h,[y]:[q,"supportsDualStack"]}]}, t=[l], u=[n], v=[{[z]:"Region"}]; -const _data={version:"1.0",parameters:{Region:i,UseDualStack:j,UseFIPS:j,Endpoint:i},rules:[{conditions:[{[x]:b,[y]:[k]}],type:c,rules:[{conditions:t,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:e},{type:c,rules:[{conditions:u,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:e},{endpoint:{url:k,properties:p,headers:p},type:f}]}]},{type:c,rules:[{conditions:[{[x]:b,[y]:v}],type:c,rules:[{conditions:[{[x]:"aws.partition",[y]:v,assign:g}],type:c,rules:[{conditions:[{[x]:"stringEquals",[y]:[{[x]:h,[y]:[q,"name"]},"aws"]},{[x]:d,[y]:[m,a]},{[x]:d,[y]:[o,a]}],endpoint:{url:"https://chime.us-east-1.amazonaws.com",properties:{authSchemes:[{name:"sigv4",signingName:"chime",signingRegion:"us-east-1"}]},headers:p},type:f},{conditions:[l,n],type:c,rules:[{conditions:[r,s],type:c,rules:[{type:c,rules:[{endpoint:{url:"https://chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},type:f}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:e}]},{conditions:t,type:c,rules:[{conditions:[r],type:c,rules:[{type:c,rules:[{endpoint:{url:"https://chime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},type:f}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:e}]},{conditions:u,type:c,rules:[{conditions:[s],type:c,rules:[{type:c,rules:[{endpoint:{url:"https://chime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},type:f}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:e}]},{type:c,rules:[{endpoint:{url:"https://chime.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},type:f}]}]}]},{error:"Invalid Configuration: Missing Region",type:e}]}]}; +const _data={version:"1.0",parameters:{Region:i,UseDualStack:j,UseFIPS:j,Endpoint:i},rules:[{conditions:[{[x]:b,[y]:[k]}],type:c,rules:[{conditions:t,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:e},{conditions:u,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:e},{endpoint:{url:k,properties:p,headers:p},type:f}]},{conditions:[{[x]:b,[y]:v}],type:c,rules:[{conditions:[{[x]:"aws.partition",[y]:v,assign:g}],type:c,rules:[{conditions:[{[x]:"stringEquals",[y]:[{[x]:h,[y]:[q,"name"]},"aws"]},{[x]:d,[y]:[m,a]},{[x]:d,[y]:[o,a]}],endpoint:{url:"https://chime.us-east-1.amazonaws.com",properties:{authSchemes:[{name:"sigv4",signingName:"chime",signingRegion:"us-east-1"}]},headers:p},type:f},{conditions:[l,n],type:c,rules:[{conditions:[r,s],type:c,rules:[{endpoint:{url:"https://chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},type:f}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:e}]},{conditions:t,type:c,rules:[{conditions:[r],type:c,rules:[{endpoint:{url:"https://chime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},type:f}]},{error:"FIPS is enabled but this partition does not support FIPS",type:e}]},{conditions:u,type:c,rules:[{conditions:[s],type:c,rules:[{endpoint:{url:"https://chime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},type:f}]},{error:"DualStack is enabled but this partition does not support DualStack",type:e}]},{endpoint:{url:"https://chime.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},type:f}]}]},{error:"Invalid Configuration: Missing Region",type:e}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-cloudcontrol/src/endpoint/ruleset.ts b/clients/client-cloudcontrol/src/endpoint/ruleset.ts index cd8493147f6ac..fcdf7e11fbbbb 100644 --- a/clients/client-cloudcontrol/src/endpoint/ruleset.ts +++ b/clients/client-cloudcontrol/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cloudcontrolapi-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cloudcontrolapi-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cloudcontrolapi.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://cloudcontrolapi.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://cloudcontrolapi-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://cloudcontrolapi-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://cloudcontrolapi.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://cloudcontrolapi.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-clouddirectory/src/endpoint/EndpointParameters.ts b/clients/client-clouddirectory/src/endpoint/EndpointParameters.ts index 3ef2cfdc33ea1..8e1056f15bb38 100644 --- a/clients/client-clouddirectory/src/endpoint/EndpointParameters.ts +++ b/clients/client-clouddirectory/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-clouddirectory/src/endpoint/ruleset.ts b/clients/client-clouddirectory/src/endpoint/ruleset.ts index 8e7d2c6492164..2d669678e64b1 100644 --- a/clients/client-clouddirectory/src/endpoint/ruleset.ts +++ b/clients/client-clouddirectory/src/endpoint/ruleset.ts @@ -6,26 +6,27 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/clouddirectory.json */ -const s="fn", -t="argv", -u="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h="getAttr", -i={"required":true,"default":false,"type":"Boolean"}, -j={[u]:"Endpoint"}, -k={[s]:"booleanEquals",[t]:[{[u]:"UseFIPS"},true]}, -l={[s]:"booleanEquals",[t]:[{[u]:"UseDualStack"},true]}, -m={}, -n={[s]:"booleanEquals",[t]:[true,{[s]:h,[t]:[{[u]:d},"supportsFIPS"]}]}, -o={[u]:d}, -p={[s]:"booleanEquals",[t]:[true,{[s]:h,[t]:[o,"supportsDualStack"]}]}, +const s="required", +t="fn", +u="argv", +v="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f="getAttr", +g={[s]:false,"type":"String"}, +h={[s]:true,"default":false,"type":"Boolean"}, +i={[v]:"Endpoint"}, +j={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, +k={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, +l={}, +m={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[{[v]:e},"supportsFIPS"]}]}, +n={[v]:e}, +o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, +p=[j], q=[k], -r=[l]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:i,UseFIPS:i,Endpoint:{required:b,type:c}},rules:[{conditions:[{[s]:"aws.partition",[t]:[{[u]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[s]:"isSet",[t]:[j]}],type:e,rules:[{conditions:q,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:r,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:j,properties:m,headers:m},type:g}]}]},{conditions:[k,l],type:e,rules:[{conditions:[n,p],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://clouddirectory-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:g}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:q,type:e,rules:[{conditions:[n],type:e,rules:[{type:e,rules:[{conditions:[{[s]:"stringEquals",[t]:["aws-us-gov",{[s]:h,[t]:[o,"name"]}]}],endpoint:{url:"https://clouddirectory.{Region}.amazonaws.com",properties:m,headers:m},type:g},{endpoint:{url:"https://clouddirectory-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:r,type:e,rules:[{conditions:[p],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://clouddirectory.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:g}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{type:e,rules:[{endpoint:{url:"https://clouddirectory.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:g}]}]}]}; +r=[{[v]:"Region"}]; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://clouddirectory-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://clouddirectory.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://clouddirectory-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://clouddirectory.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://clouddirectory.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-cloudfront/src/endpoint/ruleset.ts b/clients/client-cloudfront/src/endpoint/ruleset.ts index cfb3fb162baf6..445131266dff5 100644 --- a/clients/client-cloudfront/src/endpoint/ruleset.ts +++ b/clients/client-cloudfront/src/endpoint/ruleset.ts @@ -34,5 +34,5 @@ u={[z]:"booleanEquals",[A]:[true,{[z]:"getAttr",[A]:[{[B]:e},"supportsDualStack" v=[l], w=[m], x=[{[B]:"Region"}]; -const _data={version:"1.0",parameters:{Region:i,UseDualStack:j,UseFIPS:j,Endpoint:i},rules:[{conditions:[{[z]:a,[A]:[k]}],type:b,rules:[{conditions:v,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:w,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:k,properties:n,headers:n},type:d}]}]},{type:b,rules:[{conditions:[{[z]:a,[A]:x}],type:b,rules:[{conditions:[{[z]:"aws.partition",[A]:x,assign:e}],type:b,rules:[{conditions:[o,q,r],endpoint:{url:"https://cloudfront.amazonaws.com",properties:s,headers:n},type:d},{conditions:[o,l,r],endpoint:{url:"https://cloudfront-fips.amazonaws.com",properties:s,headers:n},type:d},{conditions:[{[z]:f,[A]:[p,"aws-cn"]},q,r],endpoint:{url:"https://cloudfront.cn-northwest-1.amazonaws.com.cn",properties:{authSchemes:[{name:g,signingName:h,signingRegion:"cn-northwest-1"}]},headers:n},type:d},{conditions:[l,m],type:b,rules:[{conditions:[t,u],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cloudfront-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:v,type:b,rules:[{conditions:[t],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cloudfront-fips.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:w,type:b,rules:[{conditions:[u],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cloudfront.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://cloudfront.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:i,UseDualStack:j,UseFIPS:j,Endpoint:i},rules:[{conditions:[{[z]:a,[A]:[k]}],type:b,rules:[{conditions:v,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:w,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:k,properties:n,headers:n},type:d}]},{conditions:[{[z]:a,[A]:x}],type:b,rules:[{conditions:[{[z]:"aws.partition",[A]:x,assign:e}],type:b,rules:[{conditions:[o,q,r],endpoint:{url:"https://cloudfront.amazonaws.com",properties:s,headers:n},type:d},{conditions:[o,l,r],endpoint:{url:"https://cloudfront-fips.amazonaws.com",properties:s,headers:n},type:d},{conditions:[{[z]:f,[A]:[p,"aws-cn"]},q,r],endpoint:{url:"https://cloudfront.cn-northwest-1.amazonaws.com.cn",properties:{authSchemes:[{name:g,signingName:h,signingRegion:"cn-northwest-1"}]},headers:n},type:d},{conditions:[l,m],type:b,rules:[{conditions:[t,u],type:b,rules:[{endpoint:{url:"https://cloudfront-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:v,type:b,rules:[{conditions:[t],type:b,rules:[{endpoint:{url:"https://cloudfront-fips.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:w,type:b,rules:[{conditions:[u],type:b,rules:[{endpoint:{url:"https://cloudfront.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://cloudfront.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-cloudhsm-v2/src/commands/CreateClusterCommand.ts b/clients/client-cloudhsm-v2/src/commands/CreateClusterCommand.ts index 9a773ae464cdb..45c2832efaf67 100644 --- a/clients/client-cloudhsm-v2/src/commands/CreateClusterCommand.ts +++ b/clients/client-cloudhsm-v2/src/commands/CreateClusterCommand.ts @@ -45,7 +45,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met * const client = new CloudHSMV2Client(config); * const input = { // CreateClusterRequest * BackupRetentionPolicy: { // BackupRetentionPolicy - * Type: "STRING_VALUE", + * Type: "DAYS", * Value: "STRING_VALUE", * }, * HsmType: "STRING_VALUE", // required @@ -64,9 +64,9 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met * const response = await client.send(command); * // { // CreateClusterResponse * // Cluster: { // Cluster - * // BackupPolicy: "STRING_VALUE", + * // BackupPolicy: "DEFAULT", * // BackupRetentionPolicy: { // BackupRetentionPolicy - * // Type: "STRING_VALUE", + * // Type: "DAYS", * // Value: "STRING_VALUE", * // }, * // ClusterId: "STRING_VALUE", @@ -79,7 +79,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met * // EniId: "STRING_VALUE", * // EniIp: "STRING_VALUE", * // HsmId: "STRING_VALUE", // required - * // State: "STRING_VALUE", + * // State: "CREATE_IN_PROGRESS" || "ACTIVE" || "DEGRADED" || "DELETE_IN_PROGRESS" || "DELETED", * // StateMessage: "STRING_VALUE", * // }, * // ], @@ -87,7 +87,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met * // PreCoPassword: "STRING_VALUE", * // SecurityGroup: "STRING_VALUE", * // SourceBackupId: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "CREATE_IN_PROGRESS" || "UNINITIALIZED" || "INITIALIZE_IN_PROGRESS" || "INITIALIZED" || "ACTIVE" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DEGRADED", * // StateMessage: "STRING_VALUE", * // SubnetMapping: { // ExternalSubnetMapping * // "": "STRING_VALUE", diff --git a/clients/client-cloudhsm-v2/src/commands/CreateHsmCommand.ts b/clients/client-cloudhsm-v2/src/commands/CreateHsmCommand.ts index 60ebc13ce9186..51faa687f5d21 100644 --- a/clients/client-cloudhsm-v2/src/commands/CreateHsmCommand.ts +++ b/clients/client-cloudhsm-v2/src/commands/CreateHsmCommand.ts @@ -59,7 +59,7 @@ export interface CreateHsmCommandOutput extends CreateHsmResponse, __MetadataBea * // EniId: "STRING_VALUE", * // EniIp: "STRING_VALUE", * // HsmId: "STRING_VALUE", // required - * // State: "STRING_VALUE", + * // State: "CREATE_IN_PROGRESS" || "ACTIVE" || "DEGRADED" || "DELETE_IN_PROGRESS" || "DELETED", * // StateMessage: "STRING_VALUE", * // }, * // }; diff --git a/clients/client-cloudhsm-v2/src/commands/DeleteBackupCommand.ts b/clients/client-cloudhsm-v2/src/commands/DeleteBackupCommand.ts index b582c12017e45..1f48bc679888e 100644 --- a/clients/client-cloudhsm-v2/src/commands/DeleteBackupCommand.ts +++ b/clients/client-cloudhsm-v2/src/commands/DeleteBackupCommand.ts @@ -53,7 +53,7 @@ export interface DeleteBackupCommandOutput extends DeleteBackupResponse, __Metad * // { // DeleteBackupResponse * // Backup: { // Backup * // BackupId: "STRING_VALUE", // required - * // BackupState: "STRING_VALUE", + * // BackupState: "CREATE_IN_PROGRESS" || "READY" || "DELETED" || "PENDING_DELETION", * // ClusterId: "STRING_VALUE", * // CreateTimestamp: new Date("TIMESTAMP"), * // CopyTimestamp: new Date("TIMESTAMP"), diff --git a/clients/client-cloudhsm-v2/src/commands/DeleteClusterCommand.ts b/clients/client-cloudhsm-v2/src/commands/DeleteClusterCommand.ts index 4a5fe5423763f..5d154b6d80dd2 100644 --- a/clients/client-cloudhsm-v2/src/commands/DeleteClusterCommand.ts +++ b/clients/client-cloudhsm-v2/src/commands/DeleteClusterCommand.ts @@ -51,9 +51,9 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met * const response = await client.send(command); * // { // DeleteClusterResponse * // Cluster: { // Cluster - * // BackupPolicy: "STRING_VALUE", + * // BackupPolicy: "DEFAULT", * // BackupRetentionPolicy: { // BackupRetentionPolicy - * // Type: "STRING_VALUE", + * // Type: "DAYS", * // Value: "STRING_VALUE", * // }, * // ClusterId: "STRING_VALUE", @@ -66,7 +66,7 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met * // EniId: "STRING_VALUE", * // EniIp: "STRING_VALUE", * // HsmId: "STRING_VALUE", // required - * // State: "STRING_VALUE", + * // State: "CREATE_IN_PROGRESS" || "ACTIVE" || "DEGRADED" || "DELETE_IN_PROGRESS" || "DELETED", * // StateMessage: "STRING_VALUE", * // }, * // ], @@ -74,7 +74,7 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met * // PreCoPassword: "STRING_VALUE", * // SecurityGroup: "STRING_VALUE", * // SourceBackupId: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "CREATE_IN_PROGRESS" || "UNINITIALIZED" || "INITIALIZE_IN_PROGRESS" || "INITIALIZED" || "ACTIVE" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DEGRADED", * // StateMessage: "STRING_VALUE", * // SubnetMapping: { // ExternalSubnetMapping * // "": "STRING_VALUE", diff --git a/clients/client-cloudhsm-v2/src/commands/DescribeBackupsCommand.ts b/clients/client-cloudhsm-v2/src/commands/DescribeBackupsCommand.ts index b70856556a790..763a1fd494407 100644 --- a/clients/client-cloudhsm-v2/src/commands/DescribeBackupsCommand.ts +++ b/clients/client-cloudhsm-v2/src/commands/DescribeBackupsCommand.ts @@ -64,7 +64,7 @@ export interface DescribeBackupsCommandOutput extends DescribeBackupsResponse, _ * // Backups: [ // Backups * // { // Backup * // BackupId: "STRING_VALUE", // required - * // BackupState: "STRING_VALUE", + * // BackupState: "CREATE_IN_PROGRESS" || "READY" || "DELETED" || "PENDING_DELETION", * // ClusterId: "STRING_VALUE", * // CreateTimestamp: new Date("TIMESTAMP"), * // CopyTimestamp: new Date("TIMESTAMP"), diff --git a/clients/client-cloudhsm-v2/src/commands/DescribeClustersCommand.ts b/clients/client-cloudhsm-v2/src/commands/DescribeClustersCommand.ts index 12acfdaf3467a..9352139e49c57 100644 --- a/clients/client-cloudhsm-v2/src/commands/DescribeClustersCommand.ts +++ b/clients/client-cloudhsm-v2/src/commands/DescribeClustersCommand.ts @@ -62,9 +62,9 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse, * // { // DescribeClustersResponse * // Clusters: [ // Clusters * // { // Cluster - * // BackupPolicy: "STRING_VALUE", + * // BackupPolicy: "DEFAULT", * // BackupRetentionPolicy: { // BackupRetentionPolicy - * // Type: "STRING_VALUE", + * // Type: "DAYS", * // Value: "STRING_VALUE", * // }, * // ClusterId: "STRING_VALUE", @@ -77,7 +77,7 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse, * // EniId: "STRING_VALUE", * // EniIp: "STRING_VALUE", * // HsmId: "STRING_VALUE", // required - * // State: "STRING_VALUE", + * // State: "CREATE_IN_PROGRESS" || "ACTIVE" || "DEGRADED" || "DELETE_IN_PROGRESS" || "DELETED", * // StateMessage: "STRING_VALUE", * // }, * // ], @@ -85,7 +85,7 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse, * // PreCoPassword: "STRING_VALUE", * // SecurityGroup: "STRING_VALUE", * // SourceBackupId: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "CREATE_IN_PROGRESS" || "UNINITIALIZED" || "INITIALIZE_IN_PROGRESS" || "INITIALIZED" || "ACTIVE" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DEGRADED", * // StateMessage: "STRING_VALUE", * // SubnetMapping: { // ExternalSubnetMapping * // "": "STRING_VALUE", diff --git a/clients/client-cloudhsm-v2/src/commands/InitializeClusterCommand.ts b/clients/client-cloudhsm-v2/src/commands/InitializeClusterCommand.ts index e5dda9dfb0cc0..18b0d904c6558 100644 --- a/clients/client-cloudhsm-v2/src/commands/InitializeClusterCommand.ts +++ b/clients/client-cloudhsm-v2/src/commands/InitializeClusterCommand.ts @@ -54,7 +54,7 @@ export interface InitializeClusterCommandOutput extends InitializeClusterRespons * const command = new InitializeClusterCommand(input); * const response = await client.send(command); * // { // InitializeClusterResponse - * // State: "STRING_VALUE", + * // State: "CREATE_IN_PROGRESS" || "UNINITIALIZED" || "INITIALIZE_IN_PROGRESS" || "INITIALIZED" || "ACTIVE" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DEGRADED", * // StateMessage: "STRING_VALUE", * // }; * diff --git a/clients/client-cloudhsm-v2/src/commands/ModifyBackupAttributesCommand.ts b/clients/client-cloudhsm-v2/src/commands/ModifyBackupAttributesCommand.ts index cd0b64df9cfa3..fa2f314ce4da7 100644 --- a/clients/client-cloudhsm-v2/src/commands/ModifyBackupAttributesCommand.ts +++ b/clients/client-cloudhsm-v2/src/commands/ModifyBackupAttributesCommand.ts @@ -52,7 +52,7 @@ export interface ModifyBackupAttributesCommandOutput extends ModifyBackupAttribu * // { // ModifyBackupAttributesResponse * // Backup: { // Backup * // BackupId: "STRING_VALUE", // required - * // BackupState: "STRING_VALUE", + * // BackupState: "CREATE_IN_PROGRESS" || "READY" || "DELETED" || "PENDING_DELETION", * // ClusterId: "STRING_VALUE", * // CreateTimestamp: new Date("TIMESTAMP"), * // CopyTimestamp: new Date("TIMESTAMP"), diff --git a/clients/client-cloudhsm-v2/src/commands/ModifyClusterCommand.ts b/clients/client-cloudhsm-v2/src/commands/ModifyClusterCommand.ts index e03bc1b8d4c78..280ef6651cd4f 100644 --- a/clients/client-cloudhsm-v2/src/commands/ModifyClusterCommand.ts +++ b/clients/client-cloudhsm-v2/src/commands/ModifyClusterCommand.ts @@ -45,7 +45,7 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResponse, __Met * const client = new CloudHSMV2Client(config); * const input = { // ModifyClusterRequest * BackupRetentionPolicy: { // BackupRetentionPolicy - * Type: "STRING_VALUE", + * Type: "DAYS", * Value: "STRING_VALUE", * }, * ClusterId: "STRING_VALUE", // required @@ -54,9 +54,9 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResponse, __Met * const response = await client.send(command); * // { // ModifyClusterResponse * // Cluster: { // Cluster - * // BackupPolicy: "STRING_VALUE", + * // BackupPolicy: "DEFAULT", * // BackupRetentionPolicy: { // BackupRetentionPolicy - * // Type: "STRING_VALUE", + * // Type: "DAYS", * // Value: "STRING_VALUE", * // }, * // ClusterId: "STRING_VALUE", @@ -69,7 +69,7 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResponse, __Met * // EniId: "STRING_VALUE", * // EniIp: "STRING_VALUE", * // HsmId: "STRING_VALUE", // required - * // State: "STRING_VALUE", + * // State: "CREATE_IN_PROGRESS" || "ACTIVE" || "DEGRADED" || "DELETE_IN_PROGRESS" || "DELETED", * // StateMessage: "STRING_VALUE", * // }, * // ], @@ -77,7 +77,7 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResponse, __Met * // PreCoPassword: "STRING_VALUE", * // SecurityGroup: "STRING_VALUE", * // SourceBackupId: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "CREATE_IN_PROGRESS" || "UNINITIALIZED" || "INITIALIZE_IN_PROGRESS" || "INITIALIZED" || "ACTIVE" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DEGRADED", * // StateMessage: "STRING_VALUE", * // SubnetMapping: { // ExternalSubnetMapping * // "": "STRING_VALUE", diff --git a/clients/client-cloudhsm-v2/src/commands/RestoreBackupCommand.ts b/clients/client-cloudhsm-v2/src/commands/RestoreBackupCommand.ts index b41e3d1623185..bbe50541cba52 100644 --- a/clients/client-cloudhsm-v2/src/commands/RestoreBackupCommand.ts +++ b/clients/client-cloudhsm-v2/src/commands/RestoreBackupCommand.ts @@ -53,7 +53,7 @@ export interface RestoreBackupCommandOutput extends RestoreBackupResponse, __Met * // { // RestoreBackupResponse * // Backup: { // Backup * // BackupId: "STRING_VALUE", // required - * // BackupState: "STRING_VALUE", + * // BackupState: "CREATE_IN_PROGRESS" || "READY" || "DELETED" || "PENDING_DELETION", * // ClusterId: "STRING_VALUE", * // CreateTimestamp: new Date("TIMESTAMP"), * // CopyTimestamp: new Date("TIMESTAMP"), diff --git a/clients/client-cloudhsm-v2/src/endpoint/ruleset.ts b/clients/client-cloudhsm-v2/src/endpoint/ruleset.ts index b7d4a42ab5c0a..c2a23ac7b33a9 100644 --- a/clients/client-cloudhsm-v2/src/endpoint/ruleset.ts +++ b/clients/client-cloudhsm-v2/src/endpoint/ruleset.ts @@ -6,24 +6,28 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/cloudhsm-v2.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const t="required", +u="fn", +v="argv", +w="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://cloudhsmv2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cloudhsmv2-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://cloudhsmv2.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://cloudhsmv2.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f="stringEquals", +g={[t]:false,"type":"String"}, +h={[t]:true,"default":false,"type":"Boolean"}, +i={[w]:"Endpoint"}, +j={[u]:"booleanEquals",[v]:[{[w]:"UseFIPS"},true]}, +k={[u]:"booleanEquals",[v]:[{[w]:"UseDualStack"},true]}, +l={}, +m={[u]:"booleanEquals",[v]:[true,{[u]:"getAttr",[v]:[{[w]:e},"supportsFIPS"]}]}, +n={[u]:"booleanEquals",[v]:[true,{[u]:"getAttr",[v]:[{[w]:e},"supportsDualStack"]}]}, +o={[u]:"getAttr",[v]:[{[w]:e},"name"]}, +p={"url":"https://cloudhsmv2.{Region}.amazonaws.com","properties":{},"headers":{}}, +q=[j], +r=[k], +s=[{[w]:"Region"}]; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[u]:a,[v]:[i]}],type:b,rules:[{conditions:q,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:r,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[u]:a,[v]:s}],type:b,rules:[{conditions:[{[u]:"aws.partition",[v]:s,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,n],type:b,rules:[{endpoint:{url:"https://cloudhsmv2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:q,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://cloudhsmv2-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:r,type:b,rules:[{conditions:[n],type:b,rules:[{endpoint:{url:"https://cloudhsmv2.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{conditions:[{[u]:f,[v]:["aws",o]}],endpoint:p,type:d},{conditions:[{[u]:f,[v]:["aws-us-gov",o]}],endpoint:p,type:d},{endpoint:{url:"https://cloudhsmv2.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-cloudsearch-domain/src/commands/SearchCommand.ts b/clients/client-cloudsearch-domain/src/commands/SearchCommand.ts index 6f2c6dcf16113..5532e1bd3a4fd 100644 --- a/clients/client-cloudsearch-domain/src/commands/SearchCommand.ts +++ b/clients/client-cloudsearch-domain/src/commands/SearchCommand.ts @@ -64,7 +64,7 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {} * partial: true || false, * query: "STRING_VALUE", // required * queryOptions: "STRING_VALUE", - * queryParser: "STRING_VALUE", + * queryParser: "simple" || "structured" || "lucene" || "dismax", * return: "STRING_VALUE", * size: Number("long"), * sort: "STRING_VALUE", diff --git a/clients/client-cloudsearch-domain/src/commands/UploadDocumentsCommand.ts b/clients/client-cloudsearch-domain/src/commands/UploadDocumentsCommand.ts index a73e1806b672a..98bfcc89c855f 100644 --- a/clients/client-cloudsearch-domain/src/commands/UploadDocumentsCommand.ts +++ b/clients/client-cloudsearch-domain/src/commands/UploadDocumentsCommand.ts @@ -60,7 +60,7 @@ export interface UploadDocumentsCommandOutput extends UploadDocumentsResponse, _ * const client = new CloudSearchDomainClient(config); * const input = { // UploadDocumentsRequest * documents: "STREAMING_BLOB_VALUE", // required - * contentType: "STRING_VALUE", // required + * contentType: "application/json" || "application/xml", // required * }; * const command = new UploadDocumentsCommand(input); * const response = await client.send(command); diff --git a/clients/client-cloudsearch-domain/src/endpoint/ruleset.ts b/clients/client-cloudsearch-domain/src/endpoint/ruleset.ts index 3253cc5e5bc90..d7513c0da8fc8 100644 --- a/clients/client-cloudsearch-domain/src/endpoint/ruleset.ts +++ b/clients/client-cloudsearch-domain/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/cloudsearch-domain.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://cloudsearchdomain-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://cloudsearchdomain-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://cloudsearchdomain.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://cloudsearchdomain.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://cloudsearchdomain-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://cloudsearchdomain-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://cloudsearchdomain.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://cloudsearchdomain.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-cloudsearch-domain/src/models/models_0.ts b/clients/client-cloudsearch-domain/src/models/models_0.ts index 9d3418c9e4d93..f4f95e8f8596c 100644 --- a/clients/client-cloudsearch-domain/src/models/models_0.ts +++ b/clients/client-cloudsearch-domain/src/models/models_0.ts @@ -26,8 +26,19 @@ export class SearchException extends __BaseException { /** * @public + * @enum */ -export type QueryParser = "dismax" | "lucene" | "simple" | "structured"; +export const QueryParser = { + dismax: "dismax", + lucene: "lucene", + simple: "simple", + structured: "structured", +} as const; + +/** + * @public + */ +export type QueryParser = (typeof QueryParser)[keyof typeof QueryParser]; /** * @public @@ -660,10 +671,19 @@ export class DocumentServiceException extends __BaseException { } } +/** + * @public + * @enum + */ +export const ContentType = { + application_json: "application/json", + application_xml: "application/xml", +} as const; + /** * @public */ -export type ContentType = "application/json" | "application/xml"; +export type ContentType = (typeof ContentType)[keyof typeof ContentType]; /** * @public diff --git a/clients/client-cloudsearch/src/commands/DefineAnalysisSchemeCommand.ts b/clients/client-cloudsearch/src/commands/DefineAnalysisSchemeCommand.ts index 86dced41dd13f..cf9c38cd88883 100644 --- a/clients/client-cloudsearch/src/commands/DefineAnalysisSchemeCommand.ts +++ b/clients/client-cloudsearch/src/commands/DefineAnalysisSchemeCommand.ts @@ -47,13 +47,13 @@ export interface DefineAnalysisSchemeCommandOutput extends DefineAnalysisSchemeR * DomainName: "STRING_VALUE", // required * AnalysisScheme: { // AnalysisScheme * AnalysisSchemeName: "STRING_VALUE", // required - * AnalysisSchemeLanguage: "STRING_VALUE", // required + * AnalysisSchemeLanguage: "ar" || "bg" || "ca" || "cs" || "da" || "de" || "el" || "en" || "es" || "eu" || "fa" || "fi" || "fr" || "ga" || "gl" || "he" || "hi" || "hu" || "hy" || "id" || "it" || "ja" || "ko" || "lv" || "mul" || "nl" || "no" || "pt" || "ro" || "ru" || "sv" || "th" || "tr" || "zh-Hans" || "zh-Hant", // required * AnalysisOptions: { // AnalysisOptions * Synonyms: "STRING_VALUE", * Stopwords: "STRING_VALUE", * StemmingDictionary: "STRING_VALUE", * JapaneseTokenizationDictionary: "STRING_VALUE", - * AlgorithmicStemming: "STRING_VALUE", + * AlgorithmicStemming: "none" || "minimal" || "light" || "full", * }, * }, * }; @@ -63,20 +63,20 @@ export interface DefineAnalysisSchemeCommandOutput extends DefineAnalysisSchemeR * // AnalysisScheme: { // AnalysisSchemeStatus * // Options: { // AnalysisScheme * // AnalysisSchemeName: "STRING_VALUE", // required - * // AnalysisSchemeLanguage: "STRING_VALUE", // required + * // AnalysisSchemeLanguage: "ar" || "bg" || "ca" || "cs" || "da" || "de" || "el" || "en" || "es" || "eu" || "fa" || "fi" || "fr" || "ga" || "gl" || "he" || "hi" || "hu" || "hy" || "id" || "it" || "ja" || "ko" || "lv" || "mul" || "nl" || "no" || "pt" || "ro" || "ru" || "sv" || "th" || "tr" || "zh-Hans" || "zh-Hant", // required * // AnalysisOptions: { // AnalysisOptions * // Synonyms: "STRING_VALUE", * // Stopwords: "STRING_VALUE", * // StemmingDictionary: "STRING_VALUE", * // JapaneseTokenizationDictionary: "STRING_VALUE", - * // AlgorithmicStemming: "STRING_VALUE", + * // AlgorithmicStemming: "none" || "minimal" || "light" || "full", * // }, * // }, * // Status: { // OptionStatus * // CreationDate: new Date("TIMESTAMP"), // required * // UpdateDate: new Date("TIMESTAMP"), // required * // UpdateVersion: Number("int"), - * // State: "STRING_VALUE", // required + * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required * // PendingDeletion: true || false, * // }, * // }, diff --git a/clients/client-cloudsearch/src/commands/DefineExpressionCommand.ts b/clients/client-cloudsearch/src/commands/DefineExpressionCommand.ts index dded220df4606..ddf59fa83229c 100644 --- a/clients/client-cloudsearch/src/commands/DefineExpressionCommand.ts +++ b/clients/client-cloudsearch/src/commands/DefineExpressionCommand.ts @@ -62,7 +62,7 @@ export interface DefineExpressionCommandOutput extends DefineExpressionResponse, * // CreationDate: new Date("TIMESTAMP"), // required * // UpdateDate: new Date("TIMESTAMP"), // required * // UpdateVersion: Number("int"), - * // State: "STRING_VALUE", // required + * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required * // PendingDeletion: true || false, * // }, * // }, diff --git a/clients/client-cloudsearch/src/commands/DefineIndexFieldCommand.ts b/clients/client-cloudsearch/src/commands/DefineIndexFieldCommand.ts index 27791fbfd13dc..77b0f7e56016b 100644 --- a/clients/client-cloudsearch/src/commands/DefineIndexFieldCommand.ts +++ b/clients/client-cloudsearch/src/commands/DefineIndexFieldCommand.ts @@ -47,7 +47,7 @@ export interface DefineIndexFieldCommandOutput extends DefineIndexFieldResponse, * DomainName: "STRING_VALUE", // required * IndexField: { // IndexField * IndexFieldName: "STRING_VALUE", // required - * IndexFieldType: "STRING_VALUE", // required + * IndexFieldType: "int" || "double" || "literal" || "text" || "date" || "latlon" || "int-array" || "double-array" || "literal-array" || "text-array" || "date-array", // required * IntOptions: { // IntOptions * DefaultValue: Number("long"), * SourceField: "STRING_VALUE", @@ -139,7 +139,7 @@ export interface DefineIndexFieldCommandOutput extends DefineIndexFieldResponse, * // IndexField: { // IndexFieldStatus * // Options: { // IndexField * // IndexFieldName: "STRING_VALUE", // required - * // IndexFieldType: "STRING_VALUE", // required + * // IndexFieldType: "int" || "double" || "literal" || "text" || "date" || "latlon" || "int-array" || "double-array" || "literal-array" || "text-array" || "date-array", // required * // IntOptions: { // IntOptions * // DefaultValue: Number("long"), * // SourceField: "STRING_VALUE", @@ -228,7 +228,7 @@ export interface DefineIndexFieldCommandOutput extends DefineIndexFieldResponse, * // CreationDate: new Date("TIMESTAMP"), // required * // UpdateDate: new Date("TIMESTAMP"), // required * // UpdateVersion: Number("int"), - * // State: "STRING_VALUE", // required + * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required * // PendingDeletion: true || false, * // }, * // }, diff --git a/clients/client-cloudsearch/src/commands/DefineSuggesterCommand.ts b/clients/client-cloudsearch/src/commands/DefineSuggesterCommand.ts index 9c64a308b66f0..d3f8678e3113d 100644 --- a/clients/client-cloudsearch/src/commands/DefineSuggesterCommand.ts +++ b/clients/client-cloudsearch/src/commands/DefineSuggesterCommand.ts @@ -49,7 +49,7 @@ export interface DefineSuggesterCommandOutput extends DefineSuggesterResponse, _ * SuggesterName: "STRING_VALUE", // required * DocumentSuggesterOptions: { // DocumentSuggesterOptions * SourceField: "STRING_VALUE", // required - * FuzzyMatching: "STRING_VALUE", + * FuzzyMatching: "none" || "low" || "high", * SortExpression: "STRING_VALUE", * }, * }, @@ -62,7 +62,7 @@ export interface DefineSuggesterCommandOutput extends DefineSuggesterResponse, _ * // SuggesterName: "STRING_VALUE", // required * // DocumentSuggesterOptions: { // DocumentSuggesterOptions * // SourceField: "STRING_VALUE", // required - * // FuzzyMatching: "STRING_VALUE", + * // FuzzyMatching: "none" || "low" || "high", * // SortExpression: "STRING_VALUE", * // }, * // }, @@ -70,7 +70,7 @@ export interface DefineSuggesterCommandOutput extends DefineSuggesterResponse, _ * // CreationDate: new Date("TIMESTAMP"), // required * // UpdateDate: new Date("TIMESTAMP"), // required * // UpdateVersion: Number("int"), - * // State: "STRING_VALUE", // required + * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required * // PendingDeletion: true || false, * // }, * // }, diff --git a/clients/client-cloudsearch/src/commands/DeleteAnalysisSchemeCommand.ts b/clients/client-cloudsearch/src/commands/DeleteAnalysisSchemeCommand.ts index 816d6642e6866..b038f74a432ff 100644 --- a/clients/client-cloudsearch/src/commands/DeleteAnalysisSchemeCommand.ts +++ b/clients/client-cloudsearch/src/commands/DeleteAnalysisSchemeCommand.ts @@ -53,20 +53,20 @@ export interface DeleteAnalysisSchemeCommandOutput extends DeleteAnalysisSchemeR * // AnalysisScheme: { // AnalysisSchemeStatus * // Options: { // AnalysisScheme * // AnalysisSchemeName: "STRING_VALUE", // required - * // AnalysisSchemeLanguage: "STRING_VALUE", // required + * // AnalysisSchemeLanguage: "ar" || "bg" || "ca" || "cs" || "da" || "de" || "el" || "en" || "es" || "eu" || "fa" || "fi" || "fr" || "ga" || "gl" || "he" || "hi" || "hu" || "hy" || "id" || "it" || "ja" || "ko" || "lv" || "mul" || "nl" || "no" || "pt" || "ro" || "ru" || "sv" || "th" || "tr" || "zh-Hans" || "zh-Hant", // required * // AnalysisOptions: { // AnalysisOptions * // Synonyms: "STRING_VALUE", * // Stopwords: "STRING_VALUE", * // StemmingDictionary: "STRING_VALUE", * // JapaneseTokenizationDictionary: "STRING_VALUE", - * // AlgorithmicStemming: "STRING_VALUE", + * // AlgorithmicStemming: "none" || "minimal" || "light" || "full", * // }, * // }, * // Status: { // OptionStatus * // CreationDate: new Date("TIMESTAMP"), // required * // UpdateDate: new Date("TIMESTAMP"), // required * // UpdateVersion: Number("int"), - * // State: "STRING_VALUE", // required + * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required * // PendingDeletion: true || false, * // }, * // }, diff --git a/clients/client-cloudsearch/src/commands/DeleteExpressionCommand.ts b/clients/client-cloudsearch/src/commands/DeleteExpressionCommand.ts index 031d83e7f2ff1..ab2fdcef66eb9 100644 --- a/clients/client-cloudsearch/src/commands/DeleteExpressionCommand.ts +++ b/clients/client-cloudsearch/src/commands/DeleteExpressionCommand.ts @@ -59,7 +59,7 @@ export interface DeleteExpressionCommandOutput extends DeleteExpressionResponse, * // CreationDate: new Date("TIMESTAMP"), // required * // UpdateDate: new Date("TIMESTAMP"), // required * // UpdateVersion: Number("int"), - * // State: "STRING_VALUE", // required + * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required * // PendingDeletion: true || false, * // }, * // }, diff --git a/clients/client-cloudsearch/src/commands/DeleteIndexFieldCommand.ts b/clients/client-cloudsearch/src/commands/DeleteIndexFieldCommand.ts index b2a9ad033d509..e784a8fe905c6 100644 --- a/clients/client-cloudsearch/src/commands/DeleteIndexFieldCommand.ts +++ b/clients/client-cloudsearch/src/commands/DeleteIndexFieldCommand.ts @@ -53,7 +53,7 @@ export interface DeleteIndexFieldCommandOutput extends DeleteIndexFieldResponse, * // IndexField: { // IndexFieldStatus * // Options: { // IndexField * // IndexFieldName: "STRING_VALUE", // required - * // IndexFieldType: "STRING_VALUE", // required + * // IndexFieldType: "int" || "double" || "literal" || "text" || "date" || "latlon" || "int-array" || "double-array" || "literal-array" || "text-array" || "date-array", // required * // IntOptions: { // IntOptions * // DefaultValue: Number("long"), * // SourceField: "STRING_VALUE", @@ -142,7 +142,7 @@ export interface DeleteIndexFieldCommandOutput extends DeleteIndexFieldResponse, * // CreationDate: new Date("TIMESTAMP"), // required * // UpdateDate: new Date("TIMESTAMP"), // required * // UpdateVersion: Number("int"), - * // State: "STRING_VALUE", // required + * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required * // PendingDeletion: true || false, * // }, * // }, diff --git a/clients/client-cloudsearch/src/commands/DeleteSuggesterCommand.ts b/clients/client-cloudsearch/src/commands/DeleteSuggesterCommand.ts index ec51fa357b406..ef8e5a21e0018 100644 --- a/clients/client-cloudsearch/src/commands/DeleteSuggesterCommand.ts +++ b/clients/client-cloudsearch/src/commands/DeleteSuggesterCommand.ts @@ -55,7 +55,7 @@ export interface DeleteSuggesterCommandOutput extends DeleteSuggesterResponse, _ * // SuggesterName: "STRING_VALUE", // required * // DocumentSuggesterOptions: { // DocumentSuggesterOptions * // SourceField: "STRING_VALUE", // required - * // FuzzyMatching: "STRING_VALUE", + * // FuzzyMatching: "none" || "low" || "high", * // SortExpression: "STRING_VALUE", * // }, * // }, @@ -63,7 +63,7 @@ export interface DeleteSuggesterCommandOutput extends DeleteSuggesterResponse, _ * // CreationDate: new Date("TIMESTAMP"), // required * // UpdateDate: new Date("TIMESTAMP"), // required * // UpdateVersion: Number("int"), - * // State: "STRING_VALUE", // required + * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required * // PendingDeletion: true || false, * // }, * // }, diff --git a/clients/client-cloudsearch/src/commands/DescribeAnalysisSchemesCommand.ts b/clients/client-cloudsearch/src/commands/DescribeAnalysisSchemesCommand.ts index 0eb38f50d2b27..a652288b0eee4 100644 --- a/clients/client-cloudsearch/src/commands/DescribeAnalysisSchemesCommand.ts +++ b/clients/client-cloudsearch/src/commands/DescribeAnalysisSchemesCommand.ts @@ -57,20 +57,20 @@ export interface DescribeAnalysisSchemesCommandOutput extends DescribeAnalysisSc * // { // AnalysisSchemeStatus * // Options: { // AnalysisScheme * // AnalysisSchemeName: "STRING_VALUE", // required - * // AnalysisSchemeLanguage: "STRING_VALUE", // required + * // AnalysisSchemeLanguage: "ar" || "bg" || "ca" || "cs" || "da" || "de" || "el" || "en" || "es" || "eu" || "fa" || "fi" || "fr" || "ga" || "gl" || "he" || "hi" || "hu" || "hy" || "id" || "it" || "ja" || "ko" || "lv" || "mul" || "nl" || "no" || "pt" || "ro" || "ru" || "sv" || "th" || "tr" || "zh-Hans" || "zh-Hant", // required * // AnalysisOptions: { // AnalysisOptions * // Synonyms: "STRING_VALUE", * // Stopwords: "STRING_VALUE", * // StemmingDictionary: "STRING_VALUE", * // JapaneseTokenizationDictionary: "STRING_VALUE", - * // AlgorithmicStemming: "STRING_VALUE", + * // AlgorithmicStemming: "none" || "minimal" || "light" || "full", * // }, * // }, * // Status: { // OptionStatus * // CreationDate: new Date("TIMESTAMP"), // required * // UpdateDate: new Date("TIMESTAMP"), // required * // UpdateVersion: Number("int"), - * // State: "STRING_VALUE", // required + * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required * // PendingDeletion: true || false, * // }, * // }, diff --git a/clients/client-cloudsearch/src/commands/DescribeAvailabilityOptionsCommand.ts b/clients/client-cloudsearch/src/commands/DescribeAvailabilityOptionsCommand.ts index 4284bc6b335e8..bd4090801415f 100644 --- a/clients/client-cloudsearch/src/commands/DescribeAvailabilityOptionsCommand.ts +++ b/clients/client-cloudsearch/src/commands/DescribeAvailabilityOptionsCommand.ts @@ -58,7 +58,7 @@ export interface DescribeAvailabilityOptionsCommandOutput * // CreationDate: new Date("TIMESTAMP"), // required * // UpdateDate: new Date("TIMESTAMP"), // required * // UpdateVersion: Number("int"), - * // State: "STRING_VALUE", // required + * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required * // PendingDeletion: true || false, * // }, * // }, diff --git a/clients/client-cloudsearch/src/commands/DescribeDomainEndpointOptionsCommand.ts b/clients/client-cloudsearch/src/commands/DescribeDomainEndpointOptionsCommand.ts index 35c48989f0597..ba177fb33d29c 100644 --- a/clients/client-cloudsearch/src/commands/DescribeDomainEndpointOptionsCommand.ts +++ b/clients/client-cloudsearch/src/commands/DescribeDomainEndpointOptionsCommand.ts @@ -58,13 +58,13 @@ export interface DescribeDomainEndpointOptionsCommandOutput * // DomainEndpointOptions: { // DomainEndpointOptionsStatus * // Options: { // DomainEndpointOptions * // EnforceHTTPS: true || false, - * // TLSSecurityPolicy: "STRING_VALUE", + * // TLSSecurityPolicy: "Policy-Min-TLS-1-0-2019-07" || "Policy-Min-TLS-1-2-2019-07", * // }, * // Status: { // OptionStatus * // CreationDate: new Date("TIMESTAMP"), // required * // UpdateDate: new Date("TIMESTAMP"), // required * // UpdateVersion: Number("int"), - * // State: "STRING_VALUE", // required + * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required * // PendingDeletion: true || false, * // }, * // }, diff --git a/clients/client-cloudsearch/src/commands/DescribeExpressionsCommand.ts b/clients/client-cloudsearch/src/commands/DescribeExpressionsCommand.ts index 1340a5105fdbf..a701dfe7d1830 100644 --- a/clients/client-cloudsearch/src/commands/DescribeExpressionsCommand.ts +++ b/clients/client-cloudsearch/src/commands/DescribeExpressionsCommand.ts @@ -63,7 +63,7 @@ export interface DescribeExpressionsCommandOutput extends DescribeExpressionsRes * // CreationDate: new Date("TIMESTAMP"), // required * // UpdateDate: new Date("TIMESTAMP"), // required * // UpdateVersion: Number("int"), - * // State: "STRING_VALUE", // required + * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required * // PendingDeletion: true || false, * // }, * // }, diff --git a/clients/client-cloudsearch/src/commands/DescribeIndexFieldsCommand.ts b/clients/client-cloudsearch/src/commands/DescribeIndexFieldsCommand.ts index e20c81b2b0713..42808ae5c384c 100644 --- a/clients/client-cloudsearch/src/commands/DescribeIndexFieldsCommand.ts +++ b/clients/client-cloudsearch/src/commands/DescribeIndexFieldsCommand.ts @@ -59,7 +59,7 @@ export interface DescribeIndexFieldsCommandOutput extends DescribeIndexFieldsRes * // { // IndexFieldStatus * // Options: { // IndexField * // IndexFieldName: "STRING_VALUE", // required - * // IndexFieldType: "STRING_VALUE", // required + * // IndexFieldType: "int" || "double" || "literal" || "text" || "date" || "latlon" || "int-array" || "double-array" || "literal-array" || "text-array" || "date-array", // required * // IntOptions: { // IntOptions * // DefaultValue: Number("long"), * // SourceField: "STRING_VALUE", @@ -148,7 +148,7 @@ export interface DescribeIndexFieldsCommandOutput extends DescribeIndexFieldsRes * // CreationDate: new Date("TIMESTAMP"), // required * // UpdateDate: new Date("TIMESTAMP"), // required * // UpdateVersion: Number("int"), - * // State: "STRING_VALUE", // required + * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required * // PendingDeletion: true || false, * // }, * // }, diff --git a/clients/client-cloudsearch/src/commands/DescribeScalingParametersCommand.ts b/clients/client-cloudsearch/src/commands/DescribeScalingParametersCommand.ts index 339c38c0f54bb..00b694925042a 100644 --- a/clients/client-cloudsearch/src/commands/DescribeScalingParametersCommand.ts +++ b/clients/client-cloudsearch/src/commands/DescribeScalingParametersCommand.ts @@ -51,7 +51,7 @@ export interface DescribeScalingParametersCommandOutput extends DescribeScalingP * // { // DescribeScalingParametersResponse * // ScalingParameters: { // ScalingParametersStatus * // Options: { // ScalingParameters - * // DesiredInstanceType: "STRING_VALUE", + * // DesiredInstanceType: "search.m1.small" || "search.m1.large" || "search.m2.xlarge" || "search.m2.2xlarge" || "search.m3.medium" || "search.m3.large" || "search.m3.xlarge" || "search.m3.2xlarge" || "search.small" || "search.medium" || "search.large" || "search.xlarge" || "search.2xlarge" || "search.previousgeneration.small" || "search.previousgeneration.large" || "search.previousgeneration.xlarge" || "search.previousgeneration.2xlarge", * // DesiredReplicationCount: Number("int"), * // DesiredPartitionCount: Number("int"), * // }, @@ -59,7 +59,7 @@ export interface DescribeScalingParametersCommandOutput extends DescribeScalingP * // CreationDate: new Date("TIMESTAMP"), // required * // UpdateDate: new Date("TIMESTAMP"), // required * // UpdateVersion: Number("int"), - * // State: "STRING_VALUE", // required + * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required * // PendingDeletion: true || false, * // }, * // }, diff --git a/clients/client-cloudsearch/src/commands/DescribeServiceAccessPoliciesCommand.ts b/clients/client-cloudsearch/src/commands/DescribeServiceAccessPoliciesCommand.ts index 0c15c8833f0a1..0c82f0eb4cb14 100644 --- a/clients/client-cloudsearch/src/commands/DescribeServiceAccessPoliciesCommand.ts +++ b/clients/client-cloudsearch/src/commands/DescribeServiceAccessPoliciesCommand.ts @@ -62,7 +62,7 @@ export interface DescribeServiceAccessPoliciesCommandOutput * // CreationDate: new Date("TIMESTAMP"), // required * // UpdateDate: new Date("TIMESTAMP"), // required * // UpdateVersion: Number("int"), - * // State: "STRING_VALUE", // required + * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required * // PendingDeletion: true || false, * // }, * // }, diff --git a/clients/client-cloudsearch/src/commands/DescribeSuggestersCommand.ts b/clients/client-cloudsearch/src/commands/DescribeSuggestersCommand.ts index 3985f89ab9013..5c2335e0adca6 100644 --- a/clients/client-cloudsearch/src/commands/DescribeSuggestersCommand.ts +++ b/clients/client-cloudsearch/src/commands/DescribeSuggestersCommand.ts @@ -59,7 +59,7 @@ export interface DescribeSuggestersCommandOutput extends DescribeSuggestersRespo * // SuggesterName: "STRING_VALUE", // required * // DocumentSuggesterOptions: { // DocumentSuggesterOptions * // SourceField: "STRING_VALUE", // required - * // FuzzyMatching: "STRING_VALUE", + * // FuzzyMatching: "none" || "low" || "high", * // SortExpression: "STRING_VALUE", * // }, * // }, @@ -67,7 +67,7 @@ export interface DescribeSuggestersCommandOutput extends DescribeSuggestersRespo * // CreationDate: new Date("TIMESTAMP"), // required * // UpdateDate: new Date("TIMESTAMP"), // required * // UpdateVersion: Number("int"), - * // State: "STRING_VALUE", // required + * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required * // PendingDeletion: true || false, * // }, * // }, diff --git a/clients/client-cloudsearch/src/commands/UpdateAvailabilityOptionsCommand.ts b/clients/client-cloudsearch/src/commands/UpdateAvailabilityOptionsCommand.ts index 44c92e55ec60d..53fdc2b1db6ac 100644 --- a/clients/client-cloudsearch/src/commands/UpdateAvailabilityOptionsCommand.ts +++ b/clients/client-cloudsearch/src/commands/UpdateAvailabilityOptionsCommand.ts @@ -56,7 +56,7 @@ export interface UpdateAvailabilityOptionsCommandOutput extends UpdateAvailabili * // CreationDate: new Date("TIMESTAMP"), // required * // UpdateDate: new Date("TIMESTAMP"), // required * // UpdateVersion: Number("int"), - * // State: "STRING_VALUE", // required + * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required * // PendingDeletion: true || false, * // }, * // }, diff --git a/clients/client-cloudsearch/src/commands/UpdateDomainEndpointOptionsCommand.ts b/clients/client-cloudsearch/src/commands/UpdateDomainEndpointOptionsCommand.ts index 79f2be105c739..18d7e5ab4b7dc 100644 --- a/clients/client-cloudsearch/src/commands/UpdateDomainEndpointOptionsCommand.ts +++ b/clients/client-cloudsearch/src/commands/UpdateDomainEndpointOptionsCommand.ts @@ -49,7 +49,7 @@ export interface UpdateDomainEndpointOptionsCommandOutput * DomainName: "STRING_VALUE", // required * DomainEndpointOptions: { // DomainEndpointOptions * EnforceHTTPS: true || false, - * TLSSecurityPolicy: "STRING_VALUE", + * TLSSecurityPolicy: "Policy-Min-TLS-1-0-2019-07" || "Policy-Min-TLS-1-2-2019-07", * }, * }; * const command = new UpdateDomainEndpointOptionsCommand(input); @@ -58,13 +58,13 @@ export interface UpdateDomainEndpointOptionsCommandOutput * // DomainEndpointOptions: { // DomainEndpointOptionsStatus * // Options: { // DomainEndpointOptions * // EnforceHTTPS: true || false, - * // TLSSecurityPolicy: "STRING_VALUE", + * // TLSSecurityPolicy: "Policy-Min-TLS-1-0-2019-07" || "Policy-Min-TLS-1-2-2019-07", * // }, * // Status: { // OptionStatus * // CreationDate: new Date("TIMESTAMP"), // required * // UpdateDate: new Date("TIMESTAMP"), // required * // UpdateVersion: Number("int"), - * // State: "STRING_VALUE", // required + * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required * // PendingDeletion: true || false, * // }, * // }, diff --git a/clients/client-cloudsearch/src/commands/UpdateScalingParametersCommand.ts b/clients/client-cloudsearch/src/commands/UpdateScalingParametersCommand.ts index 5e8f9e8ff0808..266998e7374d3 100644 --- a/clients/client-cloudsearch/src/commands/UpdateScalingParametersCommand.ts +++ b/clients/client-cloudsearch/src/commands/UpdateScalingParametersCommand.ts @@ -46,7 +46,7 @@ export interface UpdateScalingParametersCommandOutput extends UpdateScalingParam * const input = { // UpdateScalingParametersRequest * DomainName: "STRING_VALUE", // required * ScalingParameters: { // ScalingParameters - * DesiredInstanceType: "STRING_VALUE", + * DesiredInstanceType: "search.m1.small" || "search.m1.large" || "search.m2.xlarge" || "search.m2.2xlarge" || "search.m3.medium" || "search.m3.large" || "search.m3.xlarge" || "search.m3.2xlarge" || "search.small" || "search.medium" || "search.large" || "search.xlarge" || "search.2xlarge" || "search.previousgeneration.small" || "search.previousgeneration.large" || "search.previousgeneration.xlarge" || "search.previousgeneration.2xlarge", * DesiredReplicationCount: Number("int"), * DesiredPartitionCount: Number("int"), * }, @@ -56,7 +56,7 @@ export interface UpdateScalingParametersCommandOutput extends UpdateScalingParam * // { // UpdateScalingParametersResponse * // ScalingParameters: { // ScalingParametersStatus * // Options: { // ScalingParameters - * // DesiredInstanceType: "STRING_VALUE", + * // DesiredInstanceType: "search.m1.small" || "search.m1.large" || "search.m2.xlarge" || "search.m2.2xlarge" || "search.m3.medium" || "search.m3.large" || "search.m3.xlarge" || "search.m3.2xlarge" || "search.small" || "search.medium" || "search.large" || "search.xlarge" || "search.2xlarge" || "search.previousgeneration.small" || "search.previousgeneration.large" || "search.previousgeneration.xlarge" || "search.previousgeneration.2xlarge", * // DesiredReplicationCount: Number("int"), * // DesiredPartitionCount: Number("int"), * // }, @@ -64,7 +64,7 @@ export interface UpdateScalingParametersCommandOutput extends UpdateScalingParam * // CreationDate: new Date("TIMESTAMP"), // required * // UpdateDate: new Date("TIMESTAMP"), // required * // UpdateVersion: Number("int"), - * // State: "STRING_VALUE", // required + * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required * // PendingDeletion: true || false, * // }, * // }, diff --git a/clients/client-cloudsearch/src/commands/UpdateServiceAccessPoliciesCommand.ts b/clients/client-cloudsearch/src/commands/UpdateServiceAccessPoliciesCommand.ts index 0019bc1092a43..ca04a72c8d6a3 100644 --- a/clients/client-cloudsearch/src/commands/UpdateServiceAccessPoliciesCommand.ts +++ b/clients/client-cloudsearch/src/commands/UpdateServiceAccessPoliciesCommand.ts @@ -60,7 +60,7 @@ export interface UpdateServiceAccessPoliciesCommandOutput * // CreationDate: new Date("TIMESTAMP"), // required * // UpdateDate: new Date("TIMESTAMP"), // required * // UpdateVersion: Number("int"), - * // State: "STRING_VALUE", // required + * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required * // PendingDeletion: true || false, * // }, * // }, diff --git a/clients/client-cloudsearch/src/endpoint/ruleset.ts b/clients/client-cloudsearch/src/endpoint/ruleset.ts index 78b2164610fd4..afc362495cfb1 100644 --- a/clients/client-cloudsearch/src/endpoint/ruleset.ts +++ b/clients/client-cloudsearch/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/cloudsearch.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://cloudsearch-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cloudsearch-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://cloudsearch.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://cloudsearch.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://cloudsearch-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://cloudsearch-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://cloudsearch.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://cloudsearch.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-cloudsearch/src/models/models_0.ts b/clients/client-cloudsearch/src/models/models_0.ts index 509d1910805a4..fdcf33770a7ef 100644 --- a/clients/client-cloudsearch/src/models/models_0.ts +++ b/clients/client-cloudsearch/src/models/models_0.ts @@ -352,8 +352,19 @@ export class ResourceAlreadyExistsException extends __BaseException { /** * @public + * @enum */ -export type AlgorithmicStemming = "full" | "light" | "minimal" | "none"; +export const AlgorithmicStemming = { + full: "full", + light: "light", + minimal: "minimal", + none: "none", +} as const; + +/** + * @public + */ +export type AlgorithmicStemming = (typeof AlgorithmicStemming)[keyof typeof AlgorithmicStemming]; /** * @public @@ -391,45 +402,52 @@ export interface AnalysisOptions { AlgorithmicStemming?: AlgorithmicStemming | string; } +/** + * @public + * @enum + */ +export const AnalysisSchemeLanguage = { + ar: "ar", + bg: "bg", + ca: "ca", + cs: "cs", + da: "da", + de: "de", + el: "el", + en: "en", + es: "es", + eu: "eu", + fa: "fa", + fi: "fi", + fr: "fr", + ga: "ga", + gl: "gl", + he: "he", + hi: "hi", + hu: "hu", + hy: "hy", + id: "id", + it: "it", + ja: "ja", + ko: "ko", + lv: "lv", + mul: "mul", + nl: "nl", + no: "no", + pt: "pt", + ro: "ro", + ru: "ru", + sv: "sv", + th: "th", + tr: "tr", + zh_Hans: "zh-Hans", + zh_Hant: "zh-Hant", +} as const; + /** * @public */ -export type AnalysisSchemeLanguage = - | "ar" - | "bg" - | "ca" - | "cs" - | "da" - | "de" - | "el" - | "en" - | "es" - | "eu" - | "fa" - | "fi" - | "fr" - | "ga" - | "gl" - | "he" - | "hi" - | "hu" - | "hy" - | "id" - | "it" - | "ja" - | "ko" - | "lv" - | "mul" - | "nl" - | "no" - | "pt" - | "ro" - | "ru" - | "sv" - | "th" - | "tr" - | "zh-Hans" - | "zh-Hant"; +export type AnalysisSchemeLanguage = (typeof AnalysisSchemeLanguage)[keyof typeof AnalysisSchemeLanguage]; /** * @public @@ -474,10 +492,21 @@ export interface DefineAnalysisSchemeRequest { AnalysisScheme: AnalysisScheme | undefined; } +/** + * @public + * @enum + */ +export const OptionState = { + Active: "Active", + FailedToValidate: "FailedToValidate", + Processing: "Processing", + RequiresIndexDocuments: "RequiresIndexDocuments", +} as const; + /** * @public */ -export type OptionState = "Active" | "FailedToValidate" | "Processing" | "RequiresIndexDocuments"; +export type OptionState = (typeof OptionState)[keyof typeof OptionState]; /** * @public @@ -821,19 +850,26 @@ export interface DoubleOptions { /** * @public + * @enum */ -export type IndexFieldType = - | "date" - | "date-array" - | "double" - | "double-array" - | "int" - | "int-array" - | "latlon" - | "literal" - | "literal-array" - | "text" - | "text-array"; +export const IndexFieldType = { + date: "date", + date_array: "date-array", + double: "double", + double_array: "double-array", + int: "int", + int_array: "int-array", + latlon: "latlon", + literal: "literal", + literal_array: "literal-array", + text: "text", + text_array: "text-array", +} as const; + +/** + * @public + */ +export type IndexFieldType = (typeof IndexFieldType)[keyof typeof IndexFieldType]; /** * @public @@ -1295,10 +1331,20 @@ export interface DefineIndexFieldResponse { IndexField: IndexFieldStatus | undefined; } +/** + * @public + * @enum + */ +export const SuggesterFuzzyMatching = { + high: "high", + low: "low", + none: "none", +} as const; + /** * @public */ -export type SuggesterFuzzyMatching = "high" | "low" | "none"; +export type SuggesterFuzzyMatching = (typeof SuggesterFuzzyMatching)[keyof typeof SuggesterFuzzyMatching]; /** * @public @@ -1847,27 +1893,34 @@ export interface DescribeScalingParametersRequest { DomainName: string | undefined; } +/** + * @public + * @enum + */ +export const PartitionInstanceType = { + search_2xlarge: "search.2xlarge", + search_large: "search.large", + search_m1_large: "search.m1.large", + search_m1_small: "search.m1.small", + search_m2_2xlarge: "search.m2.2xlarge", + search_m2_xlarge: "search.m2.xlarge", + search_m3_2xlarge: "search.m3.2xlarge", + search_m3_large: "search.m3.large", + search_m3_medium: "search.m3.medium", + search_m3_xlarge: "search.m3.xlarge", + search_medium: "search.medium", + search_previousgeneration_2xlarge: "search.previousgeneration.2xlarge", + search_previousgeneration_large: "search.previousgeneration.large", + search_previousgeneration_small: "search.previousgeneration.small", + search_previousgeneration_xlarge: "search.previousgeneration.xlarge", + search_small: "search.small", + search_xlarge: "search.xlarge", +} as const; + /** * @public */ -export type PartitionInstanceType = - | "search.2xlarge" - | "search.large" - | "search.m1.large" - | "search.m1.small" - | "search.m2.2xlarge" - | "search.m2.xlarge" - | "search.m3.2xlarge" - | "search.m3.large" - | "search.m3.medium" - | "search.m3.xlarge" - | "search.medium" - | "search.previousgeneration.2xlarge" - | "search.previousgeneration.large" - | "search.previousgeneration.small" - | "search.previousgeneration.xlarge" - | "search.small" - | "search.xlarge"; +export type PartitionInstanceType = (typeof PartitionInstanceType)[keyof typeof PartitionInstanceType]; /** * @public diff --git a/clients/client-cloudtrail-data/src/endpoint/EndpointParameters.ts b/clients/client-cloudtrail-data/src/endpoint/EndpointParameters.ts index 067559f86a76a..11e4736840640 100644 --- a/clients/client-cloudtrail-data/src/endpoint/EndpointParameters.ts +++ b/clients/client-cloudtrail-data/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-cloudtrail-data/src/endpoint/ruleset.ts b/clients/client-cloudtrail-data/src/endpoint/ruleset.ts index 1bb5f73a5ff1d..939cc63a8d017 100644 --- a/clients/client-cloudtrail-data/src/endpoint/ruleset.ts +++ b/clients/client-cloudtrail-data/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/cloudtrail-data.json */ -const q="fn", -r="argv", -s="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h={"required":true,"default":false,"type":"Boolean"}, -i={[s]:"Endpoint"}, -j={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -k={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -l={}, -m={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsFIPS"]}]}, -n={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsDualStack"]}]}, +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], o=[j], -p=[k]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[q]:"isSet",[r]:[i]}],type:e,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://cloudtrail-data-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:o,type:e,rules:[{conditions:[m],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://cloudtrail-data-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:p,type:e,rules:[{conditions:[n],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://cloudtrail-data.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{type:e,rules:[{endpoint:{url:"https://cloudtrail-data.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]}]}; +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cloudtrail-data-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cloudtrail-data-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cloudtrail-data.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://cloudtrail-data.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-cloudwatch-logs/src/endpoint/ruleset.ts b/clients/client-cloudwatch-logs/src/endpoint/ruleset.ts index d4f2dcbce5120..77d2d52d9dfd1 100644 --- a/clients/client-cloudwatch-logs/src/endpoint/ruleset.ts +++ b/clients/client-cloudwatch-logs/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:"getAttr",[u]:[{[v]:e},"supportsDualStack" p=[j], q=[k], r=[m]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[n,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://logs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[n],type:b,rules:[{type:b,rules:[{conditions:[{[t]:f,[u]:[m,"us-gov-east-1"]}],endpoint:{url:"https://logs.us-gov-east-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[t]:f,[u]:[m,"us-gov-west-1"]}],endpoint:{url:"https://logs.us-gov-west-1.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://logs-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://logs.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://logs.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[n,o],type:b,rules:[{endpoint:{url:"https://logs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[n],type:b,rules:[{conditions:[{[t]:f,[u]:[m,"us-gov-east-1"]}],endpoint:{url:"https://logs.us-gov-east-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[t]:f,[u]:[m,"us-gov-west-1"]}],endpoint:{url:"https://logs.us-gov-west-1.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://logs-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://logs.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://logs.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-codeartifact/src/endpoint/ruleset.ts b/clients/client-codeartifact/src/endpoint/ruleset.ts index d85021cbd8cdb..35400d4d7c81d 100644 --- a/clients/client-codeartifact/src/endpoint/ruleset.ts +++ b/clients/client-codeartifact/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://codeartifact-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://codeartifact-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://codeartifact.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://codeartifact.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://codeartifact-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://codeartifact-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://codeartifact.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://codeartifact.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-codebuild/src/CodeBuild.ts b/clients/client-codebuild/src/CodeBuild.ts index 16a3bb19a9516..32f015f833e7b 100644 --- a/clients/client-codebuild/src/CodeBuild.ts +++ b/clients/client-codebuild/src/CodeBuild.ts @@ -934,14 +934,14 @@ export interface CodeBuild { /** * @public * CodeBuild - *

CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code, + *

CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code, * runs unit tests, and produces artifacts that are ready to deploy. CodeBuild eliminates the * need to provision, manage, and scale your own build servers. It provides prepackaged * build environments for the most popular programming languages and build tools, such as * Apache Maven, Gradle, and more. You can also fully customize build environments in CodeBuild * to use your own build tools. CodeBuild scales automatically to meet peak build requests. You * pay only for the build time you consume. For more information about CodeBuild, see the - * CodeBuild User + * CodeBuild User * Guide. *

*/ diff --git a/clients/client-codebuild/src/CodeBuildClient.ts b/clients/client-codebuild/src/CodeBuildClient.ts index 6d48f5e29284f..1ca1969c078e4 100644 --- a/clients/client-codebuild/src/CodeBuildClient.ts +++ b/clients/client-codebuild/src/CodeBuildClient.ts @@ -422,14 +422,14 @@ export interface CodeBuildClientResolvedConfig extends CodeBuildClientResolvedCo /** * @public * CodeBuild - *

CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code, + *

CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code, * runs unit tests, and produces artifacts that are ready to deploy. CodeBuild eliminates the * need to provision, manage, and scale your own build servers. It provides prepackaged * build environments for the most popular programming languages and build tools, such as * Apache Maven, Gradle, and more. You can also fully customize build environments in CodeBuild * to use your own build tools. CodeBuild scales automatically to meet peak build requests. You * pay only for the build time you consume. For more information about CodeBuild, see the - * CodeBuild User + * CodeBuild User * Guide. *

*/ diff --git a/clients/client-codebuild/src/commands/BatchGetBuildBatchesCommand.ts b/clients/client-codebuild/src/commands/BatchGetBuildBatchesCommand.ts index b075922537cf1..67144291d0b00 100644 --- a/clients/client-codebuild/src/commands/BatchGetBuildBatchesCommand.ts +++ b/clients/client-codebuild/src/commands/BatchGetBuildBatchesCommand.ts @@ -58,14 +58,14 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // currentPhase: "STRING_VALUE", - * // buildBatchStatus: "STRING_VALUE", + * // buildBatchStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // sourceVersion: "STRING_VALUE", * // resolvedSourceVersion: "STRING_VALUE", * // projectName: "STRING_VALUE", * // phases: [ // BuildBatchPhases * // { // BuildBatchPhase - * // phaseType: "STRING_VALUE", - * // phaseStatus: "STRING_VALUE", + * // phaseType: "SUBMITTED" || "DOWNLOAD_BATCHSPEC" || "IN_PROGRESS" || "COMBINE_ARTIFACTS" || "SUCCEEDED" || "FAILED" || "STOPPED", + * // phaseStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // durationInSeconds: Number("long"), @@ -78,7 +78,7 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO * // }, * // ], * // source: { // ProjectSource - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { // GitSubmodulesConfig @@ -86,7 +86,7 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO * // }, * // buildspec: "STRING_VALUE", * // auth: { // SourceAuth - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -99,7 +99,7 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO * // }, * // secondarySources: [ // ProjectSources * // { - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { @@ -107,7 +107,7 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO * // }, * // buildspec: "STRING_VALUE", * // auth: { - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -132,7 +132,7 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // secondaryArtifacts: [ // BuildArtifactsList * // { @@ -142,47 +142,47 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // ], * // cache: { // ProjectCache - * // type: "STRING_VALUE", // required + * // type: "NO_CACHE" || "S3" || "LOCAL", // required * // location: "STRING_VALUE", * // modes: [ // ProjectCacheModes - * // "STRING_VALUE", + * // "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE", * // ], * // }, * // environment: { // ProjectEnvironment - * // type: "STRING_VALUE", // required + * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "STRING_VALUE", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required * // value: "STRING_VALUE", // required - * // type: "STRING_VALUE", + * // type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER", * // }, * // ], * // privilegedMode: true || false, * // certificate: "STRING_VALUE", * // registryCredential: { // RegistryCredential * // credential: "STRING_VALUE", // required - * // credentialProvider: "STRING_VALUE", // required + * // credentialProvider: "SECRETS_MANAGER", // required * // }, - * // imagePullCredentialsType: "STRING_VALUE", + * // imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE", * // }, * // serviceRole: "STRING_VALUE", * // logConfig: { // LogsConfig * // cloudWatchLogs: { // CloudWatchLogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // groupName: "STRING_VALUE", * // streamName: "STRING_VALUE", * // }, * // s3Logs: { // S3LogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // location: "STRING_VALUE", * // encryptionDisabled: true || false, - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // }, * // buildTimeoutInMinutes: Number("int"), @@ -202,7 +202,7 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO * // buildBatchNumber: Number("long"), * // fileSystemLocations: [ // ProjectFileSystemLocations * // { // ProjectFileSystemLocation - * // type: "STRING_VALUE", + * // type: "EFS", * // location: "STRING_VALUE", * // mountPoint: "STRING_VALUE", * // identifier: "STRING_VALUE", @@ -219,7 +219,7 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO * // ], * // }, * // timeoutInMins: Number("int"), - * // batchReportMode: "STRING_VALUE", + * // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH", * // }, * // buildGroups: [ // BuildGroups * // { // BuildGroup @@ -231,15 +231,15 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO * // currentBuildSummary: { // BuildSummary * // arn: "STRING_VALUE", * // requestedOn: new Date("TIMESTAMP"), - * // buildStatus: "STRING_VALUE", + * // buildStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // primaryArtifact: { // ResolvedArtifact - * // type: "STRING_VALUE", + * // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", * // location: "STRING_VALUE", * // identifier: "STRING_VALUE", * // }, * // secondaryArtifacts: [ // ResolvedSecondaryArtifacts * // { - * // type: "STRING_VALUE", + * // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", * // location: "STRING_VALUE", * // identifier: "STRING_VALUE", * // }, @@ -249,9 +249,9 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO * // { * // arn: "STRING_VALUE", * // requestedOn: new Date("TIMESTAMP"), - * // buildStatus: "STRING_VALUE", + * // buildStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // primaryArtifact: { - * // type: "STRING_VALUE", + * // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", * // location: "STRING_VALUE", * // identifier: "STRING_VALUE", * // }, diff --git a/clients/client-codebuild/src/commands/BatchGetBuildsCommand.ts b/clients/client-codebuild/src/commands/BatchGetBuildsCommand.ts index b1a437f0efbdb..027c251de974f 100644 --- a/clients/client-codebuild/src/commands/BatchGetBuildsCommand.ts +++ b/clients/client-codebuild/src/commands/BatchGetBuildsCommand.ts @@ -59,14 +59,14 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // currentPhase: "STRING_VALUE", - * // buildStatus: "STRING_VALUE", + * // buildStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // sourceVersion: "STRING_VALUE", * // resolvedSourceVersion: "STRING_VALUE", * // projectName: "STRING_VALUE", * // phases: [ // BuildPhases * // { // BuildPhase - * // phaseType: "STRING_VALUE", - * // phaseStatus: "STRING_VALUE", + * // phaseType: "SUBMITTED" || "QUEUED" || "PROVISIONING" || "DOWNLOAD_SOURCE" || "INSTALL" || "PRE_BUILD" || "BUILD" || "POST_BUILD" || "UPLOAD_ARTIFACTS" || "FINALIZING" || "COMPLETED", + * // phaseStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // durationInSeconds: Number("long"), @@ -79,7 +79,7 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met * // }, * // ], * // source: { // ProjectSource - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { // GitSubmodulesConfig @@ -87,7 +87,7 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met * // }, * // buildspec: "STRING_VALUE", * // auth: { // SourceAuth - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -100,7 +100,7 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met * // }, * // secondarySources: [ // ProjectSources * // { - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { @@ -108,7 +108,7 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met * // }, * // buildspec: "STRING_VALUE", * // auth: { - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -133,7 +133,7 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // secondaryArtifacts: [ // BuildArtifactsList * // { @@ -143,34 +143,34 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // ], * // cache: { // ProjectCache - * // type: "STRING_VALUE", // required + * // type: "NO_CACHE" || "S3" || "LOCAL", // required * // location: "STRING_VALUE", * // modes: [ // ProjectCacheModes - * // "STRING_VALUE", + * // "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE", * // ], * // }, * // environment: { // ProjectEnvironment - * // type: "STRING_VALUE", // required + * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "STRING_VALUE", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required * // value: "STRING_VALUE", // required - * // type: "STRING_VALUE", + * // type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER", * // }, * // ], * // privilegedMode: true || false, * // certificate: "STRING_VALUE", * // registryCredential: { // RegistryCredential * // credential: "STRING_VALUE", // required - * // credentialProvider: "STRING_VALUE", // required + * // credentialProvider: "SECRETS_MANAGER", // required * // }, - * // imagePullCredentialsType: "STRING_VALUE", + * // imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE", * // }, * // serviceRole: "STRING_VALUE", * // logs: { // LogsLocation @@ -181,15 +181,15 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met * // cloudWatchLogsArn: "STRING_VALUE", * // s3LogsArn: "STRING_VALUE", * // cloudWatchLogs: { // CloudWatchLogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // groupName: "STRING_VALUE", * // streamName: "STRING_VALUE", * // }, * // s3Logs: { // S3LogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // location: "STRING_VALUE", * // encryptionDisabled: true || false, - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // }, * // timeoutInMinutes: Number("int"), @@ -221,7 +221,7 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met * // ], * // fileSystemLocations: [ // ProjectFileSystemLocations * // { // ProjectFileSystemLocation - * // type: "STRING_VALUE", + * // type: "EFS", * // location: "STRING_VALUE", * // mountPoint: "STRING_VALUE", * // identifier: "STRING_VALUE", diff --git a/clients/client-codebuild/src/commands/BatchGetProjectsCommand.ts b/clients/client-codebuild/src/commands/BatchGetProjectsCommand.ts index 5f7bd8f0610f2..1fc9035e81f86 100644 --- a/clients/client-codebuild/src/commands/BatchGetProjectsCommand.ts +++ b/clients/client-codebuild/src/commands/BatchGetProjectsCommand.ts @@ -57,7 +57,7 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _ * // arn: "STRING_VALUE", * // description: "STRING_VALUE", * // source: { // ProjectSource - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { // GitSubmodulesConfig @@ -65,7 +65,7 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _ * // }, * // buildspec: "STRING_VALUE", * // auth: { // SourceAuth - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -78,7 +78,7 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _ * // }, * // secondarySources: [ // ProjectSources * // { - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { @@ -86,7 +86,7 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _ * // }, * // buildspec: "STRING_VALUE", * // auth: { - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -106,56 +106,56 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _ * // }, * // ], * // artifacts: { // ProjectArtifacts - * // type: "STRING_VALUE", // required + * // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required * // location: "STRING_VALUE", * // path: "STRING_VALUE", - * // namespaceType: "STRING_VALUE", + * // namespaceType: "NONE" || "BUILD_ID", * // name: "STRING_VALUE", - * // packaging: "STRING_VALUE", + * // packaging: "NONE" || "ZIP", * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // secondaryArtifacts: [ // ProjectArtifactsList * // { - * // type: "STRING_VALUE", // required + * // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required * // location: "STRING_VALUE", * // path: "STRING_VALUE", - * // namespaceType: "STRING_VALUE", + * // namespaceType: "NONE" || "BUILD_ID", * // name: "STRING_VALUE", - * // packaging: "STRING_VALUE", + * // packaging: "NONE" || "ZIP", * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // ], * // cache: { // ProjectCache - * // type: "STRING_VALUE", // required + * // type: "NO_CACHE" || "S3" || "LOCAL", // required * // location: "STRING_VALUE", * // modes: [ // ProjectCacheModes - * // "STRING_VALUE", + * // "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE", * // ], * // }, * // environment: { // ProjectEnvironment - * // type: "STRING_VALUE", // required + * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "STRING_VALUE", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required * // value: "STRING_VALUE", // required - * // type: "STRING_VALUE", + * // type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER", * // }, * // ], * // privilegedMode: true || false, * // certificate: "STRING_VALUE", * // registryCredential: { // RegistryCredential * // credential: "STRING_VALUE", // required - * // credentialProvider: "STRING_VALUE", // required + * // credentialProvider: "SECRETS_MANAGER", // required * // }, - * // imagePullCredentialsType: "STRING_VALUE", + * // imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE", * // }, * // serviceRole: "STRING_VALUE", * // timeoutInMinutes: Number("int"), @@ -177,13 +177,13 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _ * // filterGroups: [ // FilterGroups * // [ // FilterGroup * // { // WebhookFilter - * // type: "STRING_VALUE", // required + * // type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE", // required * // pattern: "STRING_VALUE", // required * // excludeMatchedPattern: true || false, * // }, * // ], * // ], - * // buildType: "STRING_VALUE", + * // buildType: "BUILD" || "BUILD_BATCH", * // lastModifiedSecret: new Date("TIMESTAMP"), * // }, * // vpcConfig: { // VpcConfig @@ -201,20 +201,20 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _ * // }, * // logsConfig: { // LogsConfig * // cloudWatchLogs: { // CloudWatchLogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // groupName: "STRING_VALUE", * // streamName: "STRING_VALUE", * // }, * // s3Logs: { // S3LogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // location: "STRING_VALUE", * // encryptionDisabled: true || false, - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // }, * // fileSystemLocations: [ // ProjectFileSystemLocations * // { // ProjectFileSystemLocation - * // type: "STRING_VALUE", + * // type: "EFS", * // location: "STRING_VALUE", * // mountPoint: "STRING_VALUE", * // identifier: "STRING_VALUE", @@ -231,10 +231,10 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _ * // ], * // }, * // timeoutInMins: Number("int"), - * // batchReportMode: "STRING_VALUE", + * // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH", * // }, * // concurrentBuildLimit: Number("int"), - * // projectVisibility: "STRING_VALUE", + * // projectVisibility: "PUBLIC_READ" || "PRIVATE", * // publicProjectAlias: "STRING_VALUE", * // resourceAccessRole: "STRING_VALUE", * // }, diff --git a/clients/client-codebuild/src/commands/BatchGetReportGroupsCommand.ts b/clients/client-codebuild/src/commands/BatchGetReportGroupsCommand.ts index 8bf79b34b1204..e158255afe733 100644 --- a/clients/client-codebuild/src/commands/BatchGetReportGroupsCommand.ts +++ b/clients/client-codebuild/src/commands/BatchGetReportGroupsCommand.ts @@ -57,14 +57,14 @@ export interface BatchGetReportGroupsCommandOutput extends BatchGetReportGroupsO * // { // ReportGroup * // arn: "STRING_VALUE", * // name: "STRING_VALUE", - * // type: "STRING_VALUE", + * // type: "TEST" || "CODE_COVERAGE", * // exportConfig: { // ReportExportConfig - * // exportConfigType: "STRING_VALUE", + * // exportConfigType: "S3" || "NO_EXPORT", * // s3Destination: { // S3ReportExportConfig * // bucket: "STRING_VALUE", * // bucketOwner: "STRING_VALUE", * // path: "STRING_VALUE", - * // packaging: "STRING_VALUE", + * // packaging: "ZIP" || "NONE", * // encryptionKey: "STRING_VALUE", * // encryptionDisabled: true || false, * // }, @@ -77,7 +77,7 @@ export interface BatchGetReportGroupsCommandOutput extends BatchGetReportGroupsO * // value: "STRING_VALUE", * // }, * // ], - * // status: "STRING_VALUE", + * // status: "ACTIVE" || "DELETING", * // }, * // ], * // reportGroupsNotFound: [ // ReportGroupArns diff --git a/clients/client-codebuild/src/commands/BatchGetReportsCommand.ts b/clients/client-codebuild/src/commands/BatchGetReportsCommand.ts index b717dffecf958..9fcdc073572b0 100644 --- a/clients/client-codebuild/src/commands/BatchGetReportsCommand.ts +++ b/clients/client-codebuild/src/commands/BatchGetReportsCommand.ts @@ -56,20 +56,20 @@ export interface BatchGetReportsCommandOutput extends BatchGetReportsOutput, __M * // reports: [ // Reports * // { // Report * // arn: "STRING_VALUE", - * // type: "STRING_VALUE", + * // type: "TEST" || "CODE_COVERAGE", * // name: "STRING_VALUE", * // reportGroupArn: "STRING_VALUE", * // executionId: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "GENERATING" || "SUCCEEDED" || "FAILED" || "INCOMPLETE" || "DELETING", * // created: new Date("TIMESTAMP"), * // expired: new Date("TIMESTAMP"), * // exportConfig: { // ReportExportConfig - * // exportConfigType: "STRING_VALUE", + * // exportConfigType: "S3" || "NO_EXPORT", * // s3Destination: { // S3ReportExportConfig * // bucket: "STRING_VALUE", * // bucketOwner: "STRING_VALUE", * // path: "STRING_VALUE", - * // packaging: "STRING_VALUE", + * // packaging: "ZIP" || "NONE", * // encryptionKey: "STRING_VALUE", * // encryptionDisabled: true || false, * // }, diff --git a/clients/client-codebuild/src/commands/CreateProjectCommand.ts b/clients/client-codebuild/src/commands/CreateProjectCommand.ts index 4532f56a2ae8d..f0aa4e01d3436 100644 --- a/clients/client-codebuild/src/commands/CreateProjectCommand.ts +++ b/clients/client-codebuild/src/commands/CreateProjectCommand.ts @@ -47,7 +47,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad * name: "STRING_VALUE", // required * description: "STRING_VALUE", * source: { // ProjectSource - * type: "STRING_VALUE", // required + * type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * location: "STRING_VALUE", * gitCloneDepth: Number("int"), * gitSubmodulesConfig: { // GitSubmodulesConfig @@ -55,7 +55,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad * }, * buildspec: "STRING_VALUE", * auth: { // SourceAuth - * type: "STRING_VALUE", // required + * type: "OAUTH", // required * resource: "STRING_VALUE", * }, * reportBuildStatus: true || false, @@ -68,7 +68,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad * }, * secondarySources: [ // ProjectSources * { - * type: "STRING_VALUE", // required + * type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * location: "STRING_VALUE", * gitCloneDepth: Number("int"), * gitSubmodulesConfig: { @@ -76,7 +76,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad * }, * buildspec: "STRING_VALUE", * auth: { - * type: "STRING_VALUE", // required + * type: "OAUTH", // required * resource: "STRING_VALUE", * }, * reportBuildStatus: true || false, @@ -96,56 +96,56 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad * }, * ], * artifacts: { // ProjectArtifacts - * type: "STRING_VALUE", // required + * type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required * location: "STRING_VALUE", * path: "STRING_VALUE", - * namespaceType: "STRING_VALUE", + * namespaceType: "NONE" || "BUILD_ID", * name: "STRING_VALUE", - * packaging: "STRING_VALUE", + * packaging: "NONE" || "ZIP", * overrideArtifactName: true || false, * encryptionDisabled: true || false, * artifactIdentifier: "STRING_VALUE", - * bucketOwnerAccess: "STRING_VALUE", + * bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * }, * secondaryArtifacts: [ // ProjectArtifactsList * { - * type: "STRING_VALUE", // required + * type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required * location: "STRING_VALUE", * path: "STRING_VALUE", - * namespaceType: "STRING_VALUE", + * namespaceType: "NONE" || "BUILD_ID", * name: "STRING_VALUE", - * packaging: "STRING_VALUE", + * packaging: "NONE" || "ZIP", * overrideArtifactName: true || false, * encryptionDisabled: true || false, * artifactIdentifier: "STRING_VALUE", - * bucketOwnerAccess: "STRING_VALUE", + * bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * }, * ], * cache: { // ProjectCache - * type: "STRING_VALUE", // required + * type: "NO_CACHE" || "S3" || "LOCAL", // required * location: "STRING_VALUE", * modes: [ // ProjectCacheModes - * "STRING_VALUE", + * "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE", * ], * }, * environment: { // ProjectEnvironment - * type: "STRING_VALUE", // required + * type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required * image: "STRING_VALUE", // required - * computeType: "STRING_VALUE", // required + * computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required * environmentVariables: [ // EnvironmentVariables * { // EnvironmentVariable * name: "STRING_VALUE", // required * value: "STRING_VALUE", // required - * type: "STRING_VALUE", + * type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER", * }, * ], * privilegedMode: true || false, * certificate: "STRING_VALUE", * registryCredential: { // RegistryCredential * credential: "STRING_VALUE", // required - * credentialProvider: "STRING_VALUE", // required + * credentialProvider: "SECRETS_MANAGER", // required * }, - * imagePullCredentialsType: "STRING_VALUE", + * imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE", * }, * serviceRole: "STRING_VALUE", // required * timeoutInMinutes: Number("int"), @@ -169,20 +169,20 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad * badgeEnabled: true || false, * logsConfig: { // LogsConfig * cloudWatchLogs: { // CloudWatchLogsConfig - * status: "STRING_VALUE", // required + * status: "ENABLED" || "DISABLED", // required * groupName: "STRING_VALUE", * streamName: "STRING_VALUE", * }, * s3Logs: { // S3LogsConfig - * status: "STRING_VALUE", // required + * status: "ENABLED" || "DISABLED", // required * location: "STRING_VALUE", * encryptionDisabled: true || false, - * bucketOwnerAccess: "STRING_VALUE", + * bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * }, * }, * fileSystemLocations: [ // ProjectFileSystemLocations * { // ProjectFileSystemLocation - * type: "STRING_VALUE", + * type: "EFS", * location: "STRING_VALUE", * mountPoint: "STRING_VALUE", * identifier: "STRING_VALUE", @@ -199,7 +199,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad * ], * }, * timeoutInMins: Number("int"), - * batchReportMode: "STRING_VALUE", + * batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH", * }, * concurrentBuildLimit: Number("int"), * }; @@ -211,7 +211,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad * // arn: "STRING_VALUE", * // description: "STRING_VALUE", * // source: { // ProjectSource - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { // GitSubmodulesConfig @@ -219,7 +219,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad * // }, * // buildspec: "STRING_VALUE", * // auth: { // SourceAuth - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -232,7 +232,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad * // }, * // secondarySources: [ // ProjectSources * // { - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { @@ -240,7 +240,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad * // }, * // buildspec: "STRING_VALUE", * // auth: { - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -260,56 +260,56 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad * // }, * // ], * // artifacts: { // ProjectArtifacts - * // type: "STRING_VALUE", // required + * // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required * // location: "STRING_VALUE", * // path: "STRING_VALUE", - * // namespaceType: "STRING_VALUE", + * // namespaceType: "NONE" || "BUILD_ID", * // name: "STRING_VALUE", - * // packaging: "STRING_VALUE", + * // packaging: "NONE" || "ZIP", * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // secondaryArtifacts: [ // ProjectArtifactsList * // { - * // type: "STRING_VALUE", // required + * // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required * // location: "STRING_VALUE", * // path: "STRING_VALUE", - * // namespaceType: "STRING_VALUE", + * // namespaceType: "NONE" || "BUILD_ID", * // name: "STRING_VALUE", - * // packaging: "STRING_VALUE", + * // packaging: "NONE" || "ZIP", * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // ], * // cache: { // ProjectCache - * // type: "STRING_VALUE", // required + * // type: "NO_CACHE" || "S3" || "LOCAL", // required * // location: "STRING_VALUE", * // modes: [ // ProjectCacheModes - * // "STRING_VALUE", + * // "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE", * // ], * // }, * // environment: { // ProjectEnvironment - * // type: "STRING_VALUE", // required + * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "STRING_VALUE", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required * // value: "STRING_VALUE", // required - * // type: "STRING_VALUE", + * // type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER", * // }, * // ], * // privilegedMode: true || false, * // certificate: "STRING_VALUE", * // registryCredential: { // RegistryCredential * // credential: "STRING_VALUE", // required - * // credentialProvider: "STRING_VALUE", // required + * // credentialProvider: "SECRETS_MANAGER", // required * // }, - * // imagePullCredentialsType: "STRING_VALUE", + * // imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE", * // }, * // serviceRole: "STRING_VALUE", * // timeoutInMinutes: Number("int"), @@ -331,13 +331,13 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad * // filterGroups: [ // FilterGroups * // [ // FilterGroup * // { // WebhookFilter - * // type: "STRING_VALUE", // required + * // type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE", // required * // pattern: "STRING_VALUE", // required * // excludeMatchedPattern: true || false, * // }, * // ], * // ], - * // buildType: "STRING_VALUE", + * // buildType: "BUILD" || "BUILD_BATCH", * // lastModifiedSecret: new Date("TIMESTAMP"), * // }, * // vpcConfig: { // VpcConfig @@ -355,20 +355,20 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad * // }, * // logsConfig: { // LogsConfig * // cloudWatchLogs: { // CloudWatchLogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // groupName: "STRING_VALUE", * // streamName: "STRING_VALUE", * // }, * // s3Logs: { // S3LogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // location: "STRING_VALUE", * // encryptionDisabled: true || false, - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // }, * // fileSystemLocations: [ // ProjectFileSystemLocations * // { // ProjectFileSystemLocation - * // type: "STRING_VALUE", + * // type: "EFS", * // location: "STRING_VALUE", * // mountPoint: "STRING_VALUE", * // identifier: "STRING_VALUE", @@ -385,10 +385,10 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad * // ], * // }, * // timeoutInMins: Number("int"), - * // batchReportMode: "STRING_VALUE", + * // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH", * // }, * // concurrentBuildLimit: Number("int"), - * // projectVisibility: "STRING_VALUE", + * // projectVisibility: "PUBLIC_READ" || "PRIVATE", * // publicProjectAlias: "STRING_VALUE", * // resourceAccessRole: "STRING_VALUE", * // }, diff --git a/clients/client-codebuild/src/commands/CreateReportGroupCommand.ts b/clients/client-codebuild/src/commands/CreateReportGroupCommand.ts index 70ad0ff36e6a0..2bb79faf1ad40 100644 --- a/clients/client-codebuild/src/commands/CreateReportGroupCommand.ts +++ b/clients/client-codebuild/src/commands/CreateReportGroupCommand.ts @@ -47,14 +47,14 @@ export interface CreateReportGroupCommandOutput extends CreateReportGroupOutput, * const client = new CodeBuildClient(config); * const input = { // CreateReportGroupInput * name: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "TEST" || "CODE_COVERAGE", // required * exportConfig: { // ReportExportConfig - * exportConfigType: "STRING_VALUE", + * exportConfigType: "S3" || "NO_EXPORT", * s3Destination: { // S3ReportExportConfig * bucket: "STRING_VALUE", * bucketOwner: "STRING_VALUE", * path: "STRING_VALUE", - * packaging: "STRING_VALUE", + * packaging: "ZIP" || "NONE", * encryptionKey: "STRING_VALUE", * encryptionDisabled: true || false, * }, @@ -72,14 +72,14 @@ export interface CreateReportGroupCommandOutput extends CreateReportGroupOutput, * // reportGroup: { // ReportGroup * // arn: "STRING_VALUE", * // name: "STRING_VALUE", - * // type: "STRING_VALUE", + * // type: "TEST" || "CODE_COVERAGE", * // exportConfig: { // ReportExportConfig - * // exportConfigType: "STRING_VALUE", + * // exportConfigType: "S3" || "NO_EXPORT", * // s3Destination: { // S3ReportExportConfig * // bucket: "STRING_VALUE", * // bucketOwner: "STRING_VALUE", * // path: "STRING_VALUE", - * // packaging: "STRING_VALUE", + * // packaging: "ZIP" || "NONE", * // encryptionKey: "STRING_VALUE", * // encryptionDisabled: true || false, * // }, @@ -92,7 +92,7 @@ export interface CreateReportGroupCommandOutput extends CreateReportGroupOutput, * // value: "STRING_VALUE", * // }, * // ], - * // status: "STRING_VALUE", + * // status: "ACTIVE" || "DELETING", * // }, * // }; * diff --git a/clients/client-codebuild/src/commands/CreateWebhookCommand.ts b/clients/client-codebuild/src/commands/CreateWebhookCommand.ts index fb380d717a694..e297e4ee878e8 100644 --- a/clients/client-codebuild/src/commands/CreateWebhookCommand.ts +++ b/clients/client-codebuild/src/commands/CreateWebhookCommand.ts @@ -59,13 +59,13 @@ export interface CreateWebhookCommandOutput extends CreateWebhookOutput, __Metad * filterGroups: [ // FilterGroups * [ // FilterGroup * { // WebhookFilter - * type: "STRING_VALUE", // required + * type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE", // required * pattern: "STRING_VALUE", // required * excludeMatchedPattern: true || false, * }, * ], * ], - * buildType: "STRING_VALUE", + * buildType: "BUILD" || "BUILD_BATCH", * }; * const command = new CreateWebhookCommand(input); * const response = await client.send(command); @@ -78,13 +78,13 @@ export interface CreateWebhookCommandOutput extends CreateWebhookOutput, __Metad * // filterGroups: [ // FilterGroups * // [ // FilterGroup * // { // WebhookFilter - * // type: "STRING_VALUE", // required + * // type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE", // required * // pattern: "STRING_VALUE", // required * // excludeMatchedPattern: true || false, * // }, * // ], * // ], - * // buildType: "STRING_VALUE", + * // buildType: "BUILD" || "BUILD_BATCH", * // lastModifiedSecret: new Date("TIMESTAMP"), * // }, * // }; diff --git a/clients/client-codebuild/src/commands/DescribeCodeCoveragesCommand.ts b/clients/client-codebuild/src/commands/DescribeCodeCoveragesCommand.ts index bc1c7e8c0f2b7..585936469e8b5 100644 --- a/clients/client-codebuild/src/commands/DescribeCodeCoveragesCommand.ts +++ b/clients/client-codebuild/src/commands/DescribeCodeCoveragesCommand.ts @@ -47,8 +47,8 @@ export interface DescribeCodeCoveragesCommandOutput extends DescribeCodeCoverage * reportArn: "STRING_VALUE", // required * nextToken: "STRING_VALUE", * maxResults: Number("int"), - * sortOrder: "STRING_VALUE", - * sortBy: "STRING_VALUE", + * sortOrder: "ASCENDING" || "DESCENDING", + * sortBy: "LINE_COVERAGE_PERCENTAGE" || "FILE_PATH", * minLineCoveragePercentage: Number("double"), * maxLineCoveragePercentage: Number("double"), * }; diff --git a/clients/client-codebuild/src/commands/GetReportGroupTrendCommand.ts b/clients/client-codebuild/src/commands/GetReportGroupTrendCommand.ts index 7c44b4f90d126..ba8586045d467 100644 --- a/clients/client-codebuild/src/commands/GetReportGroupTrendCommand.ts +++ b/clients/client-codebuild/src/commands/GetReportGroupTrendCommand.ts @@ -46,7 +46,7 @@ export interface GetReportGroupTrendCommandOutput extends GetReportGroupTrendOut * const input = { // GetReportGroupTrendInput * reportGroupArn: "STRING_VALUE", // required * numOfReports: Number("int"), - * trendField: "STRING_VALUE", // required + * trendField: "PASS_RATE" || "DURATION" || "TOTAL" || "LINE_COVERAGE" || "LINES_COVERED" || "LINES_MISSED" || "BRANCH_COVERAGE" || "BRANCHES_COVERED" || "BRANCHES_MISSED", // required * }; * const command = new GetReportGroupTrendCommand(input); * const response = await client.send(command); diff --git a/clients/client-codebuild/src/commands/ImportSourceCredentialsCommand.ts b/clients/client-codebuild/src/commands/ImportSourceCredentialsCommand.ts index c4e794c346544..e16bdc6f213bc 100644 --- a/clients/client-codebuild/src/commands/ImportSourceCredentialsCommand.ts +++ b/clients/client-codebuild/src/commands/ImportSourceCredentialsCommand.ts @@ -51,8 +51,8 @@ export interface ImportSourceCredentialsCommandOutput extends ImportSourceCreden * const input = { // ImportSourceCredentialsInput * username: "STRING_VALUE", * token: "STRING_VALUE", // required - * serverType: "STRING_VALUE", // required - * authType: "STRING_VALUE", // required + * serverType: "GITHUB" || "BITBUCKET" || "GITHUB_ENTERPRISE", // required + * authType: "OAUTH" || "BASIC_AUTH" || "PERSONAL_ACCESS_TOKEN", // required * shouldOverwrite: true || false, * }; * const command = new ImportSourceCredentialsCommand(input); diff --git a/clients/client-codebuild/src/commands/ListBuildBatchesCommand.ts b/clients/client-codebuild/src/commands/ListBuildBatchesCommand.ts index 26409fc6d1b1b..4586ffcd4bd2f 100644 --- a/clients/client-codebuild/src/commands/ListBuildBatchesCommand.ts +++ b/clients/client-codebuild/src/commands/ListBuildBatchesCommand.ts @@ -45,10 +45,10 @@ export interface ListBuildBatchesCommandOutput extends ListBuildBatchesOutput, _ * const client = new CodeBuildClient(config); * const input = { // ListBuildBatchesInput * filter: { // BuildBatchFilter - * status: "STRING_VALUE", + * status: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * }, * maxResults: Number("int"), - * sortOrder: "STRING_VALUE", + * sortOrder: "ASCENDING" || "DESCENDING", * nextToken: "STRING_VALUE", * }; * const command = new ListBuildBatchesCommand(input); diff --git a/clients/client-codebuild/src/commands/ListBuildBatchesForProjectCommand.ts b/clients/client-codebuild/src/commands/ListBuildBatchesForProjectCommand.ts index 793c920408181..0e7d8ea02e8c8 100644 --- a/clients/client-codebuild/src/commands/ListBuildBatchesForProjectCommand.ts +++ b/clients/client-codebuild/src/commands/ListBuildBatchesForProjectCommand.ts @@ -46,10 +46,10 @@ export interface ListBuildBatchesForProjectCommandOutput extends ListBuildBatche * const input = { // ListBuildBatchesForProjectInput * projectName: "STRING_VALUE", * filter: { // BuildBatchFilter - * status: "STRING_VALUE", + * status: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * }, * maxResults: Number("int"), - * sortOrder: "STRING_VALUE", + * sortOrder: "ASCENDING" || "DESCENDING", * nextToken: "STRING_VALUE", * }; * const command = new ListBuildBatchesForProjectCommand(input); diff --git a/clients/client-codebuild/src/commands/ListBuildsCommand.ts b/clients/client-codebuild/src/commands/ListBuildsCommand.ts index 8757844f504dc..edb5c9d05ec2d 100644 --- a/clients/client-codebuild/src/commands/ListBuildsCommand.ts +++ b/clients/client-codebuild/src/commands/ListBuildsCommand.ts @@ -44,7 +44,7 @@ export interface ListBuildsCommandOutput extends ListBuildsOutput, __MetadataBea * // const { CodeBuildClient, ListBuildsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import * const client = new CodeBuildClient(config); * const input = { // ListBuildsInput - * sortOrder: "STRING_VALUE", + * sortOrder: "ASCENDING" || "DESCENDING", * nextToken: "STRING_VALUE", * }; * const command = new ListBuildsCommand(input); diff --git a/clients/client-codebuild/src/commands/ListBuildsForProjectCommand.ts b/clients/client-codebuild/src/commands/ListBuildsForProjectCommand.ts index 690497853148d..77240baca2d98 100644 --- a/clients/client-codebuild/src/commands/ListBuildsForProjectCommand.ts +++ b/clients/client-codebuild/src/commands/ListBuildsForProjectCommand.ts @@ -46,7 +46,7 @@ export interface ListBuildsForProjectCommandOutput extends ListBuildsForProjectO * const client = new CodeBuildClient(config); * const input = { // ListBuildsForProjectInput * projectName: "STRING_VALUE", // required - * sortOrder: "STRING_VALUE", + * sortOrder: "ASCENDING" || "DESCENDING", * nextToken: "STRING_VALUE", * }; * const command = new ListBuildsForProjectCommand(input); diff --git a/clients/client-codebuild/src/commands/ListCuratedEnvironmentImagesCommand.ts b/clients/client-codebuild/src/commands/ListCuratedEnvironmentImagesCommand.ts index 36aa306a6eadb..0e0644b204d51 100644 --- a/clients/client-codebuild/src/commands/ListCuratedEnvironmentImagesCommand.ts +++ b/clients/client-codebuild/src/commands/ListCuratedEnvironmentImagesCommand.ts @@ -54,10 +54,10 @@ export interface ListCuratedEnvironmentImagesCommandOutput * // { // ListCuratedEnvironmentImagesOutput * // platforms: [ // EnvironmentPlatforms * // { // EnvironmentPlatform - * // platform: "STRING_VALUE", + * // platform: "DEBIAN" || "AMAZON_LINUX" || "UBUNTU" || "WINDOWS_SERVER", * // languages: [ // EnvironmentLanguages * // { // EnvironmentLanguage - * // language: "STRING_VALUE", + * // language: "JAVA" || "PYTHON" || "NODE_JS" || "RUBY" || "GOLANG" || "DOCKER" || "ANDROID" || "DOTNET" || "BASE" || "PHP", * // images: [ // EnvironmentImages * // { // EnvironmentImage * // name: "STRING_VALUE", diff --git a/clients/client-codebuild/src/commands/ListProjectsCommand.ts b/clients/client-codebuild/src/commands/ListProjectsCommand.ts index 97e891bc008ae..48a5ef1297c75 100644 --- a/clients/client-codebuild/src/commands/ListProjectsCommand.ts +++ b/clients/client-codebuild/src/commands/ListProjectsCommand.ts @@ -45,8 +45,8 @@ export interface ListProjectsCommandOutput extends ListProjectsOutput, __Metadat * // const { CodeBuildClient, ListProjectsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import * const client = new CodeBuildClient(config); * const input = { // ListProjectsInput - * sortBy: "STRING_VALUE", - * sortOrder: "STRING_VALUE", + * sortBy: "NAME" || "CREATED_TIME" || "LAST_MODIFIED_TIME", + * sortOrder: "ASCENDING" || "DESCENDING", * nextToken: "STRING_VALUE", * }; * const command = new ListProjectsCommand(input); diff --git a/clients/client-codebuild/src/commands/ListReportGroupsCommand.ts b/clients/client-codebuild/src/commands/ListReportGroupsCommand.ts index 7d78cea2eca30..805aa421a8be8 100644 --- a/clients/client-codebuild/src/commands/ListReportGroupsCommand.ts +++ b/clients/client-codebuild/src/commands/ListReportGroupsCommand.ts @@ -46,8 +46,8 @@ export interface ListReportGroupsCommandOutput extends ListReportGroupsOutput, _ * // const { CodeBuildClient, ListReportGroupsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import * const client = new CodeBuildClient(config); * const input = { // ListReportGroupsInput - * sortOrder: "STRING_VALUE", - * sortBy: "STRING_VALUE", + * sortOrder: "ASCENDING" || "DESCENDING", + * sortBy: "NAME" || "CREATED_TIME" || "LAST_MODIFIED_TIME", * nextToken: "STRING_VALUE", * maxResults: Number("int"), * }; diff --git a/clients/client-codebuild/src/commands/ListReportsCommand.ts b/clients/client-codebuild/src/commands/ListReportsCommand.ts index 8f21b86f2784e..1ba2ea5b28832 100644 --- a/clients/client-codebuild/src/commands/ListReportsCommand.ts +++ b/clients/client-codebuild/src/commands/ListReportsCommand.ts @@ -46,11 +46,11 @@ export interface ListReportsCommandOutput extends ListReportsOutput, __MetadataB * // const { CodeBuildClient, ListReportsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import * const client = new CodeBuildClient(config); * const input = { // ListReportsInput - * sortOrder: "STRING_VALUE", + * sortOrder: "ASCENDING" || "DESCENDING", * nextToken: "STRING_VALUE", * maxResults: Number("int"), * filter: { // ReportFilter - * status: "STRING_VALUE", + * status: "GENERATING" || "SUCCEEDED" || "FAILED" || "INCOMPLETE" || "DELETING", * }, * }; * const command = new ListReportsCommand(input); diff --git a/clients/client-codebuild/src/commands/ListReportsForReportGroupCommand.ts b/clients/client-codebuild/src/commands/ListReportsForReportGroupCommand.ts index be1e1d89b8dd6..b3081804ee844 100644 --- a/clients/client-codebuild/src/commands/ListReportsForReportGroupCommand.ts +++ b/clients/client-codebuild/src/commands/ListReportsForReportGroupCommand.ts @@ -48,10 +48,10 @@ export interface ListReportsForReportGroupCommandOutput extends ListReportsForRe * const input = { // ListReportsForReportGroupInput * reportGroupArn: "STRING_VALUE", // required * nextToken: "STRING_VALUE", - * sortOrder: "STRING_VALUE", + * sortOrder: "ASCENDING" || "DESCENDING", * maxResults: Number("int"), * filter: { // ReportFilter - * status: "STRING_VALUE", + * status: "GENERATING" || "SUCCEEDED" || "FAILED" || "INCOMPLETE" || "DELETING", * }, * }; * const command = new ListReportsForReportGroupCommand(input); diff --git a/clients/client-codebuild/src/commands/ListSharedProjectsCommand.ts b/clients/client-codebuild/src/commands/ListSharedProjectsCommand.ts index e8c2b339c9f02..a37f689e292fb 100644 --- a/clients/client-codebuild/src/commands/ListSharedProjectsCommand.ts +++ b/clients/client-codebuild/src/commands/ListSharedProjectsCommand.ts @@ -44,8 +44,8 @@ export interface ListSharedProjectsCommandOutput extends ListSharedProjectsOutpu * // const { CodeBuildClient, ListSharedProjectsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import * const client = new CodeBuildClient(config); * const input = { // ListSharedProjectsInput - * sortBy: "STRING_VALUE", - * sortOrder: "STRING_VALUE", + * sortBy: "ARN" || "MODIFIED_TIME", + * sortOrder: "ASCENDING" || "DESCENDING", * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; diff --git a/clients/client-codebuild/src/commands/ListSharedReportGroupsCommand.ts b/clients/client-codebuild/src/commands/ListSharedReportGroupsCommand.ts index 5a8af49898d1c..1521bb81e3837 100644 --- a/clients/client-codebuild/src/commands/ListSharedReportGroupsCommand.ts +++ b/clients/client-codebuild/src/commands/ListSharedReportGroupsCommand.ts @@ -45,8 +45,8 @@ export interface ListSharedReportGroupsCommandOutput extends ListSharedReportGro * // const { CodeBuildClient, ListSharedReportGroupsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import * const client = new CodeBuildClient(config); * const input = { // ListSharedReportGroupsInput - * sortOrder: "STRING_VALUE", - * sortBy: "STRING_VALUE", + * sortOrder: "ASCENDING" || "DESCENDING", + * sortBy: "ARN" || "MODIFIED_TIME", * nextToken: "STRING_VALUE", * maxResults: Number("int"), * }; diff --git a/clients/client-codebuild/src/commands/ListSourceCredentialsCommand.ts b/clients/client-codebuild/src/commands/ListSourceCredentialsCommand.ts index 8e7b29cddd250..23c394d23908e 100644 --- a/clients/client-codebuild/src/commands/ListSourceCredentialsCommand.ts +++ b/clients/client-codebuild/src/commands/ListSourceCredentialsCommand.ts @@ -50,8 +50,8 @@ export interface ListSourceCredentialsCommandOutput extends ListSourceCredential * // sourceCredentialsInfos: [ // SourceCredentialsInfos * // { // SourceCredentialsInfo * // arn: "STRING_VALUE", - * // serverType: "STRING_VALUE", - * // authType: "STRING_VALUE", + * // serverType: "GITHUB" || "BITBUCKET" || "GITHUB_ENTERPRISE", + * // authType: "OAUTH" || "BASIC_AUTH" || "PERSONAL_ACCESS_TOKEN", * // }, * // ], * // }; diff --git a/clients/client-codebuild/src/commands/RetryBuildBatchCommand.ts b/clients/client-codebuild/src/commands/RetryBuildBatchCommand.ts index bb3ce99d11a78..89e699e4840d2 100644 --- a/clients/client-codebuild/src/commands/RetryBuildBatchCommand.ts +++ b/clients/client-codebuild/src/commands/RetryBuildBatchCommand.ts @@ -46,7 +46,7 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M * const input = { // RetryBuildBatchInput * id: "STRING_VALUE", * idempotencyToken: "STRING_VALUE", - * retryType: "STRING_VALUE", + * retryType: "RETRY_ALL_BUILDS" || "RETRY_FAILED_BUILDS", * }; * const command = new RetryBuildBatchCommand(input); * const response = await client.send(command); @@ -57,14 +57,14 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // currentPhase: "STRING_VALUE", - * // buildBatchStatus: "STRING_VALUE", + * // buildBatchStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // sourceVersion: "STRING_VALUE", * // resolvedSourceVersion: "STRING_VALUE", * // projectName: "STRING_VALUE", * // phases: [ // BuildBatchPhases * // { // BuildBatchPhase - * // phaseType: "STRING_VALUE", - * // phaseStatus: "STRING_VALUE", + * // phaseType: "SUBMITTED" || "DOWNLOAD_BATCHSPEC" || "IN_PROGRESS" || "COMBINE_ARTIFACTS" || "SUCCEEDED" || "FAILED" || "STOPPED", + * // phaseStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // durationInSeconds: Number("long"), @@ -77,7 +77,7 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M * // }, * // ], * // source: { // ProjectSource - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { // GitSubmodulesConfig @@ -85,7 +85,7 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M * // }, * // buildspec: "STRING_VALUE", * // auth: { // SourceAuth - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -98,7 +98,7 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M * // }, * // secondarySources: [ // ProjectSources * // { - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { @@ -106,7 +106,7 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M * // }, * // buildspec: "STRING_VALUE", * // auth: { - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -131,7 +131,7 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // secondaryArtifacts: [ // BuildArtifactsList * // { @@ -141,47 +141,47 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // ], * // cache: { // ProjectCache - * // type: "STRING_VALUE", // required + * // type: "NO_CACHE" || "S3" || "LOCAL", // required * // location: "STRING_VALUE", * // modes: [ // ProjectCacheModes - * // "STRING_VALUE", + * // "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE", * // ], * // }, * // environment: { // ProjectEnvironment - * // type: "STRING_VALUE", // required + * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "STRING_VALUE", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required * // value: "STRING_VALUE", // required - * // type: "STRING_VALUE", + * // type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER", * // }, * // ], * // privilegedMode: true || false, * // certificate: "STRING_VALUE", * // registryCredential: { // RegistryCredential * // credential: "STRING_VALUE", // required - * // credentialProvider: "STRING_VALUE", // required + * // credentialProvider: "SECRETS_MANAGER", // required * // }, - * // imagePullCredentialsType: "STRING_VALUE", + * // imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE", * // }, * // serviceRole: "STRING_VALUE", * // logConfig: { // LogsConfig * // cloudWatchLogs: { // CloudWatchLogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // groupName: "STRING_VALUE", * // streamName: "STRING_VALUE", * // }, * // s3Logs: { // S3LogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // location: "STRING_VALUE", * // encryptionDisabled: true || false, - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // }, * // buildTimeoutInMinutes: Number("int"), @@ -201,7 +201,7 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M * // buildBatchNumber: Number("long"), * // fileSystemLocations: [ // ProjectFileSystemLocations * // { // ProjectFileSystemLocation - * // type: "STRING_VALUE", + * // type: "EFS", * // location: "STRING_VALUE", * // mountPoint: "STRING_VALUE", * // identifier: "STRING_VALUE", @@ -218,7 +218,7 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M * // ], * // }, * // timeoutInMins: Number("int"), - * // batchReportMode: "STRING_VALUE", + * // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH", * // }, * // buildGroups: [ // BuildGroups * // { // BuildGroup @@ -230,15 +230,15 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M * // currentBuildSummary: { // BuildSummary * // arn: "STRING_VALUE", * // requestedOn: new Date("TIMESTAMP"), - * // buildStatus: "STRING_VALUE", + * // buildStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // primaryArtifact: { // ResolvedArtifact - * // type: "STRING_VALUE", + * // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", * // location: "STRING_VALUE", * // identifier: "STRING_VALUE", * // }, * // secondaryArtifacts: [ // ResolvedSecondaryArtifacts * // { - * // type: "STRING_VALUE", + * // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", * // location: "STRING_VALUE", * // identifier: "STRING_VALUE", * // }, @@ -248,9 +248,9 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M * // { * // arn: "STRING_VALUE", * // requestedOn: new Date("TIMESTAMP"), - * // buildStatus: "STRING_VALUE", + * // buildStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // primaryArtifact: { - * // type: "STRING_VALUE", + * // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", * // location: "STRING_VALUE", * // identifier: "STRING_VALUE", * // }, diff --git a/clients/client-codebuild/src/commands/RetryBuildCommand.ts b/clients/client-codebuild/src/commands/RetryBuildCommand.ts index 27a9fe3f3e472..35b224659a7fc 100644 --- a/clients/client-codebuild/src/commands/RetryBuildCommand.ts +++ b/clients/client-codebuild/src/commands/RetryBuildCommand.ts @@ -57,14 +57,14 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // currentPhase: "STRING_VALUE", - * // buildStatus: "STRING_VALUE", + * // buildStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // sourceVersion: "STRING_VALUE", * // resolvedSourceVersion: "STRING_VALUE", * // projectName: "STRING_VALUE", * // phases: [ // BuildPhases * // { // BuildPhase - * // phaseType: "STRING_VALUE", - * // phaseStatus: "STRING_VALUE", + * // phaseType: "SUBMITTED" || "QUEUED" || "PROVISIONING" || "DOWNLOAD_SOURCE" || "INSTALL" || "PRE_BUILD" || "BUILD" || "POST_BUILD" || "UPLOAD_ARTIFACTS" || "FINALIZING" || "COMPLETED", + * // phaseStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // durationInSeconds: Number("long"), @@ -77,7 +77,7 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea * // }, * // ], * // source: { // ProjectSource - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { // GitSubmodulesConfig @@ -85,7 +85,7 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea * // }, * // buildspec: "STRING_VALUE", * // auth: { // SourceAuth - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -98,7 +98,7 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea * // }, * // secondarySources: [ // ProjectSources * // { - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { @@ -106,7 +106,7 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea * // }, * // buildspec: "STRING_VALUE", * // auth: { - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -131,7 +131,7 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // secondaryArtifacts: [ // BuildArtifactsList * // { @@ -141,34 +141,34 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // ], * // cache: { // ProjectCache - * // type: "STRING_VALUE", // required + * // type: "NO_CACHE" || "S3" || "LOCAL", // required * // location: "STRING_VALUE", * // modes: [ // ProjectCacheModes - * // "STRING_VALUE", + * // "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE", * // ], * // }, * // environment: { // ProjectEnvironment - * // type: "STRING_VALUE", // required + * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "STRING_VALUE", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required * // value: "STRING_VALUE", // required - * // type: "STRING_VALUE", + * // type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER", * // }, * // ], * // privilegedMode: true || false, * // certificate: "STRING_VALUE", * // registryCredential: { // RegistryCredential * // credential: "STRING_VALUE", // required - * // credentialProvider: "STRING_VALUE", // required + * // credentialProvider: "SECRETS_MANAGER", // required * // }, - * // imagePullCredentialsType: "STRING_VALUE", + * // imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE", * // }, * // serviceRole: "STRING_VALUE", * // logs: { // LogsLocation @@ -179,15 +179,15 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea * // cloudWatchLogsArn: "STRING_VALUE", * // s3LogsArn: "STRING_VALUE", * // cloudWatchLogs: { // CloudWatchLogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // groupName: "STRING_VALUE", * // streamName: "STRING_VALUE", * // }, * // s3Logs: { // S3LogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // location: "STRING_VALUE", * // encryptionDisabled: true || false, - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // }, * // timeoutInMinutes: Number("int"), @@ -219,7 +219,7 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea * // ], * // fileSystemLocations: [ // ProjectFileSystemLocations * // { // ProjectFileSystemLocation - * // type: "STRING_VALUE", + * // type: "EFS", * // location: "STRING_VALUE", * // mountPoint: "STRING_VALUE", * // identifier: "STRING_VALUE", diff --git a/clients/client-codebuild/src/commands/StartBuildBatchCommand.ts b/clients/client-codebuild/src/commands/StartBuildBatchCommand.ts index 39be45316133f..4f972995db922 100644 --- a/clients/client-codebuild/src/commands/StartBuildBatchCommand.ts +++ b/clients/client-codebuild/src/commands/StartBuildBatchCommand.ts @@ -47,7 +47,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * projectName: "STRING_VALUE", // required * secondarySourcesOverride: [ // ProjectSources * { // ProjectSource - * type: "STRING_VALUE", // required + * type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * location: "STRING_VALUE", * gitCloneDepth: Number("int"), * gitSubmodulesConfig: { // GitSubmodulesConfig @@ -55,7 +55,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * }, * buildspec: "STRING_VALUE", * auth: { // SourceAuth - * type: "STRING_VALUE", // required + * type: "OAUTH", // required * resource: "STRING_VALUE", * }, * reportBuildStatus: true || false, @@ -75,42 +75,42 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * ], * sourceVersion: "STRING_VALUE", * artifactsOverride: { // ProjectArtifacts - * type: "STRING_VALUE", // required + * type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required * location: "STRING_VALUE", * path: "STRING_VALUE", - * namespaceType: "STRING_VALUE", + * namespaceType: "NONE" || "BUILD_ID", * name: "STRING_VALUE", - * packaging: "STRING_VALUE", + * packaging: "NONE" || "ZIP", * overrideArtifactName: true || false, * encryptionDisabled: true || false, * artifactIdentifier: "STRING_VALUE", - * bucketOwnerAccess: "STRING_VALUE", + * bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * }, * secondaryArtifactsOverride: [ // ProjectArtifactsList * { - * type: "STRING_VALUE", // required + * type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required * location: "STRING_VALUE", * path: "STRING_VALUE", - * namespaceType: "STRING_VALUE", + * namespaceType: "NONE" || "BUILD_ID", * name: "STRING_VALUE", - * packaging: "STRING_VALUE", + * packaging: "NONE" || "ZIP", * overrideArtifactName: true || false, * encryptionDisabled: true || false, * artifactIdentifier: "STRING_VALUE", - * bucketOwnerAccess: "STRING_VALUE", + * bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * }, * ], * environmentVariablesOverride: [ // EnvironmentVariables * { // EnvironmentVariable * name: "STRING_VALUE", // required * value: "STRING_VALUE", // required - * type: "STRING_VALUE", + * type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER", * }, * ], - * sourceTypeOverride: "STRING_VALUE", + * sourceTypeOverride: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", * sourceLocationOverride: "STRING_VALUE", * sourceAuthOverride: { - * type: "STRING_VALUE", // required + * type: "OAUTH", // required * resource: "STRING_VALUE", * }, * gitCloneDepthOverride: Number("int"), @@ -120,15 +120,15 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * buildspecOverride: "STRING_VALUE", * insecureSslOverride: true || false, * reportBuildBatchStatusOverride: true || false, - * environmentTypeOverride: "STRING_VALUE", + * environmentTypeOverride: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", * imageOverride: "STRING_VALUE", - * computeTypeOverride: "STRING_VALUE", + * computeTypeOverride: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", * certificateOverride: "STRING_VALUE", * cacheOverride: { // ProjectCache - * type: "STRING_VALUE", // required + * type: "NO_CACHE" || "S3" || "LOCAL", // required * location: "STRING_VALUE", * modes: [ // ProjectCacheModes - * "STRING_VALUE", + * "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE", * ], * }, * serviceRoleOverride: "STRING_VALUE", @@ -139,22 +139,22 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * idempotencyToken: "STRING_VALUE", * logsConfigOverride: { // LogsConfig * cloudWatchLogs: { // CloudWatchLogsConfig - * status: "STRING_VALUE", // required + * status: "ENABLED" || "DISABLED", // required * groupName: "STRING_VALUE", * streamName: "STRING_VALUE", * }, * s3Logs: { // S3LogsConfig - * status: "STRING_VALUE", // required + * status: "ENABLED" || "DISABLED", // required * location: "STRING_VALUE", * encryptionDisabled: true || false, - * bucketOwnerAccess: "STRING_VALUE", + * bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * }, * }, * registryCredentialOverride: { // RegistryCredential * credential: "STRING_VALUE", // required - * credentialProvider: "STRING_VALUE", // required + * credentialProvider: "SECRETS_MANAGER", // required * }, - * imagePullCredentialsTypeOverride: "STRING_VALUE", + * imagePullCredentialsTypeOverride: "CODEBUILD" || "SERVICE_ROLE", * buildBatchConfigOverride: { // ProjectBuildBatchConfig * serviceRole: "STRING_VALUE", * combineArtifacts: true || false, @@ -165,7 +165,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * ], * }, * timeoutInMins: Number("int"), - * batchReportMode: "STRING_VALUE", + * batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH", * }, * debugSessionEnabled: true || false, * }; @@ -178,14 +178,14 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // currentPhase: "STRING_VALUE", - * // buildBatchStatus: "STRING_VALUE", + * // buildBatchStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // sourceVersion: "STRING_VALUE", * // resolvedSourceVersion: "STRING_VALUE", * // projectName: "STRING_VALUE", * // phases: [ // BuildBatchPhases * // { // BuildBatchPhase - * // phaseType: "STRING_VALUE", - * // phaseStatus: "STRING_VALUE", + * // phaseType: "SUBMITTED" || "DOWNLOAD_BATCHSPEC" || "IN_PROGRESS" || "COMBINE_ARTIFACTS" || "SUCCEEDED" || "FAILED" || "STOPPED", + * // phaseStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // durationInSeconds: Number("long"), @@ -198,7 +198,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * // }, * // ], * // source: { // ProjectSource - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { // GitSubmodulesConfig @@ -206,7 +206,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * // }, * // buildspec: "STRING_VALUE", * // auth: { // SourceAuth - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -219,7 +219,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * // }, * // secondarySources: [ // ProjectSources * // { - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { @@ -227,7 +227,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * // }, * // buildspec: "STRING_VALUE", * // auth: { - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -252,7 +252,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // secondaryArtifacts: [ // BuildArtifactsList * // { @@ -262,47 +262,47 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // ], * // cache: { // ProjectCache - * // type: "STRING_VALUE", // required + * // type: "NO_CACHE" || "S3" || "LOCAL", // required * // location: "STRING_VALUE", * // modes: [ // ProjectCacheModes - * // "STRING_VALUE", + * // "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE", * // ], * // }, * // environment: { // ProjectEnvironment - * // type: "STRING_VALUE", // required + * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "STRING_VALUE", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required * // value: "STRING_VALUE", // required - * // type: "STRING_VALUE", + * // type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER", * // }, * // ], * // privilegedMode: true || false, * // certificate: "STRING_VALUE", * // registryCredential: { // RegistryCredential * // credential: "STRING_VALUE", // required - * // credentialProvider: "STRING_VALUE", // required + * // credentialProvider: "SECRETS_MANAGER", // required * // }, - * // imagePullCredentialsType: "STRING_VALUE", + * // imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE", * // }, * // serviceRole: "STRING_VALUE", * // logConfig: { // LogsConfig * // cloudWatchLogs: { // CloudWatchLogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // groupName: "STRING_VALUE", * // streamName: "STRING_VALUE", * // }, * // s3Logs: { // S3LogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // location: "STRING_VALUE", * // encryptionDisabled: true || false, - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // }, * // buildTimeoutInMinutes: Number("int"), @@ -322,7 +322,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * // buildBatchNumber: Number("long"), * // fileSystemLocations: [ // ProjectFileSystemLocations * // { // ProjectFileSystemLocation - * // type: "STRING_VALUE", + * // type: "EFS", * // location: "STRING_VALUE", * // mountPoint: "STRING_VALUE", * // identifier: "STRING_VALUE", @@ -339,7 +339,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * // ], * // }, * // timeoutInMins: Number("int"), - * // batchReportMode: "STRING_VALUE", + * // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH", * // }, * // buildGroups: [ // BuildGroups * // { // BuildGroup @@ -351,15 +351,15 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * // currentBuildSummary: { // BuildSummary * // arn: "STRING_VALUE", * // requestedOn: new Date("TIMESTAMP"), - * // buildStatus: "STRING_VALUE", + * // buildStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // primaryArtifact: { // ResolvedArtifact - * // type: "STRING_VALUE", + * // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", * // location: "STRING_VALUE", * // identifier: "STRING_VALUE", * // }, * // secondaryArtifacts: [ // ResolvedSecondaryArtifacts * // { - * // type: "STRING_VALUE", + * // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", * // location: "STRING_VALUE", * // identifier: "STRING_VALUE", * // }, @@ -369,9 +369,9 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M * // { * // arn: "STRING_VALUE", * // requestedOn: new Date("TIMESTAMP"), - * // buildStatus: "STRING_VALUE", + * // buildStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // primaryArtifact: { - * // type: "STRING_VALUE", + * // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", * // location: "STRING_VALUE", * // identifier: "STRING_VALUE", * // }, diff --git a/clients/client-codebuild/src/commands/StartBuildCommand.ts b/clients/client-codebuild/src/commands/StartBuildCommand.ts index 68b13e3d5b33d..00d60406c563d 100644 --- a/clients/client-codebuild/src/commands/StartBuildCommand.ts +++ b/clients/client-codebuild/src/commands/StartBuildCommand.ts @@ -47,7 +47,7 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea * projectName: "STRING_VALUE", // required * secondarySourcesOverride: [ // ProjectSources * { // ProjectSource - * type: "STRING_VALUE", // required + * type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * location: "STRING_VALUE", * gitCloneDepth: Number("int"), * gitSubmodulesConfig: { // GitSubmodulesConfig @@ -55,7 +55,7 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea * }, * buildspec: "STRING_VALUE", * auth: { // SourceAuth - * type: "STRING_VALUE", // required + * type: "OAUTH", // required * resource: "STRING_VALUE", * }, * reportBuildStatus: true || false, @@ -75,42 +75,42 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea * ], * sourceVersion: "STRING_VALUE", * artifactsOverride: { // ProjectArtifacts - * type: "STRING_VALUE", // required + * type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required * location: "STRING_VALUE", * path: "STRING_VALUE", - * namespaceType: "STRING_VALUE", + * namespaceType: "NONE" || "BUILD_ID", * name: "STRING_VALUE", - * packaging: "STRING_VALUE", + * packaging: "NONE" || "ZIP", * overrideArtifactName: true || false, * encryptionDisabled: true || false, * artifactIdentifier: "STRING_VALUE", - * bucketOwnerAccess: "STRING_VALUE", + * bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * }, * secondaryArtifactsOverride: [ // ProjectArtifactsList * { - * type: "STRING_VALUE", // required + * type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required * location: "STRING_VALUE", * path: "STRING_VALUE", - * namespaceType: "STRING_VALUE", + * namespaceType: "NONE" || "BUILD_ID", * name: "STRING_VALUE", - * packaging: "STRING_VALUE", + * packaging: "NONE" || "ZIP", * overrideArtifactName: true || false, * encryptionDisabled: true || false, * artifactIdentifier: "STRING_VALUE", - * bucketOwnerAccess: "STRING_VALUE", + * bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * }, * ], * environmentVariablesOverride: [ // EnvironmentVariables * { // EnvironmentVariable * name: "STRING_VALUE", // required * value: "STRING_VALUE", // required - * type: "STRING_VALUE", + * type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER", * }, * ], - * sourceTypeOverride: "STRING_VALUE", + * sourceTypeOverride: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", * sourceLocationOverride: "STRING_VALUE", * sourceAuthOverride: { - * type: "STRING_VALUE", // required + * type: "OAUTH", // required * resource: "STRING_VALUE", * }, * gitCloneDepthOverride: Number("int"), @@ -124,15 +124,15 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea * context: "STRING_VALUE", * targetUrl: "STRING_VALUE", * }, - * environmentTypeOverride: "STRING_VALUE", + * environmentTypeOverride: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", * imageOverride: "STRING_VALUE", - * computeTypeOverride: "STRING_VALUE", + * computeTypeOverride: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", * certificateOverride: "STRING_VALUE", * cacheOverride: { // ProjectCache - * type: "STRING_VALUE", // required + * type: "NO_CACHE" || "S3" || "LOCAL", // required * location: "STRING_VALUE", * modes: [ // ProjectCacheModes - * "STRING_VALUE", + * "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE", * ], * }, * serviceRoleOverride: "STRING_VALUE", @@ -143,22 +143,22 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea * idempotencyToken: "STRING_VALUE", * logsConfigOverride: { // LogsConfig * cloudWatchLogs: { // CloudWatchLogsConfig - * status: "STRING_VALUE", // required + * status: "ENABLED" || "DISABLED", // required * groupName: "STRING_VALUE", * streamName: "STRING_VALUE", * }, * s3Logs: { // S3LogsConfig - * status: "STRING_VALUE", // required + * status: "ENABLED" || "DISABLED", // required * location: "STRING_VALUE", * encryptionDisabled: true || false, - * bucketOwnerAccess: "STRING_VALUE", + * bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * }, * }, * registryCredentialOverride: { // RegistryCredential * credential: "STRING_VALUE", // required - * credentialProvider: "STRING_VALUE", // required + * credentialProvider: "SECRETS_MANAGER", // required * }, - * imagePullCredentialsTypeOverride: "STRING_VALUE", + * imagePullCredentialsTypeOverride: "CODEBUILD" || "SERVICE_ROLE", * debugSessionEnabled: true || false, * }; * const command = new StartBuildCommand(input); @@ -171,14 +171,14 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // currentPhase: "STRING_VALUE", - * // buildStatus: "STRING_VALUE", + * // buildStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // sourceVersion: "STRING_VALUE", * // resolvedSourceVersion: "STRING_VALUE", * // projectName: "STRING_VALUE", * // phases: [ // BuildPhases * // { // BuildPhase - * // phaseType: "STRING_VALUE", - * // phaseStatus: "STRING_VALUE", + * // phaseType: "SUBMITTED" || "QUEUED" || "PROVISIONING" || "DOWNLOAD_SOURCE" || "INSTALL" || "PRE_BUILD" || "BUILD" || "POST_BUILD" || "UPLOAD_ARTIFACTS" || "FINALIZING" || "COMPLETED", + * // phaseStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // durationInSeconds: Number("long"), @@ -191,7 +191,7 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea * // }, * // ], * // source: { // ProjectSource - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { // GitSubmodulesConfig @@ -199,7 +199,7 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea * // }, * // buildspec: "STRING_VALUE", * // auth: { // SourceAuth - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -212,7 +212,7 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea * // }, * // secondarySources: [ // ProjectSources * // { - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { @@ -220,7 +220,7 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea * // }, * // buildspec: "STRING_VALUE", * // auth: { - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -245,7 +245,7 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // secondaryArtifacts: [ // BuildArtifactsList * // { @@ -255,34 +255,34 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // ], * // cache: { // ProjectCache - * // type: "STRING_VALUE", // required + * // type: "NO_CACHE" || "S3" || "LOCAL", // required * // location: "STRING_VALUE", * // modes: [ // ProjectCacheModes - * // "STRING_VALUE", + * // "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE", * // ], * // }, * // environment: { // ProjectEnvironment - * // type: "STRING_VALUE", // required + * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "STRING_VALUE", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required * // value: "STRING_VALUE", // required - * // type: "STRING_VALUE", + * // type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER", * // }, * // ], * // privilegedMode: true || false, * // certificate: "STRING_VALUE", * // registryCredential: { // RegistryCredential * // credential: "STRING_VALUE", // required - * // credentialProvider: "STRING_VALUE", // required + * // credentialProvider: "SECRETS_MANAGER", // required * // }, - * // imagePullCredentialsType: "STRING_VALUE", + * // imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE", * // }, * // serviceRole: "STRING_VALUE", * // logs: { // LogsLocation @@ -293,15 +293,15 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea * // cloudWatchLogsArn: "STRING_VALUE", * // s3LogsArn: "STRING_VALUE", * // cloudWatchLogs: { // CloudWatchLogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // groupName: "STRING_VALUE", * // streamName: "STRING_VALUE", * // }, * // s3Logs: { // S3LogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // location: "STRING_VALUE", * // encryptionDisabled: true || false, - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // }, * // timeoutInMinutes: Number("int"), @@ -333,7 +333,7 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea * // ], * // fileSystemLocations: [ // ProjectFileSystemLocations * // { // ProjectFileSystemLocation - * // type: "STRING_VALUE", + * // type: "EFS", * // location: "STRING_VALUE", * // mountPoint: "STRING_VALUE", * // identifier: "STRING_VALUE", diff --git a/clients/client-codebuild/src/commands/StopBuildBatchCommand.ts b/clients/client-codebuild/src/commands/StopBuildBatchCommand.ts index 56b8ed20f7155..120cfc815bc42 100644 --- a/clients/client-codebuild/src/commands/StopBuildBatchCommand.ts +++ b/clients/client-codebuild/src/commands/StopBuildBatchCommand.ts @@ -55,14 +55,14 @@ export interface StopBuildBatchCommandOutput extends StopBuildBatchOutput, __Met * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // currentPhase: "STRING_VALUE", - * // buildBatchStatus: "STRING_VALUE", + * // buildBatchStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // sourceVersion: "STRING_VALUE", * // resolvedSourceVersion: "STRING_VALUE", * // projectName: "STRING_VALUE", * // phases: [ // BuildBatchPhases * // { // BuildBatchPhase - * // phaseType: "STRING_VALUE", - * // phaseStatus: "STRING_VALUE", + * // phaseType: "SUBMITTED" || "DOWNLOAD_BATCHSPEC" || "IN_PROGRESS" || "COMBINE_ARTIFACTS" || "SUCCEEDED" || "FAILED" || "STOPPED", + * // phaseStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // durationInSeconds: Number("long"), @@ -75,7 +75,7 @@ export interface StopBuildBatchCommandOutput extends StopBuildBatchOutput, __Met * // }, * // ], * // source: { // ProjectSource - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { // GitSubmodulesConfig @@ -83,7 +83,7 @@ export interface StopBuildBatchCommandOutput extends StopBuildBatchOutput, __Met * // }, * // buildspec: "STRING_VALUE", * // auth: { // SourceAuth - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -96,7 +96,7 @@ export interface StopBuildBatchCommandOutput extends StopBuildBatchOutput, __Met * // }, * // secondarySources: [ // ProjectSources * // { - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { @@ -104,7 +104,7 @@ export interface StopBuildBatchCommandOutput extends StopBuildBatchOutput, __Met * // }, * // buildspec: "STRING_VALUE", * // auth: { - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -129,7 +129,7 @@ export interface StopBuildBatchCommandOutput extends StopBuildBatchOutput, __Met * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // secondaryArtifacts: [ // BuildArtifactsList * // { @@ -139,47 +139,47 @@ export interface StopBuildBatchCommandOutput extends StopBuildBatchOutput, __Met * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // ], * // cache: { // ProjectCache - * // type: "STRING_VALUE", // required + * // type: "NO_CACHE" || "S3" || "LOCAL", // required * // location: "STRING_VALUE", * // modes: [ // ProjectCacheModes - * // "STRING_VALUE", + * // "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE", * // ], * // }, * // environment: { // ProjectEnvironment - * // type: "STRING_VALUE", // required + * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "STRING_VALUE", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required * // value: "STRING_VALUE", // required - * // type: "STRING_VALUE", + * // type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER", * // }, * // ], * // privilegedMode: true || false, * // certificate: "STRING_VALUE", * // registryCredential: { // RegistryCredential * // credential: "STRING_VALUE", // required - * // credentialProvider: "STRING_VALUE", // required + * // credentialProvider: "SECRETS_MANAGER", // required * // }, - * // imagePullCredentialsType: "STRING_VALUE", + * // imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE", * // }, * // serviceRole: "STRING_VALUE", * // logConfig: { // LogsConfig * // cloudWatchLogs: { // CloudWatchLogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // groupName: "STRING_VALUE", * // streamName: "STRING_VALUE", * // }, * // s3Logs: { // S3LogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // location: "STRING_VALUE", * // encryptionDisabled: true || false, - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // }, * // buildTimeoutInMinutes: Number("int"), @@ -199,7 +199,7 @@ export interface StopBuildBatchCommandOutput extends StopBuildBatchOutput, __Met * // buildBatchNumber: Number("long"), * // fileSystemLocations: [ // ProjectFileSystemLocations * // { // ProjectFileSystemLocation - * // type: "STRING_VALUE", + * // type: "EFS", * // location: "STRING_VALUE", * // mountPoint: "STRING_VALUE", * // identifier: "STRING_VALUE", @@ -216,7 +216,7 @@ export interface StopBuildBatchCommandOutput extends StopBuildBatchOutput, __Met * // ], * // }, * // timeoutInMins: Number("int"), - * // batchReportMode: "STRING_VALUE", + * // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH", * // }, * // buildGroups: [ // BuildGroups * // { // BuildGroup @@ -228,15 +228,15 @@ export interface StopBuildBatchCommandOutput extends StopBuildBatchOutput, __Met * // currentBuildSummary: { // BuildSummary * // arn: "STRING_VALUE", * // requestedOn: new Date("TIMESTAMP"), - * // buildStatus: "STRING_VALUE", + * // buildStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // primaryArtifact: { // ResolvedArtifact - * // type: "STRING_VALUE", + * // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", * // location: "STRING_VALUE", * // identifier: "STRING_VALUE", * // }, * // secondaryArtifacts: [ // ResolvedSecondaryArtifacts * // { - * // type: "STRING_VALUE", + * // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", * // location: "STRING_VALUE", * // identifier: "STRING_VALUE", * // }, @@ -246,9 +246,9 @@ export interface StopBuildBatchCommandOutput extends StopBuildBatchOutput, __Met * // { * // arn: "STRING_VALUE", * // requestedOn: new Date("TIMESTAMP"), - * // buildStatus: "STRING_VALUE", + * // buildStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // primaryArtifact: { - * // type: "STRING_VALUE", + * // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", * // location: "STRING_VALUE", * // identifier: "STRING_VALUE", * // }, diff --git a/clients/client-codebuild/src/commands/StopBuildCommand.ts b/clients/client-codebuild/src/commands/StopBuildCommand.ts index 1dd948e468510..2cc29b9ed4282 100644 --- a/clients/client-codebuild/src/commands/StopBuildCommand.ts +++ b/clients/client-codebuild/src/commands/StopBuildCommand.ts @@ -56,14 +56,14 @@ export interface StopBuildCommandOutput extends StopBuildOutput, __MetadataBeare * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // currentPhase: "STRING_VALUE", - * // buildStatus: "STRING_VALUE", + * // buildStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // sourceVersion: "STRING_VALUE", * // resolvedSourceVersion: "STRING_VALUE", * // projectName: "STRING_VALUE", * // phases: [ // BuildPhases * // { // BuildPhase - * // phaseType: "STRING_VALUE", - * // phaseStatus: "STRING_VALUE", + * // phaseType: "SUBMITTED" || "QUEUED" || "PROVISIONING" || "DOWNLOAD_SOURCE" || "INSTALL" || "PRE_BUILD" || "BUILD" || "POST_BUILD" || "UPLOAD_ARTIFACTS" || "FINALIZING" || "COMPLETED", + * // phaseStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // durationInSeconds: Number("long"), @@ -76,7 +76,7 @@ export interface StopBuildCommandOutput extends StopBuildOutput, __MetadataBeare * // }, * // ], * // source: { // ProjectSource - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { // GitSubmodulesConfig @@ -84,7 +84,7 @@ export interface StopBuildCommandOutput extends StopBuildOutput, __MetadataBeare * // }, * // buildspec: "STRING_VALUE", * // auth: { // SourceAuth - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -97,7 +97,7 @@ export interface StopBuildCommandOutput extends StopBuildOutput, __MetadataBeare * // }, * // secondarySources: [ // ProjectSources * // { - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { @@ -105,7 +105,7 @@ export interface StopBuildCommandOutput extends StopBuildOutput, __MetadataBeare * // }, * // buildspec: "STRING_VALUE", * // auth: { - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -130,7 +130,7 @@ export interface StopBuildCommandOutput extends StopBuildOutput, __MetadataBeare * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // secondaryArtifacts: [ // BuildArtifactsList * // { @@ -140,34 +140,34 @@ export interface StopBuildCommandOutput extends StopBuildOutput, __MetadataBeare * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // ], * // cache: { // ProjectCache - * // type: "STRING_VALUE", // required + * // type: "NO_CACHE" || "S3" || "LOCAL", // required * // location: "STRING_VALUE", * // modes: [ // ProjectCacheModes - * // "STRING_VALUE", + * // "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE", * // ], * // }, * // environment: { // ProjectEnvironment - * // type: "STRING_VALUE", // required + * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "STRING_VALUE", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required * // value: "STRING_VALUE", // required - * // type: "STRING_VALUE", + * // type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER", * // }, * // ], * // privilegedMode: true || false, * // certificate: "STRING_VALUE", * // registryCredential: { // RegistryCredential * // credential: "STRING_VALUE", // required - * // credentialProvider: "STRING_VALUE", // required + * // credentialProvider: "SECRETS_MANAGER", // required * // }, - * // imagePullCredentialsType: "STRING_VALUE", + * // imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE", * // }, * // serviceRole: "STRING_VALUE", * // logs: { // LogsLocation @@ -178,15 +178,15 @@ export interface StopBuildCommandOutput extends StopBuildOutput, __MetadataBeare * // cloudWatchLogsArn: "STRING_VALUE", * // s3LogsArn: "STRING_VALUE", * // cloudWatchLogs: { // CloudWatchLogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // groupName: "STRING_VALUE", * // streamName: "STRING_VALUE", * // }, * // s3Logs: { // S3LogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // location: "STRING_VALUE", * // encryptionDisabled: true || false, - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // }, * // timeoutInMinutes: Number("int"), @@ -218,7 +218,7 @@ export interface StopBuildCommandOutput extends StopBuildOutput, __MetadataBeare * // ], * // fileSystemLocations: [ // ProjectFileSystemLocations * // { // ProjectFileSystemLocation - * // type: "STRING_VALUE", + * // type: "EFS", * // location: "STRING_VALUE", * // mountPoint: "STRING_VALUE", * // identifier: "STRING_VALUE", diff --git a/clients/client-codebuild/src/commands/UpdateProjectCommand.ts b/clients/client-codebuild/src/commands/UpdateProjectCommand.ts index ecf7035515c9c..7eda9e89d2446 100644 --- a/clients/client-codebuild/src/commands/UpdateProjectCommand.ts +++ b/clients/client-codebuild/src/commands/UpdateProjectCommand.ts @@ -47,7 +47,7 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad * name: "STRING_VALUE", // required * description: "STRING_VALUE", * source: { // ProjectSource - * type: "STRING_VALUE", // required + * type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * location: "STRING_VALUE", * gitCloneDepth: Number("int"), * gitSubmodulesConfig: { // GitSubmodulesConfig @@ -55,7 +55,7 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad * }, * buildspec: "STRING_VALUE", * auth: { // SourceAuth - * type: "STRING_VALUE", // required + * type: "OAUTH", // required * resource: "STRING_VALUE", * }, * reportBuildStatus: true || false, @@ -68,7 +68,7 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad * }, * secondarySources: [ // ProjectSources * { - * type: "STRING_VALUE", // required + * type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * location: "STRING_VALUE", * gitCloneDepth: Number("int"), * gitSubmodulesConfig: { @@ -76,7 +76,7 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad * }, * buildspec: "STRING_VALUE", * auth: { - * type: "STRING_VALUE", // required + * type: "OAUTH", // required * resource: "STRING_VALUE", * }, * reportBuildStatus: true || false, @@ -96,56 +96,56 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad * }, * ], * artifacts: { // ProjectArtifacts - * type: "STRING_VALUE", // required + * type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required * location: "STRING_VALUE", * path: "STRING_VALUE", - * namespaceType: "STRING_VALUE", + * namespaceType: "NONE" || "BUILD_ID", * name: "STRING_VALUE", - * packaging: "STRING_VALUE", + * packaging: "NONE" || "ZIP", * overrideArtifactName: true || false, * encryptionDisabled: true || false, * artifactIdentifier: "STRING_VALUE", - * bucketOwnerAccess: "STRING_VALUE", + * bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * }, * secondaryArtifacts: [ // ProjectArtifactsList * { - * type: "STRING_VALUE", // required + * type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required * location: "STRING_VALUE", * path: "STRING_VALUE", - * namespaceType: "STRING_VALUE", + * namespaceType: "NONE" || "BUILD_ID", * name: "STRING_VALUE", - * packaging: "STRING_VALUE", + * packaging: "NONE" || "ZIP", * overrideArtifactName: true || false, * encryptionDisabled: true || false, * artifactIdentifier: "STRING_VALUE", - * bucketOwnerAccess: "STRING_VALUE", + * bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * }, * ], * cache: { // ProjectCache - * type: "STRING_VALUE", // required + * type: "NO_CACHE" || "S3" || "LOCAL", // required * location: "STRING_VALUE", * modes: [ // ProjectCacheModes - * "STRING_VALUE", + * "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE", * ], * }, * environment: { // ProjectEnvironment - * type: "STRING_VALUE", // required + * type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required * image: "STRING_VALUE", // required - * computeType: "STRING_VALUE", // required + * computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required * environmentVariables: [ // EnvironmentVariables * { // EnvironmentVariable * name: "STRING_VALUE", // required * value: "STRING_VALUE", // required - * type: "STRING_VALUE", + * type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER", * }, * ], * privilegedMode: true || false, * certificate: "STRING_VALUE", * registryCredential: { // RegistryCredential * credential: "STRING_VALUE", // required - * credentialProvider: "STRING_VALUE", // required + * credentialProvider: "SECRETS_MANAGER", // required * }, - * imagePullCredentialsType: "STRING_VALUE", + * imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE", * }, * serviceRole: "STRING_VALUE", * timeoutInMinutes: Number("int"), @@ -169,20 +169,20 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad * badgeEnabled: true || false, * logsConfig: { // LogsConfig * cloudWatchLogs: { // CloudWatchLogsConfig - * status: "STRING_VALUE", // required + * status: "ENABLED" || "DISABLED", // required * groupName: "STRING_VALUE", * streamName: "STRING_VALUE", * }, * s3Logs: { // S3LogsConfig - * status: "STRING_VALUE", // required + * status: "ENABLED" || "DISABLED", // required * location: "STRING_VALUE", * encryptionDisabled: true || false, - * bucketOwnerAccess: "STRING_VALUE", + * bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * }, * }, * fileSystemLocations: [ // ProjectFileSystemLocations * { // ProjectFileSystemLocation - * type: "STRING_VALUE", + * type: "EFS", * location: "STRING_VALUE", * mountPoint: "STRING_VALUE", * identifier: "STRING_VALUE", @@ -199,7 +199,7 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad * ], * }, * timeoutInMins: Number("int"), - * batchReportMode: "STRING_VALUE", + * batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH", * }, * concurrentBuildLimit: Number("int"), * }; @@ -211,7 +211,7 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad * // arn: "STRING_VALUE", * // description: "STRING_VALUE", * // source: { // ProjectSource - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { // GitSubmodulesConfig @@ -219,7 +219,7 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad * // }, * // buildspec: "STRING_VALUE", * // auth: { // SourceAuth - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -232,7 +232,7 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad * // }, * // secondarySources: [ // ProjectSources * // { - * // type: "STRING_VALUE", // required + * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required * // location: "STRING_VALUE", * // gitCloneDepth: Number("int"), * // gitSubmodulesConfig: { @@ -240,7 +240,7 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad * // }, * // buildspec: "STRING_VALUE", * // auth: { - * // type: "STRING_VALUE", // required + * // type: "OAUTH", // required * // resource: "STRING_VALUE", * // }, * // reportBuildStatus: true || false, @@ -260,56 +260,56 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad * // }, * // ], * // artifacts: { // ProjectArtifacts - * // type: "STRING_VALUE", // required + * // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required * // location: "STRING_VALUE", * // path: "STRING_VALUE", - * // namespaceType: "STRING_VALUE", + * // namespaceType: "NONE" || "BUILD_ID", * // name: "STRING_VALUE", - * // packaging: "STRING_VALUE", + * // packaging: "NONE" || "ZIP", * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // secondaryArtifacts: [ // ProjectArtifactsList * // { - * // type: "STRING_VALUE", // required + * // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required * // location: "STRING_VALUE", * // path: "STRING_VALUE", - * // namespaceType: "STRING_VALUE", + * // namespaceType: "NONE" || "BUILD_ID", * // name: "STRING_VALUE", - * // packaging: "STRING_VALUE", + * // packaging: "NONE" || "ZIP", * // overrideArtifactName: true || false, * // encryptionDisabled: true || false, * // artifactIdentifier: "STRING_VALUE", - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // ], * // cache: { // ProjectCache - * // type: "STRING_VALUE", // required + * // type: "NO_CACHE" || "S3" || "LOCAL", // required * // location: "STRING_VALUE", * // modes: [ // ProjectCacheModes - * // "STRING_VALUE", + * // "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE", * // ], * // }, * // environment: { // ProjectEnvironment - * // type: "STRING_VALUE", // required + * // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required * // image: "STRING_VALUE", // required - * // computeType: "STRING_VALUE", // required + * // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required * // value: "STRING_VALUE", // required - * // type: "STRING_VALUE", + * // type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER", * // }, * // ], * // privilegedMode: true || false, * // certificate: "STRING_VALUE", * // registryCredential: { // RegistryCredential * // credential: "STRING_VALUE", // required - * // credentialProvider: "STRING_VALUE", // required + * // credentialProvider: "SECRETS_MANAGER", // required * // }, - * // imagePullCredentialsType: "STRING_VALUE", + * // imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE", * // }, * // serviceRole: "STRING_VALUE", * // timeoutInMinutes: Number("int"), @@ -331,13 +331,13 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad * // filterGroups: [ // FilterGroups * // [ // FilterGroup * // { // WebhookFilter - * // type: "STRING_VALUE", // required + * // type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE", // required * // pattern: "STRING_VALUE", // required * // excludeMatchedPattern: true || false, * // }, * // ], * // ], - * // buildType: "STRING_VALUE", + * // buildType: "BUILD" || "BUILD_BATCH", * // lastModifiedSecret: new Date("TIMESTAMP"), * // }, * // vpcConfig: { // VpcConfig @@ -355,20 +355,20 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad * // }, * // logsConfig: { // LogsConfig * // cloudWatchLogs: { // CloudWatchLogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // groupName: "STRING_VALUE", * // streamName: "STRING_VALUE", * // }, * // s3Logs: { // S3LogsConfig - * // status: "STRING_VALUE", // required + * // status: "ENABLED" || "DISABLED", // required * // location: "STRING_VALUE", * // encryptionDisabled: true || false, - * // bucketOwnerAccess: "STRING_VALUE", + * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // }, * // fileSystemLocations: [ // ProjectFileSystemLocations * // { // ProjectFileSystemLocation - * // type: "STRING_VALUE", + * // type: "EFS", * // location: "STRING_VALUE", * // mountPoint: "STRING_VALUE", * // identifier: "STRING_VALUE", @@ -385,10 +385,10 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad * // ], * // }, * // timeoutInMins: Number("int"), - * // batchReportMode: "STRING_VALUE", + * // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH", * // }, * // concurrentBuildLimit: Number("int"), - * // projectVisibility: "STRING_VALUE", + * // projectVisibility: "PUBLIC_READ" || "PRIVATE", * // publicProjectAlias: "STRING_VALUE", * // resourceAccessRole: "STRING_VALUE", * // }, diff --git a/clients/client-codebuild/src/commands/UpdateProjectVisibilityCommand.ts b/clients/client-codebuild/src/commands/UpdateProjectVisibilityCommand.ts index d08d448cf5805..f6d1a5e0956af 100644 --- a/clients/client-codebuild/src/commands/UpdateProjectVisibilityCommand.ts +++ b/clients/client-codebuild/src/commands/UpdateProjectVisibilityCommand.ts @@ -82,7 +82,7 @@ export interface UpdateProjectVisibilityCommandOutput extends UpdateProjectVisib * const client = new CodeBuildClient(config); * const input = { // UpdateProjectVisibilityInput * projectArn: "STRING_VALUE", // required - * projectVisibility: "STRING_VALUE", // required + * projectVisibility: "PUBLIC_READ" || "PRIVATE", // required * resourceAccessRole: "STRING_VALUE", * }; * const command = new UpdateProjectVisibilityCommand(input); @@ -90,7 +90,7 @@ export interface UpdateProjectVisibilityCommandOutput extends UpdateProjectVisib * // { // UpdateProjectVisibilityOutput * // projectArn: "STRING_VALUE", * // publicProjectAlias: "STRING_VALUE", - * // projectVisibility: "STRING_VALUE", + * // projectVisibility: "PUBLIC_READ" || "PRIVATE", * // }; * * ``` diff --git a/clients/client-codebuild/src/commands/UpdateReportGroupCommand.ts b/clients/client-codebuild/src/commands/UpdateReportGroupCommand.ts index 3a82f0bfbd2aa..9a70a014e7616 100644 --- a/clients/client-codebuild/src/commands/UpdateReportGroupCommand.ts +++ b/clients/client-codebuild/src/commands/UpdateReportGroupCommand.ts @@ -48,12 +48,12 @@ export interface UpdateReportGroupCommandOutput extends UpdateReportGroupOutput, * const input = { // UpdateReportGroupInput * arn: "STRING_VALUE", // required * exportConfig: { // ReportExportConfig - * exportConfigType: "STRING_VALUE", + * exportConfigType: "S3" || "NO_EXPORT", * s3Destination: { // S3ReportExportConfig * bucket: "STRING_VALUE", * bucketOwner: "STRING_VALUE", * path: "STRING_VALUE", - * packaging: "STRING_VALUE", + * packaging: "ZIP" || "NONE", * encryptionKey: "STRING_VALUE", * encryptionDisabled: true || false, * }, @@ -71,14 +71,14 @@ export interface UpdateReportGroupCommandOutput extends UpdateReportGroupOutput, * // reportGroup: { // ReportGroup * // arn: "STRING_VALUE", * // name: "STRING_VALUE", - * // type: "STRING_VALUE", + * // type: "TEST" || "CODE_COVERAGE", * // exportConfig: { // ReportExportConfig - * // exportConfigType: "STRING_VALUE", + * // exportConfigType: "S3" || "NO_EXPORT", * // s3Destination: { // S3ReportExportConfig * // bucket: "STRING_VALUE", * // bucketOwner: "STRING_VALUE", * // path: "STRING_VALUE", - * // packaging: "STRING_VALUE", + * // packaging: "ZIP" || "NONE", * // encryptionKey: "STRING_VALUE", * // encryptionDisabled: true || false, * // }, @@ -91,7 +91,7 @@ export interface UpdateReportGroupCommandOutput extends UpdateReportGroupOutput, * // value: "STRING_VALUE", * // }, * // ], - * // status: "STRING_VALUE", + * // status: "ACTIVE" || "DELETING", * // }, * // }; * diff --git a/clients/client-codebuild/src/commands/UpdateWebhookCommand.ts b/clients/client-codebuild/src/commands/UpdateWebhookCommand.ts index ec3d72b90db9c..379dfb8ef5af7 100644 --- a/clients/client-codebuild/src/commands/UpdateWebhookCommand.ts +++ b/clients/client-codebuild/src/commands/UpdateWebhookCommand.ts @@ -54,13 +54,13 @@ export interface UpdateWebhookCommandOutput extends UpdateWebhookOutput, __Metad * filterGroups: [ // FilterGroups * [ // FilterGroup * { // WebhookFilter - * type: "STRING_VALUE", // required + * type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE", // required * pattern: "STRING_VALUE", // required * excludeMatchedPattern: true || false, * }, * ], * ], - * buildType: "STRING_VALUE", + * buildType: "BUILD" || "BUILD_BATCH", * }; * const command = new UpdateWebhookCommand(input); * const response = await client.send(command); @@ -73,13 +73,13 @@ export interface UpdateWebhookCommandOutput extends UpdateWebhookOutput, __Metad * // filterGroups: [ // FilterGroups * // [ // FilterGroup * // { // WebhookFilter - * // type: "STRING_VALUE", // required + * // type: "EVENT" || "BASE_REF" || "HEAD_REF" || "ACTOR_ACCOUNT_ID" || "FILE_PATH" || "COMMIT_MESSAGE", // required * // pattern: "STRING_VALUE", // required * // excludeMatchedPattern: true || false, * // }, * // ], * // ], - * // buildType: "STRING_VALUE", + * // buildType: "BUILD" || "BUILD_BATCH", * // lastModifiedSecret: new Date("TIMESTAMP"), * // }, * // }; diff --git a/clients/client-codebuild/src/endpoint/ruleset.ts b/clients/client-codebuild/src/endpoint/ruleset.ts index 6fa8894824cdf..97988358dc755 100644 --- a/clients/client-codebuild/src/endpoint/ruleset.ts +++ b/clients/client-codebuild/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/codebuild.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://codebuild-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://codebuild-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://codebuild.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://codebuild.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://codebuild-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://codebuild-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://codebuild.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://codebuild.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-codebuild/src/index.ts b/clients/client-codebuild/src/index.ts index 75e8112f857ec..6d3919f56e03b 100644 --- a/clients/client-codebuild/src/index.ts +++ b/clients/client-codebuild/src/index.ts @@ -2,14 +2,14 @@ /* eslint-disable */ /** * CodeBuild - *

CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code, + *

CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code, * runs unit tests, and produces artifacts that are ready to deploy. CodeBuild eliminates the * need to provision, manage, and scale your own build servers. It provides prepackaged * build environments for the most popular programming languages and build tools, such as * Apache Maven, Gradle, and more. You can also fully customize build environments in CodeBuild * to use your own build tools. CodeBuild scales automatically to meet peak build requests. You * pay only for the build time you consume. For more information about CodeBuild, see the - * CodeBuild User + * CodeBuild User * Guide. *

* diff --git a/clients/client-codebuild/src/models/models_0.ts b/clients/client-codebuild/src/models/models_0.ts index 475f300be4c18..3fedb19909c87 100644 --- a/clients/client-codebuild/src/models/models_0.ts +++ b/clients/client-codebuild/src/models/models_0.ts @@ -187,24 +187,24 @@ export interface BuildArtifacts { /** * @public *

The SHA-256 hash of the build artifact.

- *

You can use this hash along with a checksum tool to confirm file integrity and + *

You can use this hash along with a checksum tool to confirm file integrity and * authenticity.

- * + * *

This value is available only if the build project's packaging value * is set to ZIP.

- *
+ *
*/ sha256sum?: string; /** * @public *

The MD5 hash of the build artifact.

- *

You can use this hash along with a checksum tool to confirm file integrity and + *

You can use this hash along with a checksum tool to confirm file integrity and * authenticity.

- * + * *

This value is available only if the build project's packaging value * is set to ZIP.

- *
+ *
*/ md5sum?: string; @@ -235,40 +235,40 @@ export interface BuildArtifacts { * Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has * access to these objects. This property allows you to give the bucket owner access to * these objects.

- * + * *

To use this property, your CodeBuild service role must have the * s3:PutBucketAcl permission. This permission allows CodeBuild to modify * the access control list for the bucket.

- *
- *

This property can be one of the following values:

+ *
+ *

This property can be one of the following values:

*
*
NONE
*
- *

The bucket owner does not have access to the objects. This is the + *

The bucket owner does not have access to the objects. This is the * default.

*
*
READ_ONLY
*
- *

The bucket owner has read-only access to the objects. The uploading account + *

The bucket owner has read-only access to the objects. The uploading account * retains ownership of the objects.

*
*
FULL
*
- *

The bucket owner has full access to the objects. Object ownership is determined + *

The bucket owner has full access to the objects. Object ownership is determined * by the following criteria:

- *
@@ -425,31 +425,31 @@ export interface BuildSummary { /** * @public *

The status of the build group.

- *
+ *
*
FAILED
*
- *

The build group failed.

- *
+ *

The build group failed.

+ * *
FAULT
*
- *

The build group faulted.

- *
+ *

The build group faulted.

+ * *
IN_PROGRESS
*
- *

The build group is still in progress.

- *
+ *

The build group is still in progress.

+ * *
STOPPED
*
- *

The build group stopped.

- *
+ *

The build group stopped.

+ * *
SUCCEEDED
*
- *

The build group succeeded.

- *
+ *

The build group succeeded.

+ * *
TIMED_OUT
*
- *

The build group timed out.

- *
+ *

The build group timed out.

+ * *
*/ buildStatus?: StatusType | string; @@ -548,17 +548,17 @@ export interface ProjectCache { /** * @public *

The type of cache used by the build project. Valid values include:

- *
    + *
      *
    • - *

      + *

      * NO_CACHE: The build project does not use any cache.

      *
    • *
    • - *

      + *

      * S3: The build project reads and writes from and to S3.

      *
    • *
    • - *

      + *

      * LOCAL: The build project stores a cache locally on a build host * that is only available to that build host.

      *
    • @@ -569,13 +569,13 @@ export interface ProjectCache { /** * @public *

      Information about the cache location:

      - *
        + *
          *
        • - *

          + *

          * NO_CACHE or LOCAL: This value is ignored.

          *
        • *
        • - *

          + *

          * S3: This is the S3 bucket name/prefix.

          *
        • *
        @@ -587,60 +587,60 @@ export interface ProjectCache { *

        An array of strings that specify the local cache modes. You can use one or more local * cache modes at the same time. This is only used for LOCAL cache * types.

        - *

        Possible values are:

        - *
        + *

        Possible values are:

        + *
        *
        LOCAL_SOURCE_CACHE
        *
        - *

        Caches Git metadata for primary and secondary sources. After the cache is + *

        Caches Git metadata for primary and secondary sources. After the cache is * created, subsequent builds pull only the change between commits. This mode * is a good choice for projects with a clean working directory and a source * that is a large Git repository. If you choose this option and your project * does not use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the * option is ignored.

        - *
        + * *
        LOCAL_DOCKER_LAYER_CACHE
        *
        - *

        Caches existing Docker layers. This mode is a good choice for projects + *

        Caches existing Docker layers. This mode is a good choice for projects * that build or pull large Docker images. It can prevent the performance * issues caused by pulling large Docker images down from the network.

        - * - *
          + * + *
            *
          • - *

            You can use a Docker layer cache in the Linux environment + *

            You can use a Docker layer cache in the Linux environment * only.

            - *
          • + * *
          • - *

            The privileged flag must be set so that your + *

            The privileged flag must be set so that your * project has the required Docker permissions.

            - *
          • + * *
          • - *

            You should consider the security implications before you use a + *

            You should consider the security implications before you use a * Docker layer cache.

            - *
          • + * *
          - *
          - *
        + * + * *
        LOCAL_CUSTOM_CACHE
        *
        - *

        Caches directories you specify in the buildspec file. This mode is a good + *

        Caches directories you specify in the buildspec file. This mode is a good * choice if your build scenario is not suited to one of the other three local * cache modes. If you use a custom cache:

        - *
          + *
            *
          • - *

            Only directories can be specified for caching. You cannot specify + *

            Only directories can be specified for caching. You cannot specify * individual files.

            - *
          • + * *
          • - *

            Symlinks are used to reference cached directories.

            - *
          • + *

            Symlinks are used to reference cached directories.

            + * *
          • - *

            Cached directories are linked to your build before it downloads + *

            Cached directories are linked to your build before it downloads * its project sources. Cached items are overridden if a source item * has the same name. Directories are specified using cache paths in * the buildspec file.

            - *
          • + * *
          - *
        + * *
        */ modes?: (CacheMode | string)[]; @@ -691,35 +691,35 @@ export interface EnvironmentVariable { /** * @public *

        The value of the environment variable.

        - * + * *

        We strongly discourage the use of PLAINTEXT environment variables to * store sensitive values, especially Amazon Web Services secret key IDs and secret access keys. * PLAINTEXT environment variables can be displayed in plain text * using the CodeBuild console and the CLI. For sensitive values, we recommend you use an * environment variable of type PARAMETER_STORE or * SECRETS_MANAGER.

        - *
        + *
        */ value: string | undefined; /** * @public *

        The type of environment variable. Valid values include:

        - *
          + *
            *
          • - *

            + *

            * PARAMETER_STORE: An environment variable stored in Systems Manager * Parameter Store. To learn how to specify a parameter store environment variable, * see env/parameter-store in the * CodeBuild User Guide.

            *
          • *
          • - *

            + *

            * PLAINTEXT: An environment variable in plain text format. This is * the default value.

            *
          • *
          • - *

            + *

            * SECRETS_MANAGER: An environment variable stored in Secrets Manager. To learn how to specify a secrets manager environment variable, see * env/secrets-manager in the * CodeBuild User Guide.

            @@ -760,27 +760,27 @@ export type CredentialProviderType = (typeof CredentialProviderType)[keyof typeo * @public *

            Information about credentials that provide access to a private Docker registry. When * this is set:

            - *
              + *
                *
              • - *

                - * imagePullCredentialsType must be set to SERVICE_ROLE. + *

                + * imagePullCredentialsType must be set to SERVICE_ROLE. *

                *
              • *
              • - *

                images cannot be curated or an Amazon ECR image.

                + *

                images cannot be curated or an Amazon ECR image.

                *
              • *
              - *

              For more information, see Private Registry with + *

              For more information, see Private Registry with * Secrets Manager Sample for CodeBuild.

              */ export interface RegistryCredential { /** * @public *

              The Amazon Resource Name (ARN) or name of credentials created using Secrets Manager.

              - * + * *

              The credential can use the name of the credentials only if they * exist in your current Amazon Web Services Region.

              - *
              + *
              */ credential: string | undefined; @@ -817,15 +817,15 @@ export interface ProjectEnvironment { /** * @public *

              The type of build environment to use for related builds.

              - *
                + *
                  *
                • - *

                  The environment type ARM_CONTAINER is available only in regions + *

                  The environment type ARM_CONTAINER is available only in regions * US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), * Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Sydney), and * EU (Frankfurt).

                  *
                • *
                • - *

                  The environment type LINUX_CONTAINER with compute type + *

                  The environment type LINUX_CONTAINER with compute type * build.general1.2xlarge is available only in regions * US East (N. Virginia), US East (Ohio), US West (Oregon), * Canada (Central), EU (Ireland), EU (London), @@ -834,7 +834,7 @@ export interface ProjectEnvironment { * China (Ningxia).

                  *
                • *
                • - *

                  The environment type LINUX_GPU_CONTAINER is available only in + *

                  The environment type LINUX_GPU_CONTAINER is available only in * regions US East (N. Virginia), US East (Ohio), US West (Oregon), * Canada (Central), EU (Ireland), EU (London), * EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul), @@ -842,15 +842,15 @@ export interface ProjectEnvironment { * China (Ningxia).

                  *
                • *
                - *
                  + *
                    *
                  • - *

                    The environment types WINDOWS_CONTAINER and + *

                    The environment types WINDOWS_CONTAINER and * WINDOWS_SERVER_2019_CONTAINER are available only in regions * US East (N. Virginia), US East (Ohio), US West (Oregon), and * EU (Ireland).

                    *
                  • *
                  - *

                  For more information, see Build environment compute types in the CodeBuild + *

                  For more information, see Build environment compute types in the CodeBuild * user guide.

                  */ type: EnvironmentType | string | undefined; @@ -859,20 +859,20 @@ export interface ProjectEnvironment { * @public *

                  The image tag or image digest that identifies the Docker image to use for this build * project. Use the following formats:

                  - *
                    + *
                      *
                    • - *

                      For an image tag: /:. For + *

                      For an image tag: /:. For * example, in the Docker repository that CodeBuild uses to manage its Docker * images, this would be aws/codebuild/standard:4.0.

                      *
                    • *
                    • - *

                      For an image digest: /@. + *

                      For an image digest: /@. * For example, to specify an image with the digest * "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf," use * /@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf.

                      *
                    • *
                    - *

                    For more information, see Docker images provided by CodeBuild in the CodeBuild user + *

                    For more information, see Docker images provided by CodeBuild in the CodeBuild user * guide.

                    */ image: string | undefined; @@ -881,47 +881,47 @@ export interface ProjectEnvironment { * @public *

                    Information about the compute resources the build project uses. Available values * include:

                    - *
                      + *
                        *
                      • - *

                        + *

                        * BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for * builds.

                        *
                      • *
                      • - *

                        + *

                        * BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for * builds.

                        *
                      • *
                      • - *

                        + *

                        * BUILD_GENERAL1_LARGE: Use up to 16 GB memory and 8 vCPUs for * builds, depending on your environment type.

                        *
                      • *
                      • - *

                        + *

                        * BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and * 824 GB of SSD storage for builds. This compute type supports Docker images up to * 100 GB uncompressed.

                        *
                      • *
                      - *

                      If you use BUILD_GENERAL1_LARGE:

                      - *
                        + *

                        If you use BUILD_GENERAL1_LARGE:

                        + *
                          *
                        • - *

                          For environment type LINUX_CONTAINER, you can use up to 15 GB + *

                          For environment type LINUX_CONTAINER, you can use up to 15 GB * memory and 8 vCPUs for builds.

                          *
                        • *
                        • - *

                          For environment type LINUX_GPU_CONTAINER, you can use up to 255 + *

                          For environment type LINUX_GPU_CONTAINER, you can use up to 255 * GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.

                          *
                        • *
                        • - *

                          For environment type ARM_CONTAINER, you can use up to 16 GB + *

                          For environment type ARM_CONTAINER, you can use up to 16 GB * memory and 8 vCPUs on ARM-based processors for builds.

                          *
                        • *
                        - *

                        For more information, see Build Environment + *

                        For more information, see Build Environment * Compute Types in the CodeBuild User Guide. - *

                        + *

                        */ computeType: ComputeType | string | undefined; @@ -937,24 +937,24 @@ export interface ProjectEnvironment { *

                        Enables running the Docker daemon inside a Docker container. Set to true only if the * build project is used to build Docker images. Otherwise, a build that attempts to * interact with the Docker daemon fails. The default setting is false.

                        - *

                        You can initialize the Docker daemon during the install phase of your build by adding + *

                        You can initialize the Docker daemon during the install phase of your build by adding * one of the following sets of commands to the install phase of your buildspec * file:

                        - *

                        If the operating system's base image is Ubuntu Linux:

                        - *

                        + *

                        If the operating system's base image is Ubuntu Linux:

                        + *

                        * - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay& - *

                        - *

                        + *

                        + *

                        * - timeout 15 sh -c "until docker info; do echo .; sleep 1; done" - *

                        - *

                        If the operating system's base image is Alpine Linux and the previous command does not + *

                        + *

                        If the operating system's base image is Alpine Linux and the previous command does not * work, add the -t argument to timeout:

                        - *

                        + *

                        * - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay& *

                        - *

                        + *

                        * - timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done" - *

                        + *

                        */ privilegedMode?: boolean; @@ -976,19 +976,19 @@ export interface ProjectEnvironment { * @public *

                        The type of credentials CodeBuild uses to pull images in your build. There are two valid * values:

                        - *
                          + *
                            *
                          • - *

                            - * CODEBUILD specifies that CodeBuild uses its own credentials. + *

                            + * CODEBUILD specifies that CodeBuild uses its own credentials. * This requires that you modify your ECR repository policy to trust CodeBuild service principal.

                            *
                          • *
                          • - *

                            - * SERVICE_ROLE specifies that CodeBuild uses your build project's service + *

                            + * SERVICE_ROLE specifies that CodeBuild uses your build project's service * role.

                            *
                          • *
                          - *

                          When you use a cross-account or private registry image, you must use SERVICE_ROLE + *

                          When you use a cross-account or private registry image, you must use SERVICE_ROLE * credentials. When you use an CodeBuild curated image, you must use CODEBUILD credentials. *

                          */ @@ -1013,7 +1013,7 @@ export type FileSystemType = (typeof FileSystemType)[keyof typeof FileSystemType *

                          Information about a file system created by Amazon Elastic File System (EFS). For more * information, see What Is * Amazon Elastic File System? - *

                          + *

                          */ export interface ProjectFileSystemLocation { /** @@ -1031,7 +1031,7 @@ export interface ProjectFileSystemLocation { * file system is fs-abcd1234.efs.us-west-2.amazonaws.com, and its mount * directory is my-efs-mount-directory, then the location is * fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory.

                          - *

                          The directory path in the format efs-dns-name:/directory-path is + *

                          The directory path in the format efs-dns-name:/directory-path is * optional. If you do not specify a directory path, the location is only the DNS name and * CodeBuild mounts the entire file system.

                          */ @@ -1050,7 +1050,7 @@ export interface ProjectFileSystemLocation { * CODEBUILD_. For example, if you specify my_efs for * identifier, a new environment variable is create named * CODEBUILD_MY_EFS.

                          - *

                          The identifier is used to mount your file system.

                          + *

                          The identifier is used to mount your file system.

                          */ identifier?: string; @@ -1087,13 +1087,13 @@ export interface CloudWatchLogsConfig { /** * @public *

                          The current status of the logs in CloudWatch Logs for a build project. Valid values are:

                          - *
                            + *
                              *
                            • - *

                              + *

                              * ENABLED: CloudWatch Logs are enabled for this build project.

                              *
                            • *
                            • - *

                              + *

                              * DISABLED: CloudWatch Logs are not enabled for this build project.

                              *
                            • *
                            @@ -1123,13 +1123,13 @@ export interface S3LogsConfig { /** * @public *

                            The current status of the S3 build logs. Valid values are:

                            - *
                              + *
                                *
                              • - *

                                + *

                                * ENABLED: S3 build logs are enabled for this build project.

                                *
                              • *
                              • - *

                                + *

                                * DISABLED: S3 build logs are not enabled for this build * project.

                                *
                              • @@ -1159,40 +1159,40 @@ export interface S3LogsConfig { * Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has * access to these objects. This property allows you to give the bucket owner access to * these objects.

                                - * + * *

                                To use this property, your CodeBuild service role must have the * s3:PutBucketAcl permission. This permission allows CodeBuild to modify * the access control list for the bucket.

                                - *
                                - *

                                This property can be one of the following values:

                                + *
                                + *

                                This property can be one of the following values:

                                *
                                *
                                NONE
                                *
                                - *

                                The bucket owner does not have access to the objects. This is the + *

                                The bucket owner does not have access to the objects. This is the * default.

                                *
                                *
                                READ_ONLY
                                *
                                - *

                                The bucket owner has read-only access to the objects. The uploading account + *

                                The bucket owner has read-only access to the objects. The uploading account * retains ownership of the objects.

                                *
                                *
                                FULL
                                *
                                - *

                                The bucket owner has full access to the objects. Object ownership is determined + *

                                The bucket owner has full access to the objects. Object ownership is determined * by the following criteria:

                                - *
                                @@ -1268,36 +1268,36 @@ export interface BuildBatchPhase { /** * @public *

                                The name of the batch build phase. Valid values include:

                                - *
                                + *
                                *
                                COMBINE_ARTIFACTS
                                *
                                - *

                                Build output artifacts are being combined and uploaded to the output + *

                                Build output artifacts are being combined and uploaded to the output * location.

                                - *
                                + * *
                                DOWNLOAD_BATCHSPEC
                                *
                                - *

                                The batch build specification is being downloaded.

                                - *
                                + *

                                The batch build specification is being downloaded.

                                + * *
                                FAILED
                                *
                                - *

                                One or more of the builds failed.

                                - *
                                + *

                                One or more of the builds failed.

                                + * *
                                IN_PROGRESS
                                *
                                - *

                                The batch build is in progress.

                                - *
                                + *

                                The batch build is in progress.

                                + * *
                                STOPPED
                                *
                                - *

                                The batch build was stopped.

                                - *
                                + *

                                The batch build was stopped.

                                + * *
                                SUBMITTED
                                *
                                - *

                                The btach build has been submitted.

                                - *
                                + *

                                The btach build has been submitted.

                                + * *
                                SUCCEEDED
                                *
                                - *

                                The batch build succeeded.

                                - *
                                + *

                                The batch build succeeded.

                                + * *
                                */ phaseType?: BuildBatchPhaseType | string; @@ -1305,31 +1305,31 @@ export interface BuildBatchPhase { /** * @public *

                                The current status of the batch build phase. Valid values include:

                                - *
                                + *
                                *
                                FAILED
                                *
                                - *

                                The build phase failed.

                                - *
                                + *

                                The build phase failed.

                                + * *
                                FAULT
                                *
                                - *

                                The build phase faulted.

                                - *
                                + *

                                The build phase faulted.

                                + * *
                                IN_PROGRESS
                                *
                                - *

                                The build phase is still in progress.

                                - *
                                + *

                                The build phase is still in progress.

                                + * *
                                STOPPED
                                *
                                - *

                                The build phase stopped.

                                - *
                                + *

                                The build phase stopped.

                                + * *
                                SUCCEEDED
                                *
                                - *

                                The build phase succeeded.

                                - *
                                + *

                                The build phase succeeded.

                                + * *
                                TIMED_OUT
                                *
                                - *

                                The build phase timed out.

                                - *
                                + *

                                The build phase timed out.

                                + * *
                                */ phaseStatus?: StatusType | string; @@ -1378,7 +1378,7 @@ export type SourceAuthType = (typeof SourceAuthType)[keyof typeof SourceAuthType * @public *

                                Information about the authorization settings for CodeBuild to access the source code to be * built.

                                - *

                                This information is for the CodeBuild console's use only. Your code should not get or set + *

                                This information is for the CodeBuild console's use only. Your code should not get or set * this information directly.

                                */ export interface SourceAuth { @@ -1386,8 +1386,8 @@ export interface SourceAuth { * @public * *

                                This data type is deprecated and is no longer accurate or used.

                                - *
                                - *

                                The authorization type to use. The only valid value is OAUTH, which + * + *

                                The authorization type to use. The only valid value is OAUTH, which * represents the OAuth authorization type.

                                */ type: SourceAuthType | string | undefined; @@ -1409,17 +1409,17 @@ export interface BuildStatusConfig { * @public *

                                Specifies the context of the build status CodeBuild sends to the source provider. The * usage of this parameter depends on the source provider.

                                - *
                                + *
                                *
                                Bitbucket
                                *
                                - *

                                This parameter is used for the name parameter in the + *

                                This parameter is used for the name parameter in the * Bitbucket commit status. For more information, see build in the Bitbucket API documentation.

                                - *
                                + * *
                                GitHub/GitHub Enterprise Server
                                *
                                - *

                                This parameter is used for the context parameter in the + *

                                This parameter is used for the context parameter in the * GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.

                                - *
                                + * *
                                */ context?: string; @@ -1428,17 +1428,17 @@ export interface BuildStatusConfig { * @public *

                                Specifies the target url of the build status CodeBuild sends to the source provider. The * usage of this parameter depends on the source provider.

                                - *
                                + *
                                *
                                Bitbucket
                                *
                                - *

                                This parameter is used for the url parameter in the Bitbucket + *

                                This parameter is used for the url parameter in the Bitbucket * commit status. For more information, see build in the Bitbucket API documentation.

                                - *
                                + * *
                                GitHub/GitHub Enterprise Server
                                *
                                - *

                                This parameter is used for the target_url parameter in the + *

                                This parameter is used for the target_url parameter in the * GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.

                                - *
                                + * *
                                */ targetUrl?: string; @@ -1485,36 +1485,36 @@ export interface ProjectSource { * @public *

                                The type of repository that contains the source code to be built. Valid values * include:

                                - *
                                  + *
                                    *
                                  • - *

                                    + *

                                    * BITBUCKET: The source code is in a Bitbucket repository.

                                    *
                                  • *
                                  • - *

                                    + *

                                    * CODECOMMIT: The source code is in an CodeCommit repository.

                                    *
                                  • *
                                  • - *

                                    + *

                                    * CODEPIPELINE: The source code settings are specified in the * source action of a pipeline in CodePipeline.

                                    *
                                  • *
                                  • - *

                                    + *

                                    * GITHUB: The source code is in a GitHub or GitHub Enterprise Cloud * repository.

                                    *
                                  • *
                                  • - *

                                    + *

                                    * GITHUB_ENTERPRISE: The source code is in a GitHub Enterprise * Server repository.

                                    *
                                  • *
                                  • - *

                                    + *

                                    * NO_SOURCE: The project does not have input source code.

                                    *
                                  • *
                                  • - *

                                    + *

                                    * S3: The source code is in an Amazon S3 bucket.

                                    *
                                  • *
                                  @@ -1525,33 +1525,33 @@ export interface ProjectSource { * @public *

                                  Information about the location of the source code to be built. Valid values * include:

                                  - *
                                    + *
                                      *
                                    • - *

                                      For source code settings that are specified in the source action of a pipeline + *

                                      For source code settings that are specified in the source action of a pipeline * in CodePipeline, location should not be specified. If it is specified, * CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source * action instead of this value.

                                      *
                                    • *
                                    • - *

                                      For source code in an CodeCommit repository, the HTTPS clone URL to the repository + *

                                      For source code in an CodeCommit repository, the HTTPS clone URL to the repository * that contains the source code and the buildspec file (for example, * https://git-codecommit..amazonaws.com/v1/repos/).

                                      *
                                    • *
                                    • - *

                                      For source code in an Amazon S3 input bucket, one of the following.

                                      - *
                                        + *

                                        For source code in an Amazon S3 input bucket, one of the following.

                                        + *
                                          *
                                        • - *

                                          The path to the ZIP file that contains the source code (for example, + *

                                          The path to the ZIP file that contains the source code (for example, * //.zip).

                                          - *
                                        • + * *
                                        • - *

                                          The path to the folder that contains the source code (for example, + *

                                          The path to the folder that contains the source code (for example, * ///).

                                          - *
                                        • + * *
                                        * *
                                      • - *

                                        For source code in a GitHub repository, the HTTPS clone URL to the repository + *

                                        For source code in a GitHub repository, the HTTPS clone URL to the repository * that contains the source and the buildspec file. You must connect your Amazon Web Services account * to your GitHub account. Use the CodeBuild console to start creating a build * project. When you use the console to connect (or reconnect) with GitHub, on the @@ -1565,7 +1565,7 @@ export interface ProjectSource { * OAUTH.

                                        *
                                      • *
                                      • - *

                                        For source code in a Bitbucket repository, the HTTPS clone URL to the + *

                                        For source code in a Bitbucket repository, the HTTPS clone URL to the * repository that contains the source and the buildspec file. You must connect * your Amazon Web Services account to your Bitbucket account. Use the CodeBuild console to start * creating a build project. When you use the console to connect (or reconnect) @@ -1578,7 +1578,7 @@ export interface ProjectSource { * OAUTH.

                                        *
                                      • *
                                      - *

                                      + *

                                      * If you specify CODEPIPELINE for the Type property, don't specify this * property. For all of the other types, you must specify Location. *

                                      @@ -1600,7 +1600,7 @@ export interface ProjectSource { /** * @public *

                                      The buildspec file declaration to use for the builds in this build project.

                                      - *

                                      If this value is set, it can be either an inline buildspec definition, the path to an + *

                                      If this value is set, it can be either an inline buildspec definition, the path to an * alternate buildspec file relative to the value of the built-in * CODEBUILD_SRC_DIR environment variable, or the path to an S3 bucket. * The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec @@ -1615,7 +1615,7 @@ export interface ProjectSource { * @public *

                                      Information about the authorization settings for CodeBuild to access the source code to be * built.

                                      - *

                                      This information is for the CodeBuild console's use only. Your code should not get or set + *

                                      This information is for the CodeBuild console's use only. Your code should not get or set * this information directly.

                                      */ auth?: SourceAuth; @@ -1626,11 +1626,11 @@ export interface ProjectSource { * provider. This option is valid only when your source provider is GitHub, GitHub * Enterprise, or Bitbucket. If this is set and you use a different source provider, an * invalidInputException is thrown.

                                      - *

                                      To be able to report the build status to the source provider, the user associated with the source provider must + *

                                      To be able to report the build status to the source provider, the user associated with the source provider must * have write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide.

                                      - *

                                      The status of a build triggered by a webhook is always reported to your source + *

                                      The status of a build triggered by a webhook is always reported to your source * provider.

                                      - *

                                      If your project's builds are triggered by a webhook, you must push a + *

                                      If your project's builds are triggered by a webhook, you must push a * new commit to the repo for a change to this property to take * effect.

                                      */ @@ -1678,10 +1678,10 @@ export interface ProjectSourceVersion { * of:

                                      *
                                        *
                                      • - *

                                        For CodeCommit: the commit ID, branch, or Git tag to use.

                                        + *

                                        For CodeCommit: the commit ID, branch, or Git tag to use.

                                        *
                                      • *
                                      • - *

                                        For GitHub: the commit ID, pull request ID, branch name, or tag name that + *

                                        For GitHub: the commit ID, pull request ID, branch name, or tag name that * corresponds to the version of the source code you want to build. If a pull * request ID is specified, it must use the format pr/pull-request-ID * (for example, pr/25). If a branch name is specified, the branch's @@ -1689,13 +1689,13 @@ export interface ProjectSourceVersion { * used.

                                        *
                                      • *
                                      • - *

                                        For Bitbucket: the commit ID, branch name, or tag name that corresponds to the + *

                                        For Bitbucket: the commit ID, branch name, or tag name that corresponds to the * version of the source code you want to build. If a branch name is specified, the * branch's HEAD commit ID is used. If not specified, the default branch's HEAD * commit ID is used.

                                        *
                                      • *
                                      • - *

                                        For Amazon S3: the version ID of the object that represents the build input ZIP + *

                                        For Amazon S3: the version ID of the object that represents the build input ZIP * file to use.

                                        *
                                      • *
                                      @@ -1779,15 +1779,15 @@ export interface BuildBatch { /** * @public *

                                      The identifier of the resolved version of this batch build's source code.

                                      - *
                                        + *
                                          *
                                        • - *

                                          For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.

                                          + *

                                          For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.

                                          *
                                        • *
                                        • - *

                                          For CodePipeline, the source revision provided by CodePipeline.

                                          + *

                                          For CodePipeline, the source revision provided by CodePipeline.

                                          *
                                        • *
                                        • - *

                                          For Amazon S3, this does not apply.

                                          + *

                                          For Amazon S3, this does not apply.

                                          *
                                        • *
                                        */ @@ -1910,16 +1910,16 @@ export interface BuildBatch { /** * @public *

                                        The entity that started the batch build. Valid values include:

                                        - *
                                          + *
                                            *
                                          • - *

                                            If CodePipeline started the build, the pipeline's name (for example, + *

                                            If CodePipeline started the build, the pipeline's name (for example, * codepipeline/my-demo-pipeline).

                                            *
                                          • *
                                          • - *

                                            If an IAM user started the build, the user's name.

                                            + *

                                            If an IAM user started the build, the user's name.

                                            *
                                          • *
                                          • - *

                                            If the Jenkins plugin for CodeBuild started the build, the string + *

                                            If the Jenkins plugin for CodeBuild started the build, the string * CodeBuild-Jenkins-Plugin.

                                            *
                                          • *
                                          @@ -1936,11 +1936,11 @@ export interface BuildBatch { * @public *

                                          The Key Management Service customer master key (CMK) to be used for encrypting the batch build output * artifacts.

                                          - * + * *

                                          You can use a cross-account KMS key to encrypt the build output artifacts if your * service role has permission to that key.

                                          - *
                                          - *

                                          You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using + * + *

                                          You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using * the format alias/).

                                          */ encryptionKey?: string; @@ -2038,10 +2038,10 @@ export interface DebugSession { /** * @public *

                                          Contains information about an exported environment variable.

                                          - *

                                          Exported environment variables are used in conjunction with CodePipeline to export + *

                                          Exported environment variables are used in conjunction with CodePipeline to export * environment variables from the current build stage to subsequent stages in the pipeline. * For more information, see Working with variables in the CodePipeline User Guide.

                                          - * + * *

                                          During a build, the value of a variable is available starting with the * install phase. It can be updated between the start of the * install phase and the end of the post_build phase. @@ -2170,52 +2170,52 @@ export interface BuildPhase { /** * @public *

                                          The name of the build phase. Valid values include:

                                          - *
                                          + *
                                          *
                                          BUILD
                                          *
                                          - *

                                          Core build activities typically occur in this build phase.

                                          - *
                                          + *

                                          Core build activities typically occur in this build phase.

                                          + * *
                                          COMPLETED
                                          *
                                          - *

                                          The build has been completed.

                                          - *
                                          + *

                                          The build has been completed.

                                          + * *
                                          DOWNLOAD_SOURCE
                                          *
                                          - *

                                          Source code is being downloaded in this build phase.

                                          - *
                                          + *

                                          Source code is being downloaded in this build phase.

                                          + * *
                                          FINALIZING
                                          *
                                          - *

                                          The build process is completing in this build phase.

                                          - *
                                          + *

                                          The build process is completing in this build phase.

                                          + * *
                                          INSTALL
                                          *
                                          - *

                                          Installation activities typically occur in this build phase.

                                          - *
                                          + *

                                          Installation activities typically occur in this build phase.

                                          + * *
                                          POST_BUILD
                                          *
                                          - *

                                          Post-build activities typically occur in this build phase.

                                          - *
                                          + *

                                          Post-build activities typically occur in this build phase.

                                          + * *
                                          PRE_BUILD
                                          *
                                          - *

                                          Pre-build activities typically occur in this build phase.

                                          - *
                                          + *

                                          Pre-build activities typically occur in this build phase.

                                          + * *
                                          PROVISIONING
                                          *
                                          - *

                                          The build environment is being set up.

                                          - *
                                          + *

                                          The build environment is being set up.

                                          + * *
                                          QUEUED
                                          *
                                          - *

                                          The build has been submitted and is queued behind other submitted + *

                                          The build has been submitted and is queued behind other submitted * builds.

                                          - *
                                          + * *
                                          SUBMITTED
                                          *
                                          - *

                                          The build has been submitted.

                                          - *
                                          + *

                                          The build has been submitted.

                                          + * *
                                          UPLOAD_ARTIFACTS
                                          *
                                          - *

                                          Build output artifacts are being uploaded to the output location.

                                          - *
                                          + *

                                          Build output artifacts are being uploaded to the output location.

                                          + * *
                                          */ phaseType?: BuildPhaseType | string; @@ -2223,31 +2223,31 @@ export interface BuildPhase { /** * @public *

                                          The current status of the build phase. Valid values include:

                                          - *
                                          + *
                                          *
                                          FAILED
                                          *
                                          - *

                                          The build phase failed.

                                          - *
                                          + *

                                          The build phase failed.

                                          + * *
                                          FAULT
                                          *
                                          - *

                                          The build phase faulted.

                                          - *
                                          + *

                                          The build phase faulted.

                                          + * *
                                          IN_PROGRESS
                                          *
                                          - *

                                          The build phase is still in progress.

                                          - *
                                          + *

                                          The build phase is still in progress.

                                          + * *
                                          STOPPED
                                          *
                                          - *

                                          The build phase stopped.

                                          - *
                                          + *

                                          The build phase stopped.

                                          + * *
                                          SUCCEEDED
                                          *
                                          - *

                                          The build phase succeeded.

                                          - *
                                          + *

                                          The build phase succeeded.

                                          + * *
                                          TIMED_OUT
                                          *
                                          - *

                                          The build phase timed out.

                                          - *
                                          + *

                                          The build phase timed out.

                                          + * *
                                          */ phaseStatus?: StatusType | string; @@ -2326,29 +2326,29 @@ export interface Build { /** * @public *

                                          The current status of the build. Valid values include:

                                          - *
                                            + *
                                              *
                                            • - *

                                              + *

                                              * FAILED: The build failed.

                                              *
                                            • *
                                            • - *

                                              + *

                                              * FAULT: The build faulted.

                                              *
                                            • *
                                            • - *

                                              + *

                                              * IN_PROGRESS: The build is still in progress.

                                              *
                                            • *
                                            • - *

                                              + *

                                              * STOPPED: The build stopped.

                                              *
                                            • *
                                            • - *

                                              + *

                                              * SUCCEEDED: The build succeeded.

                                              *
                                            • *
                                            • - *

                                              + *

                                              * TIMED_OUT: The build timed out.

                                              *
                                            • *
                                            @@ -2360,7 +2360,7 @@ export interface Build { *

                                            Any version identifier for the version of the source code to be built. If * sourceVersion is specified at the project level, then this * sourceVersion (at the build level) takes precedence.

                                            - *

                                            For more information, see Source Version Sample + *

                                            For more information, see Source Version Sample * with CodeBuild in the CodeBuild User Guide.

                                            */ sourceVersion?: string; @@ -2368,15 +2368,15 @@ export interface Build { /** * @public *

                                            An identifier for the version of this build's source code.

                                            - *
                                              + *
                                                *
                                              • - *

                                                For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.

                                                + *

                                                For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.

                                                *
                                              • *
                                              • - *

                                                For CodePipeline, the source revision provided by CodePipeline.

                                                + *

                                                For CodePipeline, the source revision provided by CodePipeline.

                                                *
                                              • *
                                              • - *

                                                For Amazon S3, this does not apply.

                                                + *

                                                For Amazon S3, this does not apply.

                                                *
                                              • *
                                              */ @@ -2411,12 +2411,12 @@ export interface Build { * @public *

                                              An array of ProjectSourceVersion objects. Each * ProjectSourceVersion must be one of:

                                              - *
                                                + *
                                                  *
                                                • - *

                                                  For CodeCommit: the commit ID, branch, or Git tag to use.

                                                  + *

                                                  For CodeCommit: the commit ID, branch, or Git tag to use.

                                                  *
                                                • *
                                                • - *

                                                  For GitHub: the commit ID, pull request ID, branch name, or tag name that + *

                                                  For GitHub: the commit ID, pull request ID, branch name, or tag name that * corresponds to the version of the source code you want to build. If a pull * request ID is specified, it must use the format pr/pull-request-ID * (for example, pr/25). If a branch name is specified, the branch's @@ -2424,13 +2424,13 @@ export interface Build { * used.

                                                  *
                                                • *
                                                • - *

                                                  For Bitbucket: the commit ID, branch name, or tag name that corresponds to the + *

                                                  For Bitbucket: the commit ID, branch name, or tag name that corresponds to the * version of the source code you want to build. If a branch name is specified, the * branch's HEAD commit ID is used. If not specified, the default branch's HEAD * commit ID is used.

                                                  *
                                                • *
                                                • - *

                                                  For Amazon S3: the version ID of the object that represents the build input ZIP + *

                                                  For Amazon S3: the version ID of the object that represents the build input ZIP * file to use.

                                                  *
                                                • *
                                                @@ -2495,17 +2495,17 @@ export interface Build { /** * @public *

                                                The entity that started the build. Valid values include:

                                                - *
                                                  + *
                                                    *
                                                  • - *

                                                    If CodePipeline started the build, the pipeline's name (for example, + *

                                                    If CodePipeline started the build, the pipeline's name (for example, * codepipeline/my-demo-pipeline).

                                                    *
                                                  • *
                                                  • - *

                                                    If an IAM user started the build, the user's name (for example, + *

                                                    If an IAM user started the build, the user's name (for example, * MyUserName).

                                                    *
                                                  • *
                                                  • - *

                                                    If the Jenkins plugin for CodeBuild started the build, the string + *

                                                    If the Jenkins plugin for CodeBuild started the build, the string * CodeBuild-Jenkins-Plugin.

                                                    *
                                                  • *
                                                  @@ -2531,11 +2531,11 @@ export interface Build { * @public *

                                                  The Key Management Service customer master key (CMK) to be used for encrypting the build output * artifacts.

                                                  - * + * *

                                                  You can use a cross-account KMS key to encrypt the build output artifacts if your * service role has permission to that key.

                                                  - *
                                                  - *

                                                  You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using + * + *

                                                  You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using * the format alias/).

                                                  */ encryptionKey?: string; @@ -2543,7 +2543,7 @@ export interface Build { /** * @public *

                                                  A list of exported environment variables for this build.

                                                  - *

                                                  Exported environment variables are used in conjunction with CodePipeline to export + *

                                                  Exported environment variables are used in conjunction with CodePipeline to export * environment variables from the current build stage to subsequent stages in the pipeline. * For more information, see Working with variables in the CodePipeline User Guide.

                                                  */ @@ -2616,23 +2616,23 @@ export interface ProjectArtifacts { /** * @public *

                                                  The type of build output artifact. Valid values include:

                                                  - *
                                                    + *
                                                      *
                                                    • - *

                                                      + *

                                                      * CODEPIPELINE: The build project has build output generated * through CodePipeline.

                                                      - * - *

                                                      The CODEPIPELINE type is not supported for + * + *

                                                      The CODEPIPELINE type is not supported for * secondaryArtifacts.

                                                      - *
                                                      + * *
                                                    • *
                                                    • - *

                                                      + *

                                                      * NO_ARTIFACTS: The build project does not produce any build * output.

                                                      *
                                                    • *
                                                    • - *

                                                      + *

                                                      * S3: The build project stores build output in Amazon S3.

                                                      *
                                                    • *
                                                    @@ -2642,18 +2642,18 @@ export interface ProjectArtifacts { /** * @public *

                                                    Information about the build output artifact location:

                                                    - *
                                                      + *
                                                        *
                                                      • - *

                                                        If type is set to CODEPIPELINE, CodePipeline ignores this + *

                                                        If type is set to CODEPIPELINE, CodePipeline ignores this * value if specified. This is because CodePipeline manages its build output locations * instead of CodeBuild.

                                                        *
                                                      • *
                                                      • - *

                                                        If type is set to NO_ARTIFACTS, this value is + *

                                                        If type is set to NO_ARTIFACTS, this value is * ignored if specified, because no build output is produced.

                                                        *
                                                      • *
                                                      • - *

                                                        If type is set to S3, this is the name of the output + *

                                                        If type is set to S3, this is the name of the output * bucket.

                                                        *
                                                      • *
                                                      @@ -2664,23 +2664,23 @@ export interface ProjectArtifacts { * @public *

                                                      Along with namespaceType and name, the pattern that CodeBuild * uses to name and store the output artifact:

                                                      - *
                                                        + *
                                                          *
                                                        • - *

                                                          If type is set to CODEPIPELINE, CodePipeline ignores this + *

                                                          If type is set to CODEPIPELINE, CodePipeline ignores this * value if specified. This is because CodePipeline manages its build output names instead * of CodeBuild.

                                                          *
                                                        • *
                                                        • - *

                                                          If type is set to NO_ARTIFACTS, this value is + *

                                                          If type is set to NO_ARTIFACTS, this value is * ignored if specified, because no build output is produced.

                                                          *
                                                        • *
                                                        • - *

                                                          If type is set to S3, this is the path to the output + *

                                                          If type is set to S3, this is the path to the output * artifact. If path is not specified, path is not * used.

                                                          *
                                                        • *
                                                        - *

                                                        For example, if path is set to MyArtifacts, + *

                                                        For example, if path is set to MyArtifacts, * namespaceType is set to NONE, and name is set * to MyArtifact.zip, the output artifact is stored in the output bucket at * MyArtifacts/MyArtifact.zip.

                                                        @@ -2691,33 +2691,33 @@ export interface ProjectArtifacts { * @public *

                                                        Along with path and name, the pattern that CodeBuild uses to * determine the name and location to store the output artifact:

                                                        - *
                                                          + *
                                                            *
                                                          • - *

                                                            If type is set to CODEPIPELINE, CodePipeline ignores this + *

                                                            If type is set to CODEPIPELINE, CodePipeline ignores this * value if specified. This is because CodePipeline manages its build output names instead * of CodeBuild.

                                                            *
                                                          • *
                                                          • - *

                                                            If type is set to NO_ARTIFACTS, this value is + *

                                                            If type is set to NO_ARTIFACTS, this value is * ignored if specified, because no build output is produced.

                                                            *
                                                          • *
                                                          • - *

                                                            If type is set to S3, valid values include:

                                                            - *
                                                              + *

                                                              If type is set to S3, valid values include:

                                                              + *
                                                                *
                                                              • - *

                                                                + *

                                                                * BUILD_ID: Include the build ID in the location of the * build output artifact.

                                                                - *
                                                              • + * *
                                                              • - *

                                                                + *

                                                                * NONE: Do not include the build ID. This is the default if * namespaceType is not specified.

                                                                - *
                                                              • + * *
                                                              * *
                                                            - *

                                                            For example, if path is set to MyArtifacts, + *

                                                            For example, if path is set to MyArtifacts, * namespaceType is set to BUILD_ID, and name is * set to MyArtifact.zip, the output artifact is stored in * MyArtifacts//MyArtifact.zip.

                                                            @@ -2728,37 +2728,37 @@ export interface ProjectArtifacts { * @public *

                                                            Along with path and namespaceType, the pattern that CodeBuild * uses to name and store the output artifact:

                                                            - *
                                                              + *
                                                                *
                                                              • - *

                                                                If type is set to CODEPIPELINE, CodePipeline ignores this + *

                                                                If type is set to CODEPIPELINE, CodePipeline ignores this * value if specified. This is because CodePipeline manages its build output names instead * of CodeBuild.

                                                                *
                                                              • *
                                                              • - *

                                                                If type is set to NO_ARTIFACTS, this value is + *

                                                                If type is set to NO_ARTIFACTS, this value is * ignored if specified, because no build output is produced.

                                                                *
                                                              • *
                                                              • - *

                                                                If type is set to S3, this is the name of the output + *

                                                                If type is set to S3, this is the name of the output * artifact object. If you set the name to be a forward slash ("/"), the artifact * is stored in the root of the output bucket.

                                                                *
                                                              • *
                                                              - *

                                                              For example:

                                                              - *
                                                                + *

                                                                For example:

                                                                + *
                                                                  *
                                                                • - *

                                                                  If path is set to MyArtifacts, + *

                                                                  If path is set to MyArtifacts, * namespaceType is set to BUILD_ID, and * name is set to MyArtifact.zip, then the output * artifact is stored in MyArtifacts//MyArtifact.zip.

                                                                  *
                                                                • *
                                                                • - *

                                                                  If path is empty, namespaceType is set to + *

                                                                  If path is empty, namespaceType is set to * NONE, and name is set to "/", the * output artifact is stored in the root of the output bucket.

                                                                  *
                                                                • *
                                                                • - *

                                                                  If path is set to MyArtifacts, + *

                                                                  If path is set to MyArtifacts, * namespaceType is set to BUILD_ID, and * name is set to "/", the output artifact is stored * in MyArtifacts/.

                                                                  @@ -2770,30 +2770,30 @@ export interface ProjectArtifacts { /** * @public *

                                                                  The type of build output artifact to create:

                                                                  - *
                                                                    + *
                                                                      *
                                                                    • - *

                                                                      If type is set to CODEPIPELINE, CodePipeline ignores this + *

                                                                      If type is set to CODEPIPELINE, CodePipeline ignores this * value if specified. This is because CodePipeline manages its build output artifacts * instead of CodeBuild.

                                                                      *
                                                                    • *
                                                                    • - *

                                                                      If type is set to NO_ARTIFACTS, this value is + *

                                                                      If type is set to NO_ARTIFACTS, this value is * ignored if specified, because no build output is produced.

                                                                      *
                                                                    • *
                                                                    • - *

                                                                      If type is set to S3, valid values include:

                                                                      - *
                                                                        + *

                                                                        If type is set to S3, valid values include:

                                                                        + *
                                                                          *
                                                                        • - *

                                                                          + *

                                                                          * NONE: CodeBuild creates in the output bucket a folder that * contains the build output. This is the default if packaging * is not specified.

                                                                          - *
                                                                        • + * *
                                                                        • - *

                                                                          + *

                                                                          * ZIP: CodeBuild creates in the output bucket a ZIP file that * contains the build output.

                                                                          - *
                                                                        • + * *
                                                                        * *
                                                                      @@ -2829,40 +2829,40 @@ export interface ProjectArtifacts { * Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has * access to these objects. This property allows you to give the bucket owner access to * these objects.

                                                                      - * + * *

                                                                      To use this property, your CodeBuild service role must have the * s3:PutBucketAcl permission. This permission allows CodeBuild to modify * the access control list for the bucket.

                                                                      - *
                                                                      - *

                                                                      This property can be one of the following values:

                                                                      + *
                                                                      + *

                                                                      This property can be one of the following values:

                                                                      *
                                                                      *
                                                                      NONE
                                                                      *
                                                                      - *

                                                                      The bucket owner does not have access to the objects. This is the + *

                                                                      The bucket owner does not have access to the objects. This is the * default.

                                                                      *
                                                                      *
                                                                      READ_ONLY
                                                                      *
                                                                      - *

                                                                      The bucket owner has read-only access to the objects. The uploading account + *

                                                                      The bucket owner has read-only access to the objects. The uploading account * retains ownership of the objects.

                                                                      *
                                                                      *
                                                                      FULL
                                                                      *
                                                                      - *

                                                                      The bucket owner has full access to the objects. Object ownership is determined + *

                                                                      The bucket owner has full access to the objects. Object ownership is determined * by the following criteria:

                                                                      - *
                                                                      @@ -2908,7 +2908,7 @@ export type ProjectVisibilityType = (typeof ProjectVisibilityType)[keyof typeof /** * @public *

                                                                      A tag, consisting of a key and a value.

                                                                      - *

                                                                      This tag is available for use by Amazon Web Services services that support tags in CodeBuild.

                                                                      + *

                                                                      This tag is available for use by Amazon Web Services services that support tags in CodeBuild.

                                                                      */ export interface Tag { /** @@ -2966,12 +2966,12 @@ export interface WebhookFilter { *

                                                                      The type of webhook filter. There are six webhook filter types: EVENT, * ACTOR_ACCOUNT_ID, HEAD_REF, BASE_REF, * FILE_PATH, and COMMIT_MESSAGE.

                                                                      - *
                                                                      + *
                                                                      *
                                                                      * EVENT *
                                                                      *
                                                                      - *

                                                                      A webhook event triggers a build when the provided pattern + *

                                                                      A webhook event triggers a build when the provided pattern * matches one of five event types: PUSH, * PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED, * PULL_REQUEST_REOPENED, and @@ -2979,63 +2979,63 @@ export interface WebhookFilter { * specified as a comma-separated string. For example, PUSH, * PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED filters all push, pull * request created, and pull request updated events.

                                                                      - * - *

                                                                      The PULL_REQUEST_REOPENED works with GitHub and GitHub + * + *

                                                                      The PULL_REQUEST_REOPENED works with GitHub and GitHub * Enterprise only.

                                                                      - *
                                                                      - *
                                                                      + * + * *
                                                                      * ACTOR_ACCOUNT_ID *
                                                                      *
                                                                      - *

                                                                      A webhook event triggers a build when a GitHub, GitHub Enterprise, or + *

                                                                      A webhook event triggers a build when a GitHub, GitHub Enterprise, or * Bitbucket account ID matches the regular expression pattern. *

                                                                      - *
                                                                      + * *
                                                                      * HEAD_REF *
                                                                      *
                                                                      - *

                                                                      A webhook event triggers a build when the head reference matches the + *

                                                                      A webhook event triggers a build when the head reference matches the * regular expression pattern. For example, * refs/heads/branch-name and refs/tags/tag-name.

                                                                      - *

                                                                      Works with GitHub and GitHub Enterprise push, GitHub and GitHub + *

                                                                      Works with GitHub and GitHub Enterprise push, GitHub and GitHub * Enterprise pull request, Bitbucket push, and Bitbucket pull request events. *

                                                                      - *
                                                                      + * *
                                                                      * BASE_REF *
                                                                      *
                                                                      - *

                                                                      A webhook event triggers a build when the base reference matches the + *

                                                                      A webhook event triggers a build when the base reference matches the * regular expression pattern. For example, * refs/heads/branch-name.

                                                                      - * - *

                                                                      Works with pull request events only.

                                                                      - *
                                                                      - *
                                                                      + * + *

                                                                      Works with pull request events only.

                                                                      + *
                                                                      + * *
                                                                      * FILE_PATH *
                                                                      *
                                                                      - *

                                                                      A webhook triggers a build when the path of a changed file matches the + *

                                                                      A webhook triggers a build when the path of a changed file matches the * regular expression pattern.

                                                                      - * - *

                                                                      Works with GitHub and Bitbucket events push and pull requests events. + * + *

                                                                      Works with GitHub and Bitbucket events push and pull requests events. * Also works with GitHub Enterprise push events, but does not work with * GitHub Enterprise pull request events.

                                                                      - *
                                                                      - *
                                                                      + * + * *
                                                                      COMMIT_MESSAGE
                                                                      *
                                                                      - *

                                                                      A webhook triggers a build when the head commit message matches the + *

                                                                      A webhook triggers a build when the head commit message matches the * regular expression pattern.

                                                                      - * - *

                                                                      Works with GitHub and Bitbucket events push and pull requests events. + * + *

                                                                      Works with GitHub and Bitbucket events push and pull requests events. * Also works with GitHub Enterprise push events, but does not work with * GitHub Enterprise pull request events.

                                                                      - *
                                                                      - *
                                                                      + * + * *
                                                                      */ type: WebhookFilterType | string | undefined; @@ -3046,7 +3046,7 @@ export interface WebhookFilter { * string that specifies one or more events. For example, the webhook filter PUSH, * PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED allows all push, pull request * created, and pull request updated events to trigger a build.

                                                                      - *

                                                                      For a WebHookFilter that uses any of the other filter types, a regular + *

                                                                      For a WebHookFilter that uses any of the other filter types, a regular * expression pattern. For example, a WebHookFilter that uses * HEAD_REF for its type and the pattern * ^refs/heads/ triggers a build when the head reference is a branch with @@ -3341,7 +3341,6 @@ export interface Project { /** * @public *

                                                                      Specifies the visibility of the project's builds. Possible values are:

                                                                      - * *
                                                                      *
                                                                      PUBLIC_READ
                                                                      *
                                                                      @@ -3454,15 +3453,15 @@ export interface S3ReportExportConfig { /** * @public *

                                                                      The type of build output artifact to create. Valid values include:

                                                                      - *
                                                                        + *
                                                                          *
                                                                        • - *

                                                                          - * NONE: CodeBuild creates the raw data in the output bucket. This + *

                                                                          + * NONE: CodeBuild creates the raw data in the output bucket. This * is the default if packaging is not specified.

                                                                          *
                                                                        • *
                                                                        • - *

                                                                          - * ZIP: CodeBuild creates a ZIP file with the raw data in the + *

                                                                          + * ZIP: CodeBuild creates a ZIP file with the raw data in the * output bucket.

                                                                          *
                                                                        • *
                                                                        @@ -3490,14 +3489,14 @@ export interface ReportExportConfig { /** * @public *

                                                                        The export configuration type. Valid values are:

                                                                        - *
                                                                          + *
                                                                            *
                                                                          • - *

                                                                            - * S3: The report results are exported to an S3 bucket.

                                                                            + *

                                                                            + * S3: The report results are exported to an S3 bucket.

                                                                            *
                                                                          • *
                                                                          • - *

                                                                            - * NO_EXPORT: The report results are not exported.

                                                                            + *

                                                                            + * NO_EXPORT: The report results are not exported.

                                                                            *
                                                                          • *
                                                                          */ @@ -3599,7 +3598,7 @@ export interface ReportGroup { /** * @public *

                                                                          A list of tag key and value pairs associated with this report group.

                                                                          - *

                                                                          These tags are available for use by Amazon Web Services services that support CodeBuild report group + *

                                                                          These tags are available for use by Amazon Web Services services that support CodeBuild report group * tags.

                                                                          */ tags?: Tag[]; @@ -3659,9 +3658,9 @@ export interface BatchGetReportsInput { /** * @public *

                                                                          Contains a summary of a code coverage report.

                                                                          - *

                                                                          Line coverage measures how many statements your tests cover. A statement is a single + *

                                                                          Line coverage measures how many statements your tests cover. A statement is a single * instruction, not including comments, conditionals, etc.

                                                                          - *

                                                                          Branch coverage determines if your tests cover every possible branch of a control + *

                                                                          Branch coverage determines if your tests cover every possible branch of a control * structure, such as an if or case statement.

                                                                          */ export interface CodeCoverageReportSummary { @@ -4451,15 +4450,15 @@ export interface DescribeCodeCoveragesInput { /** * @public *

                                                                          Specifies how the results are sorted. Possible values are:

                                                                          - *
                                                                          + *
                                                                          *
                                                                          FILE_PATH
                                                                          *
                                                                          - *

                                                                          The results are sorted by file path.

                                                                          - *
                                                                          + *

                                                                          The results are sorted by file path.

                                                                          + *
                                                                      *
                                                                      LINE_COVERAGE_PERCENTAGE
                                                                      *
                                                                      - *

                                                                      The results are sorted by the percentage of lines that are covered.

                                                                      - *
                                                                      + *

                                                                      The results are sorted by the percentage of lines that are covered.

                                                                      + * *
                                                                      */ sortBy?: ReportCodeCoverageSortByType | string; @@ -4480,9 +4479,9 @@ export interface DescribeCodeCoveragesInput { /** * @public *

                                                                      Contains code coverage report information.

                                                                      - *

                                                                      Line coverage measures how many statements your tests cover. A statement is a single + *

                                                                      Line coverage measures how many statements your tests cover. A statement is a single * instruction, not including comments, conditionals, etc.

                                                                      - *

                                                                      Branch coverage determines if your tests cover every possible branch of a control + *

                                                                      Branch coverage determines if your tests cover every possible branch of a control * structure, such as an if or case statement.

                                                                      */ export interface CodeCoverage { @@ -4575,29 +4574,29 @@ export interface TestCaseFilter { * @public *

                                                                      The status used to filter test cases. A TestCaseFilter can have one * status. Valid values are:

                                                                      - *
                                                                        + *
                                                                          *
                                                                        • - *

                                                                          + *

                                                                          * SUCCEEDED *

                                                                          *
                                                                        • *
                                                                        • - *

                                                                          + *

                                                                          * FAILED *

                                                                          *
                                                                        • *
                                                                        • - *

                                                                          + *

                                                                          * ERROR *

                                                                          *
                                                                        • *
                                                                        • - *

                                                                          + *

                                                                          * SKIPPED *

                                                                          *
                                                                        • *
                                                                        • - *

                                                                          + *

                                                                          * UNKNOWN *

                                                                          *
                                                                        • @@ -4776,7 +4775,7 @@ export interface GetReportGroupTrendInput { * @public *

                                                                          The number of reports to analyze. This operation always retrieves the most recent * reports.

                                                                          - *

                                                                          If this parameter is omitted, the most recent 100 reports are analyzed.

                                                                          + *

                                                                          If this parameter is omitted, the most recent 100 reports are analyzed.

                                                                          */ numOfReports?: number; @@ -4786,61 +4785,61 @@ export interface GetReportGroupTrendInput { *
                                                                          *
                                                                          Test reports:
                                                                          *
                                                                          - *
                                                                          + *
                                                                          *
                                                                          DURATION
                                                                          *
                                                                          - *

                                                                          Accumulate the test run times for the specified + *

                                                                          Accumulate the test run times for the specified * reports.

                                                                          - *
                                                                          + *
                                                                          *
                                                                          PASS_RATE
                                                                          *
                                                                          - *

                                                                          Accumulate the percentage of tests that passed for the + *

                                                                          Accumulate the percentage of tests that passed for the * specified test reports.

                                                                          - *
                                                                          + * *
                                                                          TOTAL
                                                                          *
                                                                          - *

                                                                          Accumulate the total number of tests for the specified test + *

                                                                          Accumulate the total number of tests for the specified test * reports.

                                                                          - *
                                                                          + * *
                                                                          - * + * *
                                                                      *
                                                                      *
                                                                      Code coverage reports:
                                                                      *
                                                                      - *
                                                                      + *
                                                                      *
                                                                      BRANCH_COVERAGE
                                                                      *
                                                                      - *

                                                                      Accumulate the branch coverage percentages for the specified + *

                                                                      Accumulate the branch coverage percentages for the specified * test reports.

                                                                      - *
                                                                      + *
                                                                      *
                                                                      BRANCHES_COVERED
                                                                      *
                                                                      - *

                                                                      Accumulate the branches covered values for the specified test + *

                                                                      Accumulate the branches covered values for the specified test * reports.

                                                                      - *
                                                                      + * *
                                                                      BRANCHES_MISSED
                                                                      *
                                                                      - *

                                                                      Accumulate the branches missed values for the specified test + *

                                                                      Accumulate the branches missed values for the specified test * reports.

                                                                      - *
                                                                      + * *
                                                                      LINE_COVERAGE
                                                                      *
                                                                      - *

                                                                      Accumulate the line coverage percentages for the specified + *

                                                                      Accumulate the line coverage percentages for the specified * test reports.

                                                                      - *
                                                                      + * *
                                                                      LINES_COVERED
                                                                      *
                                                                      - *

                                                                      Accumulate the lines covered values for the specified test + *

                                                                      Accumulate the lines covered values for the specified test * reports.

                                                                      - *
                                                                      + * *
                                                                      LINES_MISSED
                                                                      *
                                                                      - *

                                                                      Accumulate the lines not covered values for the specified test + *

                                                                      Accumulate the lines not covered values for the specified test * reports.

                                                                      - *
                                                                      + * *
                                                                      - * + * *
                                                                      */ trendField: ReportGroupTrendFieldType | string | undefined; @@ -5095,14 +5094,14 @@ export interface ListBuildBatchesForProjectInput { /** * @public *

                                                                      Specifies the sort order of the returned items. Valid values include:

                                                                      - *
                                                                        + *
                                                                          *
                                                                        • - *

                                                                          + *

                                                                          * ASCENDING: List the batch build identifiers in ascending order by * identifier.

                                                                          *
                                                                        • *
                                                                        • - *

                                                                          + *

                                                                          * DESCENDING: List the batch build identifiers in descending order * by identifier.

                                                                          *
                                                                        • @@ -5145,14 +5144,14 @@ export interface ListBuildsInput { /** * @public *

                                                                          The order to list build IDs. Valid values include:

                                                                          - *
                                                                            + *
                                                                              *
                                                                            • - *

                                                                              + *

                                                                              * ASCENDING: List the build IDs in ascending order by build * ID.

                                                                              *
                                                                            • *
                                                                            • - *

                                                                              + *

                                                                              * DESCENDING: List the build IDs in descending order by build * ID.

                                                                              *
                                                                            • @@ -5206,18 +5205,18 @@ export interface ListBuildsForProjectInput { * @public *

                                                                              The order to sort the results in. The results are sorted by build number, not the build * identifier. If this is not specified, the results are sorted in descending order.

                                                                              - *

                                                                              Valid values include:

                                                                              - *
                                                                                + *

                                                                                Valid values include:

                                                                                + *
                                                                                  *
                                                                                • - *

                                                                                  + *

                                                                                  * ASCENDING: List the build identifiers in ascending order, by build number.

                                                                                  *
                                                                                • *
                                                                                • - *

                                                                                  + *

                                                                                  * DESCENDING: List the build identifiers in descending order, by build number.

                                                                                  *
                                                                                • *
                                                                                - *

                                                                                If the project has more than 100 builds, setting the sort order will result in an + *

                                                                                If the project has more than 100 builds, setting the sort order will result in an * error.

                                                                                */ sortOrder?: SortOrderType | string; @@ -5395,23 +5394,23 @@ export interface ListProjectsInput { /** * @public *

                                                                                The criterion to be used to list build project names. Valid values include:

                                                                                - *
                                                                                  + *
                                                                                    *
                                                                                  • - *

                                                                                    + *

                                                                                    * CREATED_TIME: List based on when each build project was * created.

                                                                                    *
                                                                                  • *
                                                                                  • - *

                                                                                    + *

                                                                                    * LAST_MODIFIED_TIME: List based on when information about each * build project was last changed.

                                                                                    *
                                                                                  • *
                                                                                  • - *

                                                                                    + *

                                                                                    * NAME: List based on each build project's name.

                                                                                    *
                                                                                  • *
                                                                                  - *

                                                                                  Use sortOrder to specify in what order to list the build project names + *

                                                                                  Use sortOrder to specify in what order to list the build project names * based on the preceding criteria.

                                                                                  */ sortBy?: ProjectSortByType | string; @@ -5419,17 +5418,17 @@ export interface ListProjectsInput { /** * @public *

                                                                                  The order in which to list build projects. Valid values include:

                                                                                  - *
                                                                                    + *
                                                                                      *
                                                                                    • - *

                                                                                      + *

                                                                                      * ASCENDING: List in ascending order.

                                                                                      *
                                                                                    • *
                                                                                    • - *

                                                                                      + *

                                                                                      * DESCENDING: List in descending order.

                                                                                      *
                                                                                    • *
                                                                                    - *

                                                                                    Use sortBy to specify the criterion to be used to list build project + *

                                                                                    Use sortBy to specify the criterion to be used to list build project * names.

                                                                                    */ sortOrder?: SortOrderType | string; @@ -5754,14 +5753,14 @@ export interface ListSharedProjectsInput { * @public *

                                                                                    The criterion to be used to list build projects shared with the current Amazon Web Services account * or user. Valid values include:

                                                                                    - *
                                                                                      + *
                                                                                        *
                                                                                      • - *

                                                                                        - * ARN: List based on the ARN.

                                                                                        + *

                                                                                        + * ARN: List based on the ARN.

                                                                                        *
                                                                                      • *
                                                                                      • - *

                                                                                        - * MODIFIED_TIME: List based on when information about the shared + *

                                                                                        + * MODIFIED_TIME: List based on when information about the shared * project was last changed.

                                                                                        *
                                                                                      • *
                                                                                      @@ -5771,13 +5770,13 @@ export interface ListSharedProjectsInput { /** * @public *

                                                                                      The order in which to list shared build projects. Valid values include:

                                                                                      - *
                                                                                        + *
                                                                                          *
                                                                                        • - *

                                                                                          + *

                                                                                          * ASCENDING: List in ascending order.

                                                                                          *
                                                                                        • *
                                                                                        • - *

                                                                                          + *

                                                                                          * DESCENDING: List in descending order.

                                                                                          *
                                                                                        • *
                                                                                        @@ -5834,13 +5833,13 @@ export interface ListSharedReportGroupsInput { /** * @public *

                                                                                        The order in which to list shared report groups. Valid values include:

                                                                                        - *
                                                                                          + *
                                                                                            *
                                                                                          • - *

                                                                                            + *

                                                                                            * ASCENDING: List in ascending order.

                                                                                            *
                                                                                          • *
                                                                                          • - *

                                                                                            + *

                                                                                            * DESCENDING: List in descending order.

                                                                                            *
                                                                                          • *
                                                                                          @@ -5851,14 +5850,14 @@ export interface ListSharedReportGroupsInput { * @public *

                                                                                          The criterion to be used to list report groups shared with the current Amazon Web Services account or * user. Valid values include:

                                                                                          - *
                                                                                            + *
                                                                                              *
                                                                                            • - *

                                                                                              - * ARN: List based on the ARN.

                                                                                              + *

                                                                                              + * ARN: List based on the ARN.

                                                                                              *
                                                                                            • *
                                                                                            • - *

                                                                                              - * MODIFIED_TIME: List based on when information about the shared + *

                                                                                              + * MODIFIED_TIME: List based on when information about the shared * report group was last changed.

                                                                                              *
                                                                                            • *
                                                                                            @@ -6097,36 +6096,36 @@ export interface StartBuildInput { *

                                                                                            The version of the build input to be built, for this build only. If not specified, * the latest version is used. If specified, the contents depends on the source * provider:

                                                                                            - *
                                                                                            + *
                                                                                            *
                                                                                            CodeCommit
                                                                                            *
                                                                                            - *

                                                                                            The commit ID, branch, or Git tag to use.

                                                                                            - *
                                                                                            + *

                                                                                            The commit ID, branch, or Git tag to use.

                                                                                            + * *
                                                                                            GitHub
                                                                                            *
                                                                                            - *

                                                                                            The commit ID, pull request ID, branch name, or tag name that corresponds + *

                                                                                            The commit ID, pull request ID, branch name, or tag name that corresponds * to the version of the source code you want to build. If a pull request ID is * specified, it must use the format pr/pull-request-ID (for * example pr/25). If a branch name is specified, the branch's * HEAD commit ID is used. If not specified, the default branch's HEAD commit * ID is used.

                                                                                            - *
                                                                                            + * *
                                                                                            Bitbucket
                                                                                            *
                                                                                            - *

                                                                                            The commit ID, branch name, or tag name that corresponds to the version of + *

                                                                                            The commit ID, branch name, or tag name that corresponds to the version of * the source code you want to build. If a branch name is specified, the * branch's HEAD commit ID is used. If not specified, the default branch's HEAD * commit ID is used.

                                                                                            - *
                                                                                            + * *
                                                                                            Amazon S3
                                                                                            *
                                                                                            - *

                                                                                            The version ID of the object that represents the build input ZIP file to + *

                                                                                            The version ID of the object that represents the build input ZIP file to * use.

                                                                                            - *
                                                                                            + * *
                                                                                            - *

                                                                                            If sourceVersion is specified at the project level, then this + *

                                                                                            If sourceVersion is specified at the project level, then this * sourceVersion (at the build level) takes precedence.

                                                                                            - *

                                                                                            For more information, see Source Version Sample + *

                                                                                            For more information, see Source Version Sample * with CodeBuild in the CodeBuild User Guide.

                                                                                            */ sourceVersion?: string; @@ -6191,7 +6190,7 @@ export interface StartBuildInput { * @public *

                                                                                            A buildspec file declaration that overrides, for this build only, the latest one * already defined in the build project.

                                                                                            - *

                                                                                            If this value is set, it can be either an inline buildspec definition, the path to an + *

                                                                                            If this value is set, it can be either an inline buildspec definition, the path to an * alternate buildspec file relative to the value of the built-in * CODEBUILD_SRC_DIR environment variable, or the path to an S3 bucket. * The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec @@ -6216,12 +6215,12 @@ export interface StartBuildInput { *

                                                                                            Set to true to report to your source provider the status of a build's start and * completion. If you use this option with a source provider other than GitHub, GitHub * Enterprise, or Bitbucket, an invalidInputException is thrown.

                                                                                            - *

                                                                                            To be able to report the build status to the source provider, the user associated with the source provider must + *

                                                                                            To be able to report the build status to the source provider, the user associated with the source provider must * have write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide.

                                                                                            - * + * *

                                                                                            The status of a build triggered by a webhook is always reported to your source * provider.

                                                                                            - *
                                                                                            + *
                                                                                            */ reportBuildStatusOverride?: boolean; @@ -6299,11 +6298,11 @@ export interface StartBuildInput { * @public *

                                                                                            The Key Management Service customer master key (CMK) that overrides the one specified in the build * project. The CMK key encrypts the build output artifacts.

                                                                                            - * + * *

                                                                                            You can use a cross-account KMS key to encrypt the build output artifacts if your * service role has permission to that key.

                                                                                            - *
                                                                                            - *

                                                                                            You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using + * + *

                                                                                            You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using * the format alias/).

                                                                                            */ encryptionKeyOverride?: string; @@ -6334,18 +6333,18 @@ export interface StartBuildInput { * @public *

                                                                                            The type of credentials CodeBuild uses to pull images in your build. There are two valid * values:

                                                                                            - *
                                                                                            + *
                                                                                            *
                                                                                            CODEBUILD
                                                                                            *
                                                                                            - *

                                                                                            Specifies that CodeBuild uses its own credentials. This requires that you + *

                                                                                            Specifies that CodeBuild uses its own credentials. This requires that you * modify your ECR repository policy to trust CodeBuild's service principal.

                                                                                            - *
                                                                                            + * *
                                                                                            SERVICE_ROLE
                                                                                            *
                                                                                            - *

                                                                                            Specifies that CodeBuild uses your build project's service role.

                                                                                            - *
                                                                                            + *

                                                                                            Specifies that CodeBuild uses your build project's service role.

                                                                                            + * *
                                                                                            - *

                                                                                            When using a cross-account or private registry image, you must use + *

                                                                                            When using a cross-account or private registry image, you must use * SERVICE_ROLE credentials. When using an CodeBuild curated image, * you must use CODEBUILD credentials.

                                                                                            */ @@ -6399,32 +6398,32 @@ export interface StartBuildBatchInput { *

                                                                                            The version of the batch build input to be built, for this build only. If not specified, * the latest version is used. If specified, the contents depends on the source * provider:

                                                                                            - *
                                                                                            + *
                                                                                            *
                                                                                            CodeCommit
                                                                                            *
                                                                                            - *

                                                                                            The commit ID, branch, or Git tag to use.

                                                                                            - *
                                                                                            + *

                                                                                            The commit ID, branch, or Git tag to use.

                                                                                            + * *
                                                                                            GitHub
                                                                                            *
                                                                                            - *

                                                                                            The commit ID, pull request ID, branch name, or tag name that corresponds + *

                                                                                            The commit ID, pull request ID, branch name, or tag name that corresponds * to the version of the source code you want to build. If a pull request ID is * specified, it must use the format pr/pull-request-ID (for * example pr/25). If a branch name is specified, the branch's * HEAD commit ID is used. If not specified, the default branch's HEAD commit * ID is used.

                                                                                            - *
                                                                                            + * *
                                                                                            Bitbucket
                                                                                            *
                                                                                            - *

                                                                                            The commit ID, branch name, or tag name that corresponds to the version of + *

                                                                                            The commit ID, branch name, or tag name that corresponds to the version of * the source code you want to build. If a branch name is specified, the * branch's HEAD commit ID is used. If not specified, the default branch's HEAD * commit ID is used.

                                                                                            - *
                                                                                            + * *
                                                                                            Amazon S3
                                                                                            *
                                                                                            - *

                                                                                            The version ID of the object that represents the build input ZIP file to + *

                                                                                            The version ID of the object that represents the build input ZIP file to * use.

                                                                                            - *
                                                                                            + * *
                                                                                            *

                                                                                            If sourceVersion is specified at the project level, then this * sourceVersion (at the build level) takes precedence.

                                                                                            @@ -6626,16 +6625,16 @@ export interface StartBuildBatchInput { * @public *

                                                                                            The type of credentials CodeBuild uses to pull images in your batch build. There are two valid * values:

                                                                                            - *
                                                                                            + *
                                                                                            *
                                                                                            CODEBUILD
                                                                                            *
                                                                                            - *

                                                                                            Specifies that CodeBuild uses its own credentials. This requires that you + *

                                                                                            Specifies that CodeBuild uses its own credentials. This requires that you * modify your ECR repository policy to trust CodeBuild's service principal.

                                                                                            - *
                                                                                            + * *
                                                                                            SERVICE_ROLE
                                                                                            *
                                                                                            - *

                                                                                            Specifies that CodeBuild uses your build project's service role.

                                                                                            - *
                                                                                            + *

                                                                                            Specifies that CodeBuild uses your build project's service role.

                                                                                            + * *
                                                                                            *

                                                                                            When using a cross-account or private registry image, you must use * SERVICE_ROLE credentials. When using an CodeBuild curated image, @@ -6926,7 +6925,6 @@ export interface UpdateProjectVisibilityInput { /** * @public *

                                                                                            Specifies the visibility of the project's builds. Possible values are:

                                                                                            - * *
                                                                                            *
                                                                                            PUBLIC_READ
                                                                                            *
                                                                                            @@ -6967,7 +6965,6 @@ export interface UpdateProjectVisibilityOutput { /** * @public *

                                                                                            Specifies the visibility of the project's builds. Possible values are:

                                                                                            - * *
                                                                                            *
                                                                                            PUBLIC_READ
                                                                                            *
                                                                                            diff --git a/clients/client-codecatalyst/src/endpoint/ruleset.ts b/clients/client-codecatalyst/src/endpoint/ruleset.ts index d29366cc90bad..e4ea6131b7afa 100644 --- a/clients/client-codecatalyst/src/endpoint/ruleset.ts +++ b/clients/client-codecatalyst/src/endpoint/ruleset.ts @@ -14,16 +14,16 @@ r="properties", s="headers"; const a=true, b=false, -c="tree", -d="isSet", -e="endpoint", -f="aws.partition", -g="PartitionResult", +c="isSet", +d="endpoint", +e="aws.partition", +f="PartitionResult", +g="tree", h={"required":false,[n]:"String"}, i={[q]:"Endpoint"}, j={}, -k={"fn":d,[p]:[{[q]:"Region"}]}, +k={"fn":c,[p]:[{[q]:"Region"}]}, l=[{[q]:"Region"}], -m=[{[o]:[{"fn":"booleanEquals",[p]:[{[q]:"UseFIPS"},true]}],[n]:c,"rules":[{[o]:[{"fn":"booleanEquals",[p]:[{"fn":"getAttr",[p]:[{[q]:g},"supportsFIPS"]},false]}],"error":"Partition does not support FIPS.",[n]:"error"},{[e]:{"url":"https://codecatalyst-fips.global.{PartitionResult#dualStackDnsSuffix}",[r]:{},[s]:{}},[n]:e}]},{[e]:{"url":"https://codecatalyst.global.{PartitionResult#dualStackDnsSuffix}",[r]:{},[s]:{}},[n]:e}]; -const _data={version:"1.3",parameters:{UseFIPS:{required:a,default:b,[n]:"Boolean"},Region:h,Endpoint:h},rules:[{[n]:c,rules:[{[o]:[{fn:d,[p]:[i]}],endpoint:{url:i,[r]:j,[s]:j},[n]:e},{[o]:[{fn:"not",[p]:[k]},{fn:f,[p]:["us-west-2"],assign:g}],[n]:c,rules:m},{[o]:[k,{fn:f,[p]:l,assign:g}],[n]:c,rules:m}]}]}; +m=[{[o]:[{"fn":"booleanEquals",[p]:[{[q]:"UseFIPS"},true]}],[n]:g,"rules":[{[o]:[{"fn":"booleanEquals",[p]:[{"fn":"getAttr",[p]:[{[q]:f},"supportsFIPS"]},false]}],"error":"Partition does not support FIPS.",[n]:"error"},{[d]:{"url":"https://codecatalyst-fips.global.{PartitionResult#dualStackDnsSuffix}",[r]:{},[s]:{}},[n]:d}]},{[d]:{"url":"https://codecatalyst.global.{PartitionResult#dualStackDnsSuffix}",[r]:{},[s]:{}},[n]:d}]; +const _data={version:"1.0",parameters:{UseFIPS:{required:a,default:b,[n]:"Boolean"},Region:h,Endpoint:h},rules:[{[o]:[{fn:c,[p]:[i]}],endpoint:{url:i,[r]:j,[s]:j},[n]:d},{[o]:[{fn:"not",[p]:[k]},{fn:e,[p]:["us-west-2"],assign:f}],[n]:g,rules:m},{[o]:[k,{fn:e,[p]:l,assign:f}],[n]:g,rules:m}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-codedeploy/src/CodeDeploy.ts b/clients/client-codedeploy/src/CodeDeploy.ts index b9619848a5561..d003d53848c6e 100644 --- a/clients/client-codedeploy/src/CodeDeploy.ts +++ b/clients/client-codedeploy/src/CodeDeploy.ts @@ -1065,32 +1065,32 @@ export interface CodeDeploy { * to Amazon EC2 instances, on-premises instances running in your own facility, * serverless Lambda functions, or applications in an Amazon ECS * service.

                                                                                            - *

                                                                                            You can deploy a nearly unlimited variety of application content, such as an updated + *

                                                                                            You can deploy a nearly unlimited variety of application content, such as an updated * Lambda function, updated applications in an Amazon ECS service, * code, web and configuration files, executables, packages, scripts, multimedia files, and * so on. CodeDeploy can deploy application content stored in Amazon S3 * buckets, GitHub repositories, or Bitbucket repositories. You do not need to make changes * to your existing code before you can use CodeDeploy.

                                                                                            - *

                                                                                            CodeDeploy makes it easier for you to rapidly release new features, helps + *

                                                                                            CodeDeploy makes it easier for you to rapidly release new features, helps * you avoid downtime during application deployment, and handles the complexity of updating * your applications, without many of the risks associated with error-prone manual * deployments.

                                                                                            - *

                                                                                            + *

                                                                                            * CodeDeploy Components - *

                                                                                            - *

                                                                                            Use the information in this guide to help you work with the following CodeDeploy components:

                                                                                            - *
                                                                                              + *

                                                                                              + *

                                                                                              Use the information in this guide to help you work with the following CodeDeploy components:

                                                                                              + *
                                                                                                *
                                                                                              • - *

                                                                                                - * Application: A name that uniquely identifies + *

                                                                                                + * Application: A name that uniquely identifies * the application you want to deploy. CodeDeploy uses this name, which * functions as a container, to ensure the correct combination of revision, * deployment configuration, and deployment group are referenced during a * deployment.

                                                                                                *
                                                                                              • *
                                                                                              • - *

                                                                                                - * Deployment group: A set of individual + *

                                                                                                + * Deployment group: A set of individual * instances, CodeDeploy * Lambda deployment configuration settings, or an Amazon ECS * service and network details. A Lambda deployment group specifies how @@ -1100,20 +1100,20 @@ export interface CodeDeploy { * settings.

                                                                                                *
                                                                                              • *
                                                                                              • - *

                                                                                                - * Deployment configuration: A set of deployment + *

                                                                                                + * Deployment configuration: A set of deployment * rules and deployment success and failure conditions used by CodeDeploy during a deployment.

                                                                                                *
                                                                                              • *
                                                                                              • - *

                                                                                                - * Deployment: The process and the components used + *

                                                                                                + * Deployment: The process and the components used * when updating a Lambda function, a containerized application in an * Amazon ECS service, or of installing content on one or more * instances.

                                                                                                *
                                                                                              • *
                                                                                              • - *

                                                                                                - * Application revisions: For an Lambda deployment, this is an AppSpec file that specifies the + *

                                                                                                + * Application revisions: For an Lambda deployment, this is an AppSpec file that specifies the * Lambda function to be updated and one or more functions to * validate deployment lifecycle events. For an Amazon ECS deployment, this * is an AppSpec file that specifies the Amazon ECS task definition, @@ -1125,33 +1125,33 @@ export interface CodeDeploy { * identified by its commit ID.

                                                                                                *
                                                                                              • *
                                                                                              - *

                                                                                              This guide also contains information to help you get details about the instances in + *

                                                                                              This guide also contains information to help you get details about the instances in * your deployments, to make on-premises instances available for CodeDeploy * deployments, to get details about a Lambda function deployment, and to get * details about Amazon ECS service deployments.

                                                                                              - *

                                                                                              + *

                                                                                              * CodeDeploy Information Resources *

                                                                                              - *
                                                                                                + * */ diff --git a/clients/client-codedeploy/src/CodeDeployClient.ts b/clients/client-codedeploy/src/CodeDeployClient.ts index fcbc1a35eac27..7bdd36bde3436 100644 --- a/clients/client-codedeploy/src/CodeDeployClient.ts +++ b/clients/client-codedeploy/src/CodeDeployClient.ts @@ -488,32 +488,32 @@ export interface CodeDeployClientResolvedConfig extends CodeDeployClientResolved * to Amazon EC2 instances, on-premises instances running in your own facility, * serverless Lambda functions, or applications in an Amazon ECS * service.

                                                                                                - *

                                                                                                You can deploy a nearly unlimited variety of application content, such as an updated + *

                                                                                                You can deploy a nearly unlimited variety of application content, such as an updated * Lambda function, updated applications in an Amazon ECS service, * code, web and configuration files, executables, packages, scripts, multimedia files, and * so on. CodeDeploy can deploy application content stored in Amazon S3 * buckets, GitHub repositories, or Bitbucket repositories. You do not need to make changes * to your existing code before you can use CodeDeploy.

                                                                                                - *

                                                                                                CodeDeploy makes it easier for you to rapidly release new features, helps + *

                                                                                                CodeDeploy makes it easier for you to rapidly release new features, helps * you avoid downtime during application deployment, and handles the complexity of updating * your applications, without many of the risks associated with error-prone manual * deployments.

                                                                                                - *

                                                                                                + *

                                                                                                * CodeDeploy Components - *

                                                                                                - *

                                                                                                Use the information in this guide to help you work with the following CodeDeploy components:

                                                                                                - *
                                                                                                  + *

                                                                                                  + *

                                                                                                  Use the information in this guide to help you work with the following CodeDeploy components:

                                                                                                  + *
                                                                                                    *
                                                                                                  • - *

                                                                                                    - * Application: A name that uniquely identifies + *

                                                                                                    + * Application: A name that uniquely identifies * the application you want to deploy. CodeDeploy uses this name, which * functions as a container, to ensure the correct combination of revision, * deployment configuration, and deployment group are referenced during a * deployment.

                                                                                                    *
                                                                                                  • *
                                                                                                  • - *

                                                                                                    - * Deployment group: A set of individual + *

                                                                                                    + * Deployment group: A set of individual * instances, CodeDeploy * Lambda deployment configuration settings, or an Amazon ECS * service and network details. A Lambda deployment group specifies how @@ -523,20 +523,20 @@ export interface CodeDeployClientResolvedConfig extends CodeDeployClientResolved * settings.

                                                                                                    *
                                                                                                  • *
                                                                                                  • - *

                                                                                                    - * Deployment configuration: A set of deployment + *

                                                                                                    + * Deployment configuration: A set of deployment * rules and deployment success and failure conditions used by CodeDeploy during a deployment.

                                                                                                    *
                                                                                                  • *
                                                                                                  • - *

                                                                                                    - * Deployment: The process and the components used + *

                                                                                                    + * Deployment: The process and the components used * when updating a Lambda function, a containerized application in an * Amazon ECS service, or of installing content on one or more * instances.

                                                                                                    *
                                                                                                  • *
                                                                                                  • - *

                                                                                                    - * Application revisions: For an Lambda deployment, this is an AppSpec file that specifies the + *

                                                                                                    + * Application revisions: For an Lambda deployment, this is an AppSpec file that specifies the * Lambda function to be updated and one or more functions to * validate deployment lifecycle events. For an Amazon ECS deployment, this * is an AppSpec file that specifies the Amazon ECS task definition, @@ -548,33 +548,33 @@ export interface CodeDeployClientResolvedConfig extends CodeDeployClientResolved * identified by its commit ID.

                                                                                                    *
                                                                                                  • *
                                                                                                  - *

                                                                                                  This guide also contains information to help you get details about the instances in + *

                                                                                                  This guide also contains information to help you get details about the instances in * your deployments, to make on-premises instances available for CodeDeploy * deployments, to get details about a Lambda function deployment, and to get * details about Amazon ECS service deployments.

                                                                                                  - *

                                                                                                  + *

                                                                                                  * CodeDeploy Information Resources *

                                                                                                  - *
                                                                                                    + * */ diff --git a/clients/client-codedeploy/src/commands/BatchGetDeploymentInstancesCommand.ts b/clients/client-codedeploy/src/commands/BatchGetDeploymentInstancesCommand.ts index 4ef9cd991f6a1..27e3003dadeff 100644 --- a/clients/client-codedeploy/src/commands/BatchGetDeploymentInstancesCommand.ts +++ b/clients/client-codedeploy/src/commands/BatchGetDeploymentInstancesCommand.ts @@ -41,8 +41,8 @@ export interface BatchGetDeploymentInstancesCommandOutput extends BatchGetDeploy * *

                                                                                                    This method works, but is deprecated. Use BatchGetDeploymentTargets * instead.

                                                                                                    - *
                                                                                                    - *

                                                                                                    Returns an array of one or more instances associated with a deployment. This method + * + *

                                                                                                    Returns an array of one or more instances associated with a deployment. This method * works with EC2/On-premises and Lambda compute platforms. The newer * BatchGetDeploymentTargets works with all compute platforms. The maximum * number of instances that can be returned is 25.

                                                                                                    diff --git a/clients/client-codedeploy/src/commands/BatchGetDeploymentTargetsCommand.ts b/clients/client-codedeploy/src/commands/BatchGetDeploymentTargetsCommand.ts index 18eb5ef69f4a2..3458565f6d1b0 100644 --- a/clients/client-codedeploy/src/commands/BatchGetDeploymentTargetsCommand.ts +++ b/clients/client-codedeploy/src/commands/BatchGetDeploymentTargetsCommand.ts @@ -40,24 +40,24 @@ export interface BatchGetDeploymentTargetsCommandOutput extends BatchGetDeployme * works with all compute types and should be used instead of the deprecated * BatchGetDeploymentInstances. The maximum number of targets that can be * returned is 25.

                                                                                                    - *

                                                                                                    The type of targets returned depends on the deployment's compute platform or + *

                                                                                                    The type of targets returned depends on the deployment's compute platform or * deployment method:

                                                                                                    - *
                                                                                                      + *
                                                                                                        *
                                                                                                      • - *

                                                                                                        - * EC2/On-premises: Information about Amazon EC2 instance targets.

                                                                                                        + *

                                                                                                        + * EC2/On-premises: Information about Amazon EC2 instance targets.

                                                                                                        *
                                                                                                      • *
                                                                                                      • - *

                                                                                                        - * Lambda: Information about + *

                                                                                                        + * Lambda: Information about * Lambda functions targets.

                                                                                                        *
                                                                                                      • *
                                                                                                      • - *

                                                                                                        - * Amazon ECS: Information about Amazon ECS service targets.

                                                                                                        + *

                                                                                                        + * Amazon ECS: Information about Amazon ECS service targets.

                                                                                                        *
                                                                                                      • *
                                                                                                      • - *

                                                                                                        + *

                                                                                                        * CloudFormation: Information about * targets of blue/green deployments initiated by a CloudFormation stack * update.

                                                                                                        diff --git a/clients/client-codedeploy/src/commands/CreateDeploymentCommand.ts b/clients/client-codedeploy/src/commands/CreateDeploymentCommand.ts index 8674e8c1a8fa5..1520ce8f3e83b 100644 --- a/clients/client-codedeploy/src/commands/CreateDeploymentCommand.ts +++ b/clients/client-codedeploy/src/commands/CreateDeploymentCommand.ts @@ -153,21 +153,21 @@ export interface CreateDeploymentCommandOutput extends CreateDeploymentOutput, _ * * @throws {@link InvalidAlarmConfigException} (client fault) *

                                                                                                        The format of the alarm configuration is invalid. Possible causes include:

                                                                                                        - *
                                                                                                          + *
                                                                                                            *
                                                                                                          • - *

                                                                                                            The alarm list is null.

                                                                                                            + *

                                                                                                            The alarm list is null.

                                                                                                            *
                                                                                                          • *
                                                                                                          • - *

                                                                                                            The alarm object is null.

                                                                                                            + *

                                                                                                            The alarm object is null.

                                                                                                            *
                                                                                                          • *
                                                                                                          • - *

                                                                                                            The alarm name is empty or null or exceeds the limit of 255 characters.

                                                                                                            + *

                                                                                                            The alarm name is empty or null or exceeds the limit of 255 characters.

                                                                                                            *
                                                                                                          • *
                                                                                                          • - *

                                                                                                            Two alarms with the same name have been specified.

                                                                                                            + *

                                                                                                            Two alarms with the same name have been specified.

                                                                                                            *
                                                                                                          • *
                                                                                                          • - *

                                                                                                            The alarm configuration is enabled, but the alarm list is empty.

                                                                                                            + *

                                                                                                            The alarm configuration is enabled, but the alarm list is empty.

                                                                                                            *
                                                                                                          • *
                                                                                                          * @@ -215,19 +215,19 @@ export interface CreateDeploymentCommandOutput extends CreateDeploymentOutput, _ * * @throws {@link InvalidTargetInstancesException} (client fault) *

                                                                                                          The target instance configuration is invalid. Possible causes include:

                                                                                                          - *
                                                                                                            + *
                                                                                                              *
                                                                                                            • - *

                                                                                                              Configuration data for target instances was entered for an in-place + *

                                                                                                              Configuration data for target instances was entered for an in-place * deployment.

                                                                                                              *
                                                                                                            • *
                                                                                                            • - *

                                                                                                              The limit of 10 tags for a tag type was exceeded.

                                                                                                              + *

                                                                                                              The limit of 10 tags for a tag type was exceeded.

                                                                                                              *
                                                                                                            • *
                                                                                                            • - *

                                                                                                              The combined length of the tag names exceeded the limit.

                                                                                                              + *

                                                                                                              The combined length of the tag names exceeded the limit.

                                                                                                              *
                                                                                                            • *
                                                                                                            • - *

                                                                                                              A specified tag is not currently applied to any instances.

                                                                                                              + *

                                                                                                              A specified tag is not currently applied to any instances.

                                                                                                              *
                                                                                                            • *
                                                                                                            * diff --git a/clients/client-codedeploy/src/commands/CreateDeploymentGroupCommand.ts b/clients/client-codedeploy/src/commands/CreateDeploymentGroupCommand.ts index 56fb9b7fb4e5d..c2727387622ec 100644 --- a/clients/client-codedeploy/src/commands/CreateDeploymentGroupCommand.ts +++ b/clients/client-codedeploy/src/commands/CreateDeploymentGroupCommand.ts @@ -215,21 +215,21 @@ export interface CreateDeploymentGroupCommandOutput extends CreateDeploymentGrou * * @throws {@link InvalidAlarmConfigException} (client fault) *

                                                                                                            The format of the alarm configuration is invalid. Possible causes include:

                                                                                                            - *
                                                                                                              + *
                                                                                                                *
                                                                                                              • - *

                                                                                                                The alarm list is null.

                                                                                                                + *

                                                                                                                The alarm list is null.

                                                                                                                *
                                                                                                              • *
                                                                                                              • - *

                                                                                                                The alarm object is null.

                                                                                                                + *

                                                                                                                The alarm object is null.

                                                                                                                *
                                                                                                              • *
                                                                                                              • - *

                                                                                                                The alarm name is empty or null or exceeds the limit of 255 characters.

                                                                                                                + *

                                                                                                                The alarm name is empty or null or exceeds the limit of 255 characters.

                                                                                                                *
                                                                                                              • *
                                                                                                              • - *

                                                                                                                Two alarms with the same name have been specified.

                                                                                                                + *

                                                                                                                Two alarms with the same name have been specified.

                                                                                                                *
                                                                                                              • *
                                                                                                              • - *

                                                                                                                The alarm configuration is enabled, but the alarm list is empty.

                                                                                                                + *

                                                                                                                The alarm configuration is enabled, but the alarm list is empty.

                                                                                                                *
                                                                                                              • *
                                                                                                              * diff --git a/clients/client-codedeploy/src/commands/DeleteDeploymentConfigCommand.ts b/clients/client-codedeploy/src/commands/DeleteDeploymentConfigCommand.ts index 18c5caeee4ff2..2085e114d0beb 100644 --- a/clients/client-codedeploy/src/commands/DeleteDeploymentConfigCommand.ts +++ b/clients/client-codedeploy/src/commands/DeleteDeploymentConfigCommand.ts @@ -37,10 +37,10 @@ export interface DeleteDeploymentConfigCommandOutput extends __MetadataBearer {} /** * @public *

                                                                                                              Deletes a deployment configuration.

                                                                                                              - * + * *

                                                                                                              A deployment configuration cannot be deleted if it is currently in use. Predefined * configurations cannot be deleted.

                                                                                                              - *
                                                                                                              + *
                                                                                                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-codedeploy/src/commands/GetDeploymentCommand.ts b/clients/client-codedeploy/src/commands/GetDeploymentCommand.ts index 3ac4ab5003748..7f16a41c820fc 100644 --- a/clients/client-codedeploy/src/commands/GetDeploymentCommand.ts +++ b/clients/client-codedeploy/src/commands/GetDeploymentCommand.ts @@ -37,12 +37,12 @@ export interface GetDeploymentCommandOutput extends GetDeploymentOutput, __Metad /** * @public *

                                                                                                              Gets information about a deployment.

                                                                                                              - * + * *

                                                                                                              The content property of the appSpecContent object in * the returned revision is always null. Use GetApplicationRevision and * the sha256 property of the returned appSpecContent object * to get the content of the deployment’s AppSpec file.

                                                                                                              - *
                                                                                                              + *
                                                                                                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-codedeploy/src/commands/ListDeploymentInstancesCommand.ts b/clients/client-codedeploy/src/commands/ListDeploymentInstancesCommand.ts index f5472a3558684..681b7d1e4b710 100644 --- a/clients/client-codedeploy/src/commands/ListDeploymentInstancesCommand.ts +++ b/clients/client-codedeploy/src/commands/ListDeploymentInstancesCommand.ts @@ -43,8 +43,8 @@ export interface ListDeploymentInstancesCommandOutput extends ListDeploymentInst * it works with all compute types. ListDeploymentInstances throws an * exception if it is used with a compute platform other than EC2/On-premises or * Lambda.

                                                                                                              - * - *

                                                                                                              Lists the instance for a deployment associated with the IAM user or + * + *

                                                                                                              Lists the instance for a deployment associated with the IAM user or * Amazon Web Services account.

                                                                                                              * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-codedeploy/src/commands/ListOnPremisesInstancesCommand.ts b/clients/client-codedeploy/src/commands/ListOnPremisesInstancesCommand.ts index 69aeeff97f468..8ca94ceb7ed14 100644 --- a/clients/client-codedeploy/src/commands/ListOnPremisesInstancesCommand.ts +++ b/clients/client-codedeploy/src/commands/ListOnPremisesInstancesCommand.ts @@ -37,7 +37,7 @@ export interface ListOnPremisesInstancesCommandOutput extends ListOnPremisesInst /** * @public *

                                                                                                              Gets a list of names for one or more on-premises instances.

                                                                                                              - *

                                                                                                              Unless otherwise specified, both registered and deregistered on-premises instance + *

                                                                                                              Unless otherwise specified, both registered and deregistered on-premises instance * names are listed. To list only registered or deregistered on-premises instance names, * use the registration status parameter.

                                                                                                              * @example diff --git a/clients/client-codedeploy/src/commands/RegisterOnPremisesInstanceCommand.ts b/clients/client-codedeploy/src/commands/RegisterOnPremisesInstanceCommand.ts index 3547a82f43d6a..302b525871adf 100644 --- a/clients/client-codedeploy/src/commands/RegisterOnPremisesInstanceCommand.ts +++ b/clients/client-codedeploy/src/commands/RegisterOnPremisesInstanceCommand.ts @@ -37,9 +37,9 @@ export interface RegisterOnPremisesInstanceCommandOutput extends __MetadataBeare /** * @public *

                                                                                                              Registers an on-premises instance.

                                                                                                              - * + * *

                                                                                                              Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both.

                                                                                                              - *
                                                                                                              + *
                                                                                                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-codedeploy/src/commands/UpdateDeploymentGroupCommand.ts b/clients/client-codedeploy/src/commands/UpdateDeploymentGroupCommand.ts index e06fcde2840a1..bf320443c85b5 100644 --- a/clients/client-codedeploy/src/commands/UpdateDeploymentGroupCommand.ts +++ b/clients/client-codedeploy/src/commands/UpdateDeploymentGroupCommand.ts @@ -215,21 +215,21 @@ export interface UpdateDeploymentGroupCommandOutput extends UpdateDeploymentGrou * * @throws {@link InvalidAlarmConfigException} (client fault) *

                                                                                                              The format of the alarm configuration is invalid. Possible causes include:

                                                                                                              - *
                                                                                                                + *
                                                                                                                  *
                                                                                                                • - *

                                                                                                                  The alarm list is null.

                                                                                                                  + *

                                                                                                                  The alarm list is null.

                                                                                                                  *
                                                                                                                • *
                                                                                                                • - *

                                                                                                                  The alarm object is null.

                                                                                                                  + *

                                                                                                                  The alarm object is null.

                                                                                                                  *
                                                                                                                • *
                                                                                                                • - *

                                                                                                                  The alarm name is empty or null or exceeds the limit of 255 characters.

                                                                                                                  + *

                                                                                                                  The alarm name is empty or null or exceeds the limit of 255 characters.

                                                                                                                  *
                                                                                                                • *
                                                                                                                • - *

                                                                                                                  Two alarms with the same name have been specified.

                                                                                                                  + *

                                                                                                                  Two alarms with the same name have been specified.

                                                                                                                  *
                                                                                                                • *
                                                                                                                • - *

                                                                                                                  The alarm configuration is enabled, but the alarm list is empty.

                                                                                                                  + *

                                                                                                                  The alarm configuration is enabled, but the alarm list is empty.

                                                                                                                  *
                                                                                                                • *
                                                                                                                * diff --git a/clients/client-codedeploy/src/endpoint/ruleset.ts b/clients/client-codedeploy/src/endpoint/ruleset.ts index 7f9c48cda2d12..018f914c5da18 100644 --- a/clients/client-codedeploy/src/endpoint/ruleset.ts +++ b/clients/client-codedeploy/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/codedeploy.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://codedeploy-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://codedeploy-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://codedeploy.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://codedeploy.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://codedeploy-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://codedeploy-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://codedeploy.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://codedeploy.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-codedeploy/src/index.ts b/clients/client-codedeploy/src/index.ts index 12c6f67c6866e..310e45c72f3f8 100644 --- a/clients/client-codedeploy/src/index.ts +++ b/clients/client-codedeploy/src/index.ts @@ -5,32 +5,32 @@ * to Amazon EC2 instances, on-premises instances running in your own facility, * serverless Lambda functions, or applications in an Amazon ECS * service.

                                                                                                                - *

                                                                                                                You can deploy a nearly unlimited variety of application content, such as an updated + *

                                                                                                                You can deploy a nearly unlimited variety of application content, such as an updated * Lambda function, updated applications in an Amazon ECS service, * code, web and configuration files, executables, packages, scripts, multimedia files, and * so on. CodeDeploy can deploy application content stored in Amazon S3 * buckets, GitHub repositories, or Bitbucket repositories. You do not need to make changes * to your existing code before you can use CodeDeploy.

                                                                                                                - *

                                                                                                                CodeDeploy makes it easier for you to rapidly release new features, helps + *

                                                                                                                CodeDeploy makes it easier for you to rapidly release new features, helps * you avoid downtime during application deployment, and handles the complexity of updating * your applications, without many of the risks associated with error-prone manual * deployments.

                                                                                                                - *

                                                                                                                + *

                                                                                                                * CodeDeploy Components - *

                                                                                                                - *

                                                                                                                Use the information in this guide to help you work with the following CodeDeploy components:

                                                                                                                - *
                                                                                                                  + *

                                                                                                                  + *

                                                                                                                  Use the information in this guide to help you work with the following CodeDeploy components:

                                                                                                                  + *
                                                                                                                    *
                                                                                                                  • - *

                                                                                                                    - * Application: A name that uniquely identifies + *

                                                                                                                    + * Application: A name that uniquely identifies * the application you want to deploy. CodeDeploy uses this name, which * functions as a container, to ensure the correct combination of revision, * deployment configuration, and deployment group are referenced during a * deployment.

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  • - *

                                                                                                                    - * Deployment group: A set of individual + *

                                                                                                                    + * Deployment group: A set of individual * instances, CodeDeploy * Lambda deployment configuration settings, or an Amazon ECS * service and network details. A Lambda deployment group specifies how @@ -40,20 +40,20 @@ * settings.

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  • - *

                                                                                                                    - * Deployment configuration: A set of deployment + *

                                                                                                                    + * Deployment configuration: A set of deployment * rules and deployment success and failure conditions used by CodeDeploy during a deployment.

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  • - *

                                                                                                                    - * Deployment: The process and the components used + *

                                                                                                                    + * Deployment: The process and the components used * when updating a Lambda function, a containerized application in an * Amazon ECS service, or of installing content on one or more * instances.

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  • - *

                                                                                                                    - * Application revisions: For an Lambda deployment, this is an AppSpec file that specifies the + *

                                                                                                                    + * Application revisions: For an Lambda deployment, this is an AppSpec file that specifies the * Lambda function to be updated and one or more functions to * validate deployment lifecycle events. For an Amazon ECS deployment, this * is an AppSpec file that specifies the Amazon ECS task definition, @@ -65,33 +65,33 @@ * identified by its commit ID.

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  - *

                                                                                                                  This guide also contains information to help you get details about the instances in + *

                                                                                                                  This guide also contains information to help you get details about the instances in * your deployments, to make on-premises instances available for CodeDeploy * deployments, to get details about a Lambda function deployment, and to get * details about Amazon ECS service deployments.

                                                                                                                  - *

                                                                                                                  + *

                                                                                                                  * CodeDeploy Information Resources *

                                                                                                                  - *
                                                                                                                    + * * diff --git a/clients/client-codedeploy/src/models/models_0.ts b/clients/client-codedeploy/src/models/models_0.ts index e4483ed178bf9..61e517cde5ce6 100644 --- a/clients/client-codedeploy/src/models/models_0.ts +++ b/clients/client-codedeploy/src/models/models_0.ts @@ -29,7 +29,7 @@ export interface AddTagsToOnPremisesInstancesInput { /** * @public *

                                                                                                                    The tag key-value pairs to add to the on-premises instances.

                                                                                                                    - *

                                                                                                                    Keys and values are both required. Keys cannot be null or empty strings. Value-only + *

                                                                                                                    Keys and values are both required. Keys cannot be null or empty strings. Value-only * tags are not allowed.

                                                                                                                    */ tags: Tag[] | undefined; @@ -210,14 +210,14 @@ export interface AlarmConfiguration { * @public *

                                                                                                                    Indicates whether a deployment should continue if information about the current state * of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.

                                                                                                                    - *
                                                                                                                      + *
                                                                                                                        *
                                                                                                                      • - *

                                                                                                                        + *

                                                                                                                        * true: The deployment proceeds even if alarm status information * can't be retrieved from Amazon CloudWatch.

                                                                                                                        *
                                                                                                                      • *
                                                                                                                      • - *

                                                                                                                        + *

                                                                                                                        * false: The deployment stops if alarm status information can't be * retrieved from Amazon CloudWatch.

                                                                                                                        *
                                                                                                                      • @@ -416,12 +416,12 @@ export interface AppSpecContent { /** * @public *

                                                                                                                        The YAML-formatted or JSON-formatted revision string.

                                                                                                                        - *

                                                                                                                        For an Lambda deployment, the content includes a Lambda + *

                                                                                                                        For an Lambda deployment, the content includes a Lambda * function name, the alias for its original version, and the alias for its replacement * version. The deployment shifts traffic from the original version of the Lambda function to the replacement version.

                                                                                                                        - *

                                                                                                                        For an Amazon ECS deployment, the content includes the task name, information + *

                                                                                                                        For an Amazon ECS deployment, the content includes the task name, information * about the load balancer that serves traffic to the container, and more.

                                                                                                                        - *

                                                                                                                        For both types of deployments, the content can specify Lambda functions + *

                                                                                                                        For both types of deployments, the content can specify Lambda functions * that run at specified hooks, such as BeforeInstall, during a deployment. *

                                                                                                                        */ @@ -517,7 +517,7 @@ export interface GitHubLocation { * @public *

                                                                                                                        The GitHub account and repository pair that stores a reference to the commit that * represents the bundled artifacts for the application revision.

                                                                                                                        - *

                                                                                                                        Specified as account/repository.

                                                                                                                        + *

                                                                                                                        Specified as account/repository.

                                                                                                                        */ repository?: string; @@ -584,17 +584,17 @@ export interface S3Location { /** * @public *

                                                                                                                        The file type of the application revision. Must be one of the following:

                                                                                                                        - *
                                                                                                                          + *
                                                                                                                            *
                                                                                                                          • - *

                                                                                                                            + *

                                                                                                                            * tar: A tar archive file.

                                                                                                                            *
                                                                                                                          • *
                                                                                                                          • - *

                                                                                                                            + *

                                                                                                                            * tgz: A compressed tar archive file.

                                                                                                                            *
                                                                                                                          • *
                                                                                                                          • - *

                                                                                                                            + *

                                                                                                                            * zip: A zip archive file.

                                                                                                                            *
                                                                                                                          • *
                                                                                                                          @@ -605,7 +605,7 @@ export interface S3Location { * @public *

                                                                                                                          A specific version of the Amazon S3 object that represents the bundled * artifacts for the application revision.

                                                                                                                          - *

                                                                                                                          If the version is not specified, the system uses the most recent version by + *

                                                                                                                          If the version is not specified, the system uses the most recent version by * default.

                                                                                                                          */ version?: string; @@ -614,7 +614,7 @@ export interface S3Location { * @public *

                                                                                                                          The ETag of the Amazon S3 object that represents the bundled artifacts for the * application revision.

                                                                                                                          - *

                                                                                                                          If the ETag is not specified as an input parameter, ETag validation of the object is + *

                                                                                                                          If the ETag is not specified as an input parameter, ETag validation of the object is * skipped.

                                                                                                                          */ eTag?: string; @@ -652,20 +652,20 @@ export interface RevisionLocation { /** * @public *

                                                                                                                          The type of application revision:

                                                                                                                          - *
                                                                                                                            + *
                                                                                                                              *
                                                                                                                            • - *

                                                                                                                              S3: An application revision stored in Amazon S3.

                                                                                                                              + *

                                                                                                                              S3: An application revision stored in Amazon S3.

                                                                                                                              *
                                                                                                                            • *
                                                                                                                            • - *

                                                                                                                              GitHub: An application revision stored in GitHub (EC2/On-premises deployments + *

                                                                                                                              GitHub: An application revision stored in GitHub (EC2/On-premises deployments * only).

                                                                                                                              *
                                                                                                                            • *
                                                                                                                            • - *

                                                                                                                              String: A YAML-formatted or JSON-formatted string (Lambda + *

                                                                                                                              String: A YAML-formatted or JSON-formatted string (Lambda * deployments only).

                                                                                                                              *
                                                                                                                            • *
                                                                                                                            • - *

                                                                                                                              AppSpecContent: An AppSpecContent object that contains the + *

                                                                                                                              AppSpecContent: An AppSpecContent object that contains the * contents of an AppSpec file for an Lambda or Amazon ECS * deployment. The content is formatted as JSON or YAML stored as a * RawString.

                                                                                                                              @@ -951,14 +951,14 @@ export interface DeploymentReadyOption { * @public *

                                                                                                                              Information about when to reroute traffic from an original environment to a * replacement environment in a blue/green deployment.

                                                                                                                              - *
                                                                                                                                + *
                                                                                                                                  *
                                                                                                                                • - *

                                                                                                                                  CONTINUE_DEPLOYMENT: Register new instances with the load balancer immediately + *

                                                                                                                                  CONTINUE_DEPLOYMENT: Register new instances with the load balancer immediately * after the new application revision is installed on the instances in the * replacement environment.

                                                                                                                                  *
                                                                                                                                • *
                                                                                                                                • - *

                                                                                                                                  STOP_DEPLOYMENT: Do not register new instances with a load balancer unless + *

                                                                                                                                  STOP_DEPLOYMENT: Do not register new instances with a load balancer unless * traffic rerouting is started using ContinueDeployment. If * traffic rerouting is not started before the end of the specified wait period, * the deployment status is changed to Stopped.

                                                                                                                                  @@ -1000,14 +1000,14 @@ export interface GreenFleetProvisioningOption { /** * @public *

                                                                                                                                  The method used to add instances to a replacement environment.

                                                                                                                                  - *
                                                                                                                                    + *
                                                                                                                                      *
                                                                                                                                    • - *

                                                                                                                                      + *

                                                                                                                                      * DISCOVER_EXISTING: Use instances that already exist or will be * created manually.

                                                                                                                                      *
                                                                                                                                    • *
                                                                                                                                    • - *

                                                                                                                                      + *

                                                                                                                                      * COPY_AUTO_SCALING_GROUP: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling * group.

                                                                                                                                      *
                                                                                                                                    • @@ -1041,14 +1041,14 @@ export interface BlueInstanceTerminationOption { * @public *

                                                                                                                                      The action to take on instances in the original environment after a successful * blue/green deployment.

                                                                                                                                      - *
                                                                                                                                        + *
                                                                                                                                          *
                                                                                                                                        • - *

                                                                                                                                          + *

                                                                                                                                          * TERMINATE: Instances are terminated after a specified wait * time.

                                                                                                                                          *
                                                                                                                                        • *
                                                                                                                                        • - *

                                                                                                                                          + *

                                                                                                                                          * KEEP_ALIVE: Instances are left running after they are * deregistered from the load balancer and removed from the deployment * group.

                                                                                                                                          @@ -1061,12 +1061,10 @@ export interface BlueInstanceTerminationOption { * @public *

                                                                                                                                          For an Amazon EC2 deployment, the number of minutes to wait after a successful * blue/green deployment before terminating instances from the original environment.

                                                                                                                                          - * - *

                                                                                                                                          For an Amazon ECS deployment, the number of minutes before deleting the + *

                                                                                                                                          For an Amazon ECS deployment, the number of minutes before deleting the * original (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts * traffic from the original (blue) task set to a replacement (green) task set.

                                                                                                                                          - * - *

                                                                                                                                          The maximum setting is 2880 minutes (2 days).

                                                                                                                                          + *

                                                                                                                                          The maximum setting is 2880 minutes (2 days).

                                                                                                                                          */ terminationWaitTimeInMinutes?: number; } @@ -1180,17 +1178,17 @@ export interface EC2TagFilter { /** * @public *

                                                                                                                                          The tag filter type:

                                                                                                                                          - *
                                                                                                                                            + *
                                                                                                                                              *
                                                                                                                                            • - *

                                                                                                                                              + *

                                                                                                                                              * KEY_ONLY: Key only.

                                                                                                                                              *
                                                                                                                                            • *
                                                                                                                                            • - *

                                                                                                                                              + *

                                                                                                                                              * VALUE_ONLY: Value only.

                                                                                                                                              *
                                                                                                                                            • *
                                                                                                                                            • - *

                                                                                                                                              + *

                                                                                                                                              * KEY_AND_VALUE: Key and value.

                                                                                                                                              *
                                                                                                                                            • *
                                                                                                                                            @@ -1374,9 +1372,9 @@ export interface LoadBalancerInfo { *

                                                                                                                                            An array that contains information about the load balancer to use for load balancing * in a deployment. In Elastic Load Balancing, load balancers are used with Classic Load * Balancers.

                                                                                                                                            - * + * *

                                                                                                                                            Adding more than one load balancer to the array is not supported.

                                                                                                                                            - *
                                                                                                                                            + *
                                                                                                                                            */ elbInfoList?: ELBInfo[]; @@ -1385,9 +1383,9 @@ export interface LoadBalancerInfo { *

                                                                                                                                            An array that contains information about the target group to use for load balancing in * a deployment. In Elastic Load Balancing, target groups are used with Application Load * Balancers.

                                                                                                                                            - * + * *

                                                                                                                                            Adding more than one target group to the array is not supported.

                                                                                                                                            - *
                                                                                                                                            + *
                                                                                                                                            */ targetGroupInfoList?: TargetGroupInfo[]; @@ -1434,15 +1432,15 @@ export interface TagFilter { /** * @public *

                                                                                                                                            The on-premises instance tag filter type:

                                                                                                                                            - *
                                                                                                                                              + *
                                                                                                                                                *
                                                                                                                                              • - *

                                                                                                                                                KEY_ONLY: Key only.

                                                                                                                                                + *

                                                                                                                                                KEY_ONLY: Key only.

                                                                                                                                                *
                                                                                                                                              • *
                                                                                                                                              • - *

                                                                                                                                                VALUE_ONLY: Value only.

                                                                                                                                                + *

                                                                                                                                                VALUE_ONLY: Value only.

                                                                                                                                                *
                                                                                                                                              • *
                                                                                                                                              • - *

                                                                                                                                                KEY_AND_VALUE: Key and value.

                                                                                                                                                + *

                                                                                                                                                KEY_AND_VALUE: Key and value.

                                                                                                                                                *
                                                                                                                                              • *
                                                                                                                                              */ @@ -1618,10 +1616,10 @@ export interface DeploymentGroupInfo { * @public *

                                                                                                                                              Indicates what happens when new Amazon EC2 instances are launched * mid-deployment and do not receive the deployed application revision.

                                                                                                                                              - *

                                                                                                                                              If this option is set to UPDATE or is unspecified, CodeDeploy initiates + *

                                                                                                                                              If this option is set to UPDATE or is unspecified, CodeDeploy initiates * one or more 'auto-update outdated instances' deployments to apply the deployed * application revision to the new Amazon EC2 instances.

                                                                                                                                              - *

                                                                                                                                              If this option is set to IGNORE, CodeDeploy does not initiate a + *

                                                                                                                                              If this option is set to IGNORE, CodeDeploy does not initiate a * deployment to update the new Amazon EC2 instances. This may result in instances * having different revisions.

                                                                                                                                              */ @@ -1822,27 +1820,27 @@ export interface Diagnostics { /** * @public *

                                                                                                                                              The associated error code:

                                                                                                                                              - *
                                                                                                                                                + *
                                                                                                                                                  *
                                                                                                                                                • - *

                                                                                                                                                  Success: The specified script ran.

                                                                                                                                                  + *

                                                                                                                                                  Success: The specified script ran.

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                • - *

                                                                                                                                                  ScriptMissing: The specified script was not found in the specified + *

                                                                                                                                                  ScriptMissing: The specified script was not found in the specified * location.

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                • - *

                                                                                                                                                  ScriptNotExecutable: The specified script is not a recognized executable file + *

                                                                                                                                                  ScriptNotExecutable: The specified script is not a recognized executable file * type.

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                • - *

                                                                                                                                                  ScriptTimedOut: The specified script did not finish running in the specified + *

                                                                                                                                                  ScriptTimedOut: The specified script did not finish running in the specified * time period.

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                • - *

                                                                                                                                                  ScriptFailed: The specified script failed to run as expected.

                                                                                                                                                  + *

                                                                                                                                                  ScriptFailed: The specified script failed to run as expected.

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                • - *

                                                                                                                                                  UnknownError: The specified script did not run for an unknown reason.

                                                                                                                                                  + *

                                                                                                                                                  UnknownError: The specified script did not run for an unknown reason.

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                */ @@ -1863,7 +1861,7 @@ export interface Diagnostics { /** * @public *

                                                                                                                                                The last portion of the diagnostic log.

                                                                                                                                                - *

                                                                                                                                                If available, CodeDeploy returns up to the last 4 KB of the diagnostic + *

                                                                                                                                                If available, CodeDeploy returns up to the last 4 KB of the diagnostic * log.

                                                                                                                                                */ logTail?: string; @@ -1921,24 +1919,24 @@ export interface LifecycleEvent { /** * @public *

                                                                                                                                                The deployment lifecycle event status:

                                                                                                                                                - *
                                                                                                                                                  + *
                                                                                                                                                    *
                                                                                                                                                  • - *

                                                                                                                                                    Pending: The deployment lifecycle event is pending.

                                                                                                                                                    + *

                                                                                                                                                    Pending: The deployment lifecycle event is pending.

                                                                                                                                                    *
                                                                                                                                                  • *
                                                                                                                                                  • - *

                                                                                                                                                    InProgress: The deployment lifecycle event is in progress.

                                                                                                                                                    + *

                                                                                                                                                    InProgress: The deployment lifecycle event is in progress.

                                                                                                                                                    *
                                                                                                                                                  • *
                                                                                                                                                  • - *

                                                                                                                                                    Succeeded: The deployment lifecycle event ran successfully.

                                                                                                                                                    + *

                                                                                                                                                    Succeeded: The deployment lifecycle event ran successfully.

                                                                                                                                                    *
                                                                                                                                                  • *
                                                                                                                                                  • - *

                                                                                                                                                    Failed: The deployment lifecycle event has failed.

                                                                                                                                                    + *

                                                                                                                                                    Failed: The deployment lifecycle event has failed.

                                                                                                                                                    *
                                                                                                                                                  • *
                                                                                                                                                  • - *

                                                                                                                                                    Skipped: The deployment lifecycle event has been skipped.

                                                                                                                                                    + *

                                                                                                                                                    Skipped: The deployment lifecycle event has been skipped.

                                                                                                                                                    *
                                                                                                                                                  • *
                                                                                                                                                  • - *

                                                                                                                                                    Unknown: The deployment lifecycle event is unknown.

                                                                                                                                                    + *

                                                                                                                                                    Unknown: The deployment lifecycle event is unknown.

                                                                                                                                                    *
                                                                                                                                                  • *
                                                                                                                                                  */ @@ -1988,31 +1986,31 @@ export interface InstanceSummary { * @deprecated * *

                                                                                                                                                  The deployment status for this instance:

                                                                                                                                                  - *
                                                                                                                                                    + *
                                                                                                                                                      *
                                                                                                                                                    • - *

                                                                                                                                                      + *

                                                                                                                                                      * Pending: The deployment is pending for this instance.

                                                                                                                                                      *
                                                                                                                                                    • *
                                                                                                                                                    • - *

                                                                                                                                                      + *

                                                                                                                                                      * In Progress: The deployment is in progress for this * instance.

                                                                                                                                                      *
                                                                                                                                                    • *
                                                                                                                                                    • - *

                                                                                                                                                      + *

                                                                                                                                                      * Succeeded: The deployment has succeeded for this instance.

                                                                                                                                                      *
                                                                                                                                                    • *
                                                                                                                                                    • - *

                                                                                                                                                      + *

                                                                                                                                                      * Failed: The deployment has failed for this instance.

                                                                                                                                                      *
                                                                                                                                                    • *
                                                                                                                                                    • - *

                                                                                                                                                      + *

                                                                                                                                                      * Skipped: The deployment has been skipped for this * instance.

                                                                                                                                                      *
                                                                                                                                                    • *
                                                                                                                                                    • - *

                                                                                                                                                      + *

                                                                                                                                                      * Unknown: The deployment status is unknown for this * instance.

                                                                                                                                                      *
                                                                                                                                                    • @@ -2036,12 +2034,12 @@ export interface InstanceSummary { * @public *

                                                                                                                                                      Information about which environment an instance belongs to in a blue/green * deployment.

                                                                                                                                                      - *
                                                                                                                                                        + *
                                                                                                                                                          *
                                                                                                                                                        • - *

                                                                                                                                                          BLUE: The instance is part of the original environment.

                                                                                                                                                          + *

                                                                                                                                                          BLUE: The instance is part of the original environment.

                                                                                                                                                          *
                                                                                                                                                        • *
                                                                                                                                                        • - *

                                                                                                                                                          GREEN: The instance is part of the replacement environment.

                                                                                                                                                          + *

                                                                                                                                                          GREEN: The instance is part of the replacement environment.

                                                                                                                                                          *
                                                                                                                                                        • *
                                                                                                                                                        */ @@ -2299,55 +2297,55 @@ export interface ErrorInformation { /** * @public *

                                                                                                                                                        For more information, see Error Codes for CodeDeploy in the CodeDeploy User Guide.

                                                                                                                                                        - *

                                                                                                                                                        The error code:

                                                                                                                                                        - *
                                                                                                                                                          + *

                                                                                                                                                          The error code:

                                                                                                                                                          + *
                                                                                                                                                            *
                                                                                                                                                          • - *

                                                                                                                                                            APPLICATION_MISSING: The application was missing. This error code is most + *

                                                                                                                                                            APPLICATION_MISSING: The application was missing. This error code is most * likely raised if the application is deleted after the deployment is created, but * before it is started.

                                                                                                                                                            *
                                                                                                                                                          • *
                                                                                                                                                          • - *

                                                                                                                                                            DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error code is + *

                                                                                                                                                            DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error code is * most likely raised if the deployment group is deleted after the deployment is * created, but before it is started.

                                                                                                                                                            *
                                                                                                                                                          • *
                                                                                                                                                          • - *

                                                                                                                                                            HEALTH_CONSTRAINTS: The deployment failed on too many instances to be + *

                                                                                                                                                            HEALTH_CONSTRAINTS: The deployment failed on too many instances to be * successfully deployed within the instance health constraints specified.

                                                                                                                                                            *
                                                                                                                                                          • *
                                                                                                                                                          • - *

                                                                                                                                                            HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed + *

                                                                                                                                                            HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed * within the instance health constraints specified.

                                                                                                                                                            *
                                                                                                                                                          • *
                                                                                                                                                          • - *

                                                                                                                                                            IAM_ROLE_MISSING: The service role cannot be accessed.

                                                                                                                                                            + *

                                                                                                                                                            IAM_ROLE_MISSING: The service role cannot be accessed.

                                                                                                                                                            *
                                                                                                                                                          • *
                                                                                                                                                          • - *

                                                                                                                                                            IAM_ROLE_PERMISSIONS: The service role does not have the + *

                                                                                                                                                            IAM_ROLE_PERMISSIONS: The service role does not have the * correct permissions.

                                                                                                                                                            *
                                                                                                                                                          • *
                                                                                                                                                          • - *

                                                                                                                                                            INTERNAL_ERROR: There was an internal error.

                                                                                                                                                            + *

                                                                                                                                                            INTERNAL_ERROR: There was an internal error.

                                                                                                                                                            *
                                                                                                                                                          • *
                                                                                                                                                          • - *

                                                                                                                                                            NO_EC2_SUBSCRIPTION: The calling account is not subscribed to Amazon EC2.

                                                                                                                                                            + *

                                                                                                                                                            NO_EC2_SUBSCRIPTION: The calling account is not subscribed to Amazon EC2.

                                                                                                                                                            *
                                                                                                                                                          • *
                                                                                                                                                          • - *

                                                                                                                                                            NO_INSTANCES: No instances were specified, or no instances can be + *

                                                                                                                                                            NO_INSTANCES: No instances were specified, or no instances can be * found.

                                                                                                                                                            *
                                                                                                                                                          • *
                                                                                                                                                          • - *

                                                                                                                                                            OVER_MAX_INSTANCES: The maximum number of instances was exceeded.

                                                                                                                                                            + *

                                                                                                                                                            OVER_MAX_INSTANCES: The maximum number of instances was exceeded.

                                                                                                                                                            *
                                                                                                                                                          • *
                                                                                                                                                          • - *

                                                                                                                                                            THROTTLED: The operation was throttled because the calling account exceeded + *

                                                                                                                                                            THROTTLED: The operation was throttled because the calling account exceeded * the throttling limits of one or more Amazon Web Services services.

                                                                                                                                                            *
                                                                                                                                                          • *
                                                                                                                                                          • - *

                                                                                                                                                            TIMEOUT: The deployment has timed out.

                                                                                                                                                            + *

                                                                                                                                                            TIMEOUT: The deployment has timed out.

                                                                                                                                                            *
                                                                                                                                                          • *
                                                                                                                                                          • - *

                                                                                                                                                            REVISION_MISSING: The revision ID was missing. This error code is most likely + *

                                                                                                                                                            REVISION_MISSING: The revision ID was missing. This error code is most likely * raised if the revision is deleted after the deployment is created, but before it * is started.

                                                                                                                                                            *
                                                                                                                                                          • @@ -2518,7 +2516,7 @@ export interface DeploymentInfo { * @public *

                                                                                                                                                            A timestamp that indicates when the deployment was deployed to the deployment * group.

                                                                                                                                                            - *

                                                                                                                                                            In some cases, the reported value of the start time might be later than the complete + *

                                                                                                                                                            In some cases, the reported value of the start time might be later than the complete * time. This is due to differences in the clock settings of backend servers that * participate in the deployment process.

                                                                                                                                                            */ @@ -2545,22 +2543,22 @@ export interface DeploymentInfo { /** * @public *

                                                                                                                                                            The means by which the deployment was created:

                                                                                                                                                            - *
                                                                                                                                                              + *
                                                                                                                                                                *
                                                                                                                                                              • - *

                                                                                                                                                                + *

                                                                                                                                                                * user: A user created the deployment.

                                                                                                                                                                *
                                                                                                                                                              • *
                                                                                                                                                              • - *

                                                                                                                                                                + *

                                                                                                                                                                * autoscaling: Amazon EC2 Auto Scaling created the deployment.

                                                                                                                                                                *
                                                                                                                                                              • *
                                                                                                                                                              • - *

                                                                                                                                                                + *

                                                                                                                                                                * codeDeployRollback: A rollback process created the * deployment.

                                                                                                                                                                *
                                                                                                                                                              • *
                                                                                                                                                              • - *

                                                                                                                                                                + *

                                                                                                                                                                * CodeDeployAutoUpdate: An auto-update process created the * deployment when it detected outdated Amazon EC2 instances.

                                                                                                                                                                *
                                                                                                                                                              • @@ -2577,20 +2575,17 @@ export interface DeploymentInfo { * BeforeBlockTraffic fails, the deployment continues with * BlockTraffic. If AfterBlockTraffic fails, the deployment * continues with ApplicationStop.

                                                                                                                                                                - * - *

                                                                                                                                                                If false or not specified, then if a lifecycle event fails during a deployment to an + *

                                                                                                                                                                If false or not specified, then if a lifecycle event fails during a deployment to an * instance, that deployment fails. If deployment to that instance is part of an overall * deployment and the number of healthy hosts is not less than the minimum number of * healthy hosts, then a deployment to the next instance is attempted.

                                                                                                                                                                - * - *

                                                                                                                                                                During a deployment, the CodeDeploy agent runs the scripts specified for + *

                                                                                                                                                                During a deployment, the CodeDeploy agent runs the scripts specified for * ApplicationStop, BeforeBlockTraffic, and * AfterBlockTraffic in the AppSpec file from the previous successful * deployment. (All other scripts are run from the AppSpec file in the current deployment.) * If one of these scripts contains an error and does not run successfully, the deployment * can fail.

                                                                                                                                                                - * - *

                                                                                                                                                                If the cause of the failure is a script from the last successful deployment that will + *

                                                                                                                                                                If the cause of the failure is a script from the last successful deployment that will * never run successfully, create a new deployment and use * ignoreApplicationStopFailures to specify that the * ApplicationStop, BeforeBlockTraffic, and @@ -2666,19 +2661,19 @@ export interface DeploymentInfo { *

                                                                                                                                                                Information about how CodeDeploy handles files that already exist in a * deployment target location but weren't part of the previous successful * deployment.

                                                                                                                                                                - *
                                                                                                                                                                  + *
                                                                                                                                                                    *
                                                                                                                                                                  • - *

                                                                                                                                                                    + *

                                                                                                                                                                    * DISALLOW: The deployment fails. This is also the default behavior * if no option is specified.

                                                                                                                                                                    *
                                                                                                                                                                  • *
                                                                                                                                                                  • - *

                                                                                                                                                                    + *

                                                                                                                                                                    * OVERWRITE: The version of the file from the application revision * currently being deployed replaces the version already on the instance.

                                                                                                                                                                    *
                                                                                                                                                                  • *
                                                                                                                                                                  • - *

                                                                                                                                                                    + *

                                                                                                                                                                    * RETAIN: The version of the file already on the instance is kept * and used as part of the new deployment.

                                                                                                                                                                    *
                                                                                                                                                                  • @@ -2746,25 +2741,25 @@ export interface BatchGetDeploymentTargetsInput { *

                                                                                                                                                                    The unique IDs of the deployment targets. The compute platform of the deployment * determines the type of the targets and their formats. The maximum number of deployment * target IDs you can specify is 25.

                                                                                                                                                                    - *
                                                                                                                                                                      + *
                                                                                                                                                                        *
                                                                                                                                                                      • - *

                                                                                                                                                                        For deployments that use the EC2/On-premises compute platform, the target IDs + *

                                                                                                                                                                        For deployments that use the EC2/On-premises compute platform, the target IDs * are Amazon EC2 or on-premises instances IDs, and their target type is * instanceTarget.

                                                                                                                                                                        *
                                                                                                                                                                      • *
                                                                                                                                                                      • - *

                                                                                                                                                                        For deployments that use the Lambda compute platform, the + *

                                                                                                                                                                        For deployments that use the Lambda compute platform, the * target IDs are the names of Lambda functions, and their target type * is instanceTarget.

                                                                                                                                                                        *
                                                                                                                                                                      • *
                                                                                                                                                                      • - *

                                                                                                                                                                        For deployments that use the Amazon ECS compute platform, the target + *

                                                                                                                                                                        For deployments that use the Amazon ECS compute platform, the target * IDs are pairs of Amazon ECS clusters and services specified using the * format :. Their target type * is ecsTarget.

                                                                                                                                                                        *
                                                                                                                                                                      • *
                                                                                                                                                                      • - *

                                                                                                                                                                        For deployments that are deployed with CloudFormation, the target IDs are + *

                                                                                                                                                                        For deployments that are deployed with CloudFormation, the target IDs are * CloudFormation stack IDs. Their target type is * cloudFormationTarget.

                                                                                                                                                                        *
                                                                                                                                                                      • @@ -2921,20 +2916,20 @@ export interface ECSTaskSet { /** * @public *

                                                                                                                                                                        The status of the task set. There are three valid task set statuses:

                                                                                                                                                                        - *
                                                                                                                                                                          + *
                                                                                                                                                                            *
                                                                                                                                                                          • - *

                                                                                                                                                                            - * PRIMARY: Indicates the task set is serving production traffic. + *

                                                                                                                                                                            + * PRIMARY: Indicates the task set is serving production traffic. *

                                                                                                                                                                            *
                                                                                                                                                                          • *
                                                                                                                                                                          • - *

                                                                                                                                                                            - * ACTIVE: Indicates the task set is not serving production traffic. + *

                                                                                                                                                                            + * ACTIVE: Indicates the task set is not serving production traffic. *

                                                                                                                                                                            *
                                                                                                                                                                          • *
                                                                                                                                                                          • - *

                                                                                                                                                                            - * DRAINING: Indicates the tasks in the task set are being stopped and + *

                                                                                                                                                                            + * DRAINING: Indicates the tasks in the task set are being stopped and * their corresponding targets are being deregistered from their target group. *

                                                                                                                                                                            *
                                                                                                                                                                          • @@ -3207,25 +3202,25 @@ export interface BatchGetDeploymentTargetsOutput { *

                                                                                                                                                                            A list of target objects for a deployment. Each target object contains details about * the target, such as its status and lifecycle events. The type of the target objects * depends on the deployment' compute platform.

                                                                                                                                                                            - *
                                                                                                                                                                              + *
                                                                                                                                                                                *
                                                                                                                                                                              • - *

                                                                                                                                                                                - * EC2/On-premises: Each target object is an + *

                                                                                                                                                                                + * EC2/On-premises: Each target object is an * Amazon EC2 or on-premises instance.

                                                                                                                                                                                *
                                                                                                                                                                              • *
                                                                                                                                                                              • - *

                                                                                                                                                                                - * Lambda: The target object is a + *

                                                                                                                                                                                + * Lambda: The target object is a * specific version of an Lambda function.

                                                                                                                                                                                *
                                                                                                                                                                              • *
                                                                                                                                                                              • - *

                                                                                                                                                                                - * Amazon ECS: The target object is an + *

                                                                                                                                                                                + * Amazon ECS: The target object is an * Amazon ECS service.

                                                                                                                                                                                *
                                                                                                                                                                              • *
                                                                                                                                                                              • - *

                                                                                                                                                                                - * CloudFormation: The target object is + *

                                                                                                                                                                                + * CloudFormation: The target object is * an CloudFormation blue/green deployment.

                                                                                                                                                                                *
                                                                                                                                                                              • *
                                                                                                                                                                              @@ -3673,7 +3668,7 @@ export interface CreateDeploymentInput { * @public *

                                                                                                                                                                              The name of a deployment configuration associated with the IAM user or * Amazon Web Services account.

                                                                                                                                                                              - *

                                                                                                                                                                              If not specified, the value configured in the deployment group is used as the default. + *

                                                                                                                                                                              If not specified, the value configured in the deployment group is used as the default. * If the deployment group does not have a deployment configuration associated with it, * CodeDeployDefault.OneAtATime is used by default.

                                                                                                                                                                              */ @@ -3694,20 +3689,17 @@ export interface CreateDeploymentInput { * DownloadBundle. If BeforeBlockTraffic fails, the * deployment continues with BlockTraffic. If AfterBlockTraffic * fails, the deployment continues with ApplicationStop.

                                                                                                                                                                              - * - *

                                                                                                                                                                              If false or not specified, then if a lifecycle event fails during a deployment to an + *

                                                                                                                                                                              If false or not specified, then if a lifecycle event fails during a deployment to an * instance, that deployment fails. If deployment to that instance is part of an overall * deployment and the number of healthy hosts is not less than the minimum number of * healthy hosts, then a deployment to the next instance is attempted.

                                                                                                                                                                              - * - *

                                                                                                                                                                              During a deployment, the CodeDeploy agent runs the scripts specified for + *

                                                                                                                                                                              During a deployment, the CodeDeploy agent runs the scripts specified for * ApplicationStop, BeforeBlockTraffic, and * AfterBlockTraffic in the AppSpec file from the previous successful * deployment. (All other scripts are run from the AppSpec file in the current deployment.) * If one of these scripts contains an error and does not run successfully, the deployment * can fail.

                                                                                                                                                                              - * - *

                                                                                                                                                                              If the cause of the failure is a script from the last successful deployment that will + *

                                                                                                                                                                              If the cause of the failure is a script from the last successful deployment that will * never run successfully, create a new deployment and use * ignoreApplicationStopFailures to specify that the * ApplicationStop, BeforeBlockTraffic, and @@ -3741,19 +3733,19 @@ export interface CreateDeploymentInput { *

                                                                                                                                                                              Information about how CodeDeploy handles files that already exist in a * deployment target location but weren't part of the previous successful * deployment.

                                                                                                                                                                              - *

                                                                                                                                                                              The fileExistsBehavior parameter takes any of the following + *

                                                                                                                                                                              The fileExistsBehavior parameter takes any of the following * values:

                                                                                                                                                                              - *
                                                                                                                                                                                + *
                                                                                                                                                                                  *
                                                                                                                                                                                • - *

                                                                                                                                                                                  DISALLOW: The deployment fails. This is also the default behavior if no option + *

                                                                                                                                                                                  DISALLOW: The deployment fails. This is also the default behavior if no option * is specified.

                                                                                                                                                                                  *
                                                                                                                                                                                • *
                                                                                                                                                                                • - *

                                                                                                                                                                                  OVERWRITE: The version of the file from the application revision currently + *

                                                                                                                                                                                  OVERWRITE: The version of the file from the application revision currently * being deployed replaces the version already on the instance.

                                                                                                                                                                                  *
                                                                                                                                                                                • *
                                                                                                                                                                                • - *

                                                                                                                                                                                  RETAIN: The version of the file already on the instance is kept and used as + *

                                                                                                                                                                                  RETAIN: The version of the file already on the instance is kept and used as * part of the new deployment.

                                                                                                                                                                                  *
                                                                                                                                                                                • *
                                                                                                                                                                                @@ -3771,11 +3763,11 @@ export interface CreateDeploymentInput { * turn off alarm polling. Turning off alarm polling ensures that the new deployment * proceeds without being blocked by the alarm that was generated by the previous, failed, * deployment.

                                                                                                                                                                                - * + * *

                                                                                                                                                                                If you specify an overrideAlarmConfiguration, you need the * UpdateDeploymentGroup IAM permission when calling * CreateDeployment.

                                                                                                                                                                                - *
                                                                                                                                                                                + *
                                                                                                                                                                                */ overrideAlarmConfiguration?: AlarmConfiguration; } @@ -3855,21 +3847,21 @@ export class DescriptionTooLongException extends __BaseException { /** * @public *

                                                                                                                                                                                The format of the alarm configuration is invalid. Possible causes include:

                                                                                                                                                                                - *
                                                                                                                                                                                  + *
                                                                                                                                                                                    *
                                                                                                                                                                                  • - *

                                                                                                                                                                                    The alarm list is null.

                                                                                                                                                                                    + *

                                                                                                                                                                                    The alarm list is null.

                                                                                                                                                                                    *
                                                                                                                                                                                  • *
                                                                                                                                                                                  • - *

                                                                                                                                                                                    The alarm object is null.

                                                                                                                                                                                    + *

                                                                                                                                                                                    The alarm object is null.

                                                                                                                                                                                    *
                                                                                                                                                                                  • *
                                                                                                                                                                                  • - *

                                                                                                                                                                                    The alarm name is empty or null or exceeds the limit of 255 characters.

                                                                                                                                                                                    + *

                                                                                                                                                                                    The alarm name is empty or null or exceeds the limit of 255 characters.

                                                                                                                                                                                    *
                                                                                                                                                                                  • *
                                                                                                                                                                                  • - *

                                                                                                                                                                                    Two alarms with the same name have been specified.

                                                                                                                                                                                    + *

                                                                                                                                                                                    Two alarms with the same name have been specified.

                                                                                                                                                                                    *
                                                                                                                                                                                  • *
                                                                                                                                                                                  • - *

                                                                                                                                                                                    The alarm configuration is enabled, but the alarm list is empty.

                                                                                                                                                                                    + *

                                                                                                                                                                                    The alarm configuration is enabled, but the alarm list is empty.

                                                                                                                                                                                    *
                                                                                                                                                                                  • *
                                                                                                                                                                                  */ @@ -4062,19 +4054,19 @@ export class InvalidRoleException extends __BaseException { /** * @public *

                                                                                                                                                                                  The target instance configuration is invalid. Possible causes include:

                                                                                                                                                                                  - *
                                                                                                                                                                                    + *
                                                                                                                                                                                      *
                                                                                                                                                                                    • - *

                                                                                                                                                                                      Configuration data for target instances was entered for an in-place + *

                                                                                                                                                                                      Configuration data for target instances was entered for an in-place * deployment.

                                                                                                                                                                                      *
                                                                                                                                                                                    • *
                                                                                                                                                                                    • - *

                                                                                                                                                                                      The limit of 10 tags for a tag type was exceeded.

                                                                                                                                                                                      + *

                                                                                                                                                                                      The limit of 10 tags for a tag type was exceeded.

                                                                                                                                                                                      *
                                                                                                                                                                                    • *
                                                                                                                                                                                    • - *

                                                                                                                                                                                      The combined length of the tag names exceeded the limit.

                                                                                                                                                                                      + *

                                                                                                                                                                                      The combined length of the tag names exceeded the limit.

                                                                                                                                                                                      *
                                                                                                                                                                                    • *
                                                                                                                                                                                    • - *

                                                                                                                                                                                      A specified tag is not currently applied to any instances.

                                                                                                                                                                                      + *

                                                                                                                                                                                      A specified tag is not currently applied to any instances.

                                                                                                                                                                                      *
                                                                                                                                                                                    • *
                                                                                                                                                                                    */ @@ -4200,25 +4192,25 @@ export interface MinimumHealthyHosts { /** * @public *

                                                                                                                                                                                    The minimum healthy instance type:

                                                                                                                                                                                    - *
                                                                                                                                                                                      + *
                                                                                                                                                                                        *
                                                                                                                                                                                      • - *

                                                                                                                                                                                        + *

                                                                                                                                                                                        * HOST_COUNT: The minimum number of healthy instances as an * absolute value.

                                                                                                                                                                                        *
                                                                                                                                                                                      • *
                                                                                                                                                                                      • - *

                                                                                                                                                                                        + *

                                                                                                                                                                                        * FLEET_PERCENT: The minimum number of healthy instances as a * percentage of the total number of instances in the deployment.

                                                                                                                                                                                        *
                                                                                                                                                                                      • *
                                                                                                                                                                                      - *

                                                                                                                                                                                      In an example of nine instances, if a HOST_COUNT of six is specified, deploy to up to + *

                                                                                                                                                                                      In an example of nine instances, if a HOST_COUNT of six is specified, deploy to up to * three instances at a time. The deployment is successful if six or more instances are * deployed to successfully. Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is * specified, deploy to up to five instances at a time. The deployment is successful if * four or more instances are deployed to successfully. Otherwise, the deployment * fails.

                                                                                                                                                                                      - * + * *

                                                                                                                                                                                      In a call to the GetDeploymentConfig, CodeDeployDefault.OneAtATime * returns a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This * means a deployment to only one instance at a time. (You cannot set the type to @@ -4228,8 +4220,8 @@ export interface MinimumHealthyHosts { * allows one instance at a time to be taken offline for a new deployment, it also * means that if the deployment to the last instance fails, the overall deployment is * still successful.

                                                                                                                                                                                      - *
                                                                                                                                                                                      - *

                                                                                                                                                                                      For more information, see CodeDeploy + * + *

                                                                                                                                                                                      For more information, see CodeDeploy * Instance Health in the CodeDeploy User * Guide.

                                                                                                                                                                                      */ @@ -4352,21 +4344,21 @@ export interface CreateDeploymentConfigInput { * @public *

                                                                                                                                                                                      The minimum number of healthy instances that should be available at any time during * the deployment. There are two parameters expected in the input: type and value.

                                                                                                                                                                                      - *

                                                                                                                                                                                      The type parameter takes either of the following values:

                                                                                                                                                                                      - *
                                                                                                                                                                                        + *

                                                                                                                                                                                        The type parameter takes either of the following values:

                                                                                                                                                                                        + *
                                                                                                                                                                                          *
                                                                                                                                                                                        • - *

                                                                                                                                                                                          HOST_COUNT: The value parameter represents the minimum number of healthy + *

                                                                                                                                                                                          HOST_COUNT: The value parameter represents the minimum number of healthy * instances as an absolute value.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        • - *

                                                                                                                                                                                          FLEET_PERCENT: The value parameter represents the minimum number of healthy + *

                                                                                                                                                                                          FLEET_PERCENT: The value parameter represents the minimum number of healthy * instances as a percentage of the total number of instances in the deployment. If * you specify FLEET_PERCENT, at the start of the deployment, CodeDeploy converts the percentage to the equivalent number of instances and rounds up * fractional instances.

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        - *

                                                                                                                                                                                        The value parameter takes an integer.

                                                                                                                                                                                        - *

                                                                                                                                                                                        For example, to set a minimum of 95% healthy instance, specify a type of FLEET_PERCENT + *

                                                                                                                                                                                        The value parameter takes an integer.

                                                                                                                                                                                        + *

                                                                                                                                                                                        For example, to set a minimum of 95% healthy instance, specify a type of FLEET_PERCENT * and a value of 95.

                                                                                                                                                                                        */ minimumHealthyHosts?: MinimumHealthyHosts; @@ -4500,11 +4492,11 @@ export interface CreateDeploymentGroupInput { *

                                                                                                                                                                                        If specified, the deployment configuration name can be either one of the predefined * configurations provided with CodeDeploy or a custom deployment configuration * that you create by calling the create deployment configuration operation.

                                                                                                                                                                                        - *

                                                                                                                                                                                        + *

                                                                                                                                                                                        * CodeDeployDefault.OneAtATime is the default deployment configuration. It * is used if a configuration isn't specified for the deployment or deployment * group.

                                                                                                                                                                                        - *

                                                                                                                                                                                        For more information about the predefined deployment configurations in CodeDeploy, see Working with + *

                                                                                                                                                                                        For more information about the predefined deployment configurations in CodeDeploy, see Working with * Deployment Configurations in CodeDeploy in the CodeDeploy User Guide.

                                                                                                                                                                                        */ deploymentConfigName?: string; @@ -4564,10 +4556,10 @@ export interface CreateDeploymentGroupInput { * @public *

                                                                                                                                                                                        Indicates what happens when new Amazon EC2 instances are launched * mid-deployment and do not receive the deployed application revision.

                                                                                                                                                                                        - *

                                                                                                                                                                                        If this option is set to UPDATE or is unspecified, CodeDeploy initiates + *

                                                                                                                                                                                        If this option is set to UPDATE or is unspecified, CodeDeploy initiates * one or more 'auto-update outdated instances' deployments to apply the deployed * application revision to the new Amazon EC2 instances.

                                                                                                                                                                                        - *

                                                                                                                                                                                        If this option is set to IGNORE, CodeDeploy does not initiate a + *

                                                                                                                                                                                        If this option is set to IGNORE, CodeDeploy does not initiate a * deployment to update the new Amazon EC2 instances. This may result in instances * having different revisions.

                                                                                                                                                                                        */ @@ -5659,24 +5651,24 @@ export interface ListApplicationRevisionsInput { /** * @public *

                                                                                                                                                                                        The column name to use to sort the list results:

                                                                                                                                                                                        - *
                                                                                                                                                                                          + *
                                                                                                                                                                                            *
                                                                                                                                                                                          • - *

                                                                                                                                                                                            + *

                                                                                                                                                                                            * registerTime: Sort by the time the revisions were registered with * CodeDeploy.

                                                                                                                                                                                            *
                                                                                                                                                                                          • *
                                                                                                                                                                                          • - *

                                                                                                                                                                                            + *

                                                                                                                                                                                            * firstUsedTime: Sort by the time the revisions were first used in * a deployment.

                                                                                                                                                                                            *
                                                                                                                                                                                          • *
                                                                                                                                                                                          • - *

                                                                                                                                                                                            + *

                                                                                                                                                                                            * lastUsedTime: Sort by the time the revisions were last used in a * deployment.

                                                                                                                                                                                            *
                                                                                                                                                                                          • *
                                                                                                                                                                                          - *

                                                                                                                                                                                          If not specified or set to null, the results are returned in an arbitrary order. + *

                                                                                                                                                                                          If not specified or set to null, the results are returned in an arbitrary order. *

                                                                                                                                                                                          */ sortBy?: ApplicationRevisionSortBy | string; @@ -5684,25 +5676,25 @@ export interface ListApplicationRevisionsInput { /** * @public *

                                                                                                                                                                                          The order in which to sort the list results:

                                                                                                                                                                                          - *
                                                                                                                                                                                            + *
                                                                                                                                                                                              *
                                                                                                                                                                                            • - *

                                                                                                                                                                                              + *

                                                                                                                                                                                              * ascending: ascending order.

                                                                                                                                                                                              *
                                                                                                                                                                                            • *
                                                                                                                                                                                            • - *

                                                                                                                                                                                              + *

                                                                                                                                                                                              * descending: descending order.

                                                                                                                                                                                              *
                                                                                                                                                                                            • *
                                                                                                                                                                                            - *

                                                                                                                                                                                            If not specified, the results are sorted in ascending order.

                                                                                                                                                                                            - *

                                                                                                                                                                                            If set to null, the results are sorted in an arbitrary order.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If not specified, the results are sorted in ascending order.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If set to null, the results are sorted in an arbitrary order.

                                                                                                                                                                                            */ sortOrder?: SortOrder | string; /** * @public *

                                                                                                                                                                                            An Amazon S3 bucket name to limit the search for revisions.

                                                                                                                                                                                            - *

                                                                                                                                                                                            If set to null, all of the user's buckets are searched.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If set to null, all of the user's buckets are searched.

                                                                                                                                                                                            */ s3Bucket?: string; @@ -5717,19 +5709,19 @@ export interface ListApplicationRevisionsInput { * @public *

                                                                                                                                                                                            Whether to list revisions based on whether the revision is the target revision of a * deployment group:

                                                                                                                                                                                            - *
                                                                                                                                                                                              + *
                                                                                                                                                                                                *
                                                                                                                                                                                              • - *

                                                                                                                                                                                                + *

                                                                                                                                                                                                * include: List revisions that are target revisions of a deployment * group.

                                                                                                                                                                                                *
                                                                                                                                                                                              • *
                                                                                                                                                                                              • - *

                                                                                                                                                                                                + *

                                                                                                                                                                                                * exclude: Do not list revisions that are target revisions of a * deployment group.

                                                                                                                                                                                                *
                                                                                                                                                                                              • *
                                                                                                                                                                                              • - *

                                                                                                                                                                                                + *

                                                                                                                                                                                                * ignore: List all revisions.

                                                                                                                                                                                                *
                                                                                                                                                                                              • *
                                                                                                                                                                                              @@ -5980,31 +5972,31 @@ export interface ListDeploymentInstancesInput { /** * @public *

                                                                                                                                                                                              A subset of instances to list by status:

                                                                                                                                                                                              - *
                                                                                                                                                                                                + *
                                                                                                                                                                                                  *
                                                                                                                                                                                                • - *

                                                                                                                                                                                                  + *

                                                                                                                                                                                                  * Pending: Include those instances with pending deployments.

                                                                                                                                                                                                  *
                                                                                                                                                                                                • *
                                                                                                                                                                                                • - *

                                                                                                                                                                                                  + *

                                                                                                                                                                                                  * InProgress: Include those instances where deployments are still * in progress.

                                                                                                                                                                                                  *
                                                                                                                                                                                                • *
                                                                                                                                                                                                • - *

                                                                                                                                                                                                  + *

                                                                                                                                                                                                  * Succeeded: Include those instances with successful * deployments.

                                                                                                                                                                                                  *
                                                                                                                                                                                                • *
                                                                                                                                                                                                • - *

                                                                                                                                                                                                  + *

                                                                                                                                                                                                  * Failed: Include those instances with failed deployments.

                                                                                                                                                                                                  *
                                                                                                                                                                                                • *
                                                                                                                                                                                                • - *

                                                                                                                                                                                                  + *

                                                                                                                                                                                                  * Skipped: Include those instances with skipped deployments.

                                                                                                                                                                                                  *
                                                                                                                                                                                                • *
                                                                                                                                                                                                • - *

                                                                                                                                                                                                  + *

                                                                                                                                                                                                  * Unknown: Include those instances with deployments in an unknown * state.

                                                                                                                                                                                                  *
                                                                                                                                                                                                • @@ -6089,18 +6081,18 @@ export interface TimeRange { /** * @public *

                                                                                                                                                                                                  The start time of the time range.

                                                                                                                                                                                                  - * + * *

                                                                                                                                                                                                  Specify null to leave the start time open-ended.

                                                                                                                                                                                                  - *
                                                                                                                                                                                                  + *
                                                                                                                                                                                                  */ start?: Date; /** * @public *

                                                                                                                                                                                                  The end time of the time range.

                                                                                                                                                                                                  - * + * *

                                                                                                                                                                                                  Specify null to leave the end time open-ended.

                                                                                                                                                                                                  - *
                                                                                                                                                                                                  + *
                                                                                                                                                                                                  */ end?: Date; } @@ -6113,22 +6105,22 @@ export interface ListDeploymentsInput { /** * @public *

                                                                                                                                                                                                  The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

                                                                                                                                                                                                  - * + * *

                                                                                                                                                                                                  If applicationName is specified, then * deploymentGroupName must be specified. If it is not specified, then * deploymentGroupName must not be specified.

                                                                                                                                                                                                  - *
                                                                                                                                                                                                  + *
                                                                                                                                                                                                  */ applicationName?: string; /** * @public *

                                                                                                                                                                                                  The name of a deployment group for the specified application.

                                                                                                                                                                                                  - * + * *

                                                                                                                                                                                                  If deploymentGroupName is specified, then * applicationName must be specified. If it is not specified, then * applicationName must not be specified.

                                                                                                                                                                                                  - *
                                                                                                                                                                                                  + *
                                                                                                                                                                                                  */ deploymentGroupName?: string; @@ -6142,32 +6134,32 @@ export interface ListDeploymentsInput { /** * @public *

                                                                                                                                                                                                  A subset of deployments to list by status:

                                                                                                                                                                                                  - *
                                                                                                                                                                                                    + *
                                                                                                                                                                                                      *
                                                                                                                                                                                                    • - *

                                                                                                                                                                                                      + *

                                                                                                                                                                                                      * Created: Include created deployments in the resulting * list.

                                                                                                                                                                                                      *
                                                                                                                                                                                                    • *
                                                                                                                                                                                                    • - *

                                                                                                                                                                                                      + *

                                                                                                                                                                                                      * Queued: Include queued deployments in the resulting list.

                                                                                                                                                                                                      *
                                                                                                                                                                                                    • *
                                                                                                                                                                                                    • - *

                                                                                                                                                                                                      + *

                                                                                                                                                                                                      * In Progress: Include in-progress deployments in the resulting * list.

                                                                                                                                                                                                      *
                                                                                                                                                                                                    • *
                                                                                                                                                                                                    • - *

                                                                                                                                                                                                      + *

                                                                                                                                                                                                      * Succeeded: Include successful deployments in the resulting * list.

                                                                                                                                                                                                      *
                                                                                                                                                                                                    • *
                                                                                                                                                                                                    • - *

                                                                                                                                                                                                      + *

                                                                                                                                                                                                      * Failed: Include failed deployments in the resulting list.

                                                                                                                                                                                                      *
                                                                                                                                                                                                    • *
                                                                                                                                                                                                    • - *

                                                                                                                                                                                                      + *

                                                                                                                                                                                                      * Stopped: Include stopped deployments in the resulting * list.

                                                                                                                                                                                                      *
                                                                                                                                                                                                    • @@ -6243,17 +6235,17 @@ export interface ListDeploymentTargetsInput { /** * @public *

                                                                                                                                                                                                      A key used to filter the returned targets. The two valid values are:

                                                                                                                                                                                                      - *
                                                                                                                                                                                                        + *
                                                                                                                                                                                                          *
                                                                                                                                                                                                        • - *

                                                                                                                                                                                                          - * TargetStatus - A TargetStatus filter string can be + *

                                                                                                                                                                                                          + * TargetStatus - A TargetStatus filter string can be * Failed, InProgress, Pending, * Ready, Skipped, Succeeded, or * Unknown.

                                                                                                                                                                                                          *
                                                                                                                                                                                                        • *
                                                                                                                                                                                                        • - *

                                                                                                                                                                                                          - * ServerInstanceLabel - A ServerInstanceLabel filter + *

                                                                                                                                                                                                          + * ServerInstanceLabel - A ServerInstanceLabel filter * string can be Blue or Green.

                                                                                                                                                                                                          *
                                                                                                                                                                                                        • *
                                                                                                                                                                                                        @@ -6375,14 +6367,14 @@ export interface ListOnPremisesInstancesInput { /** * @public *

                                                                                                                                                                                                        The registration status of the on-premises instances:

                                                                                                                                                                                                        - *
                                                                                                                                                                                                          + *
                                                                                                                                                                                                            *
                                                                                                                                                                                                          • - *

                                                                                                                                                                                                            + *

                                                                                                                                                                                                            * Deregistered: Include deregistered on-premises instances in the * resulting list.

                                                                                                                                                                                                            *
                                                                                                                                                                                                          • *
                                                                                                                                                                                                          • - *

                                                                                                                                                                                                            + *

                                                                                                                                                                                                            * Registered: Include registered on-premises instances in the * resulting list.

                                                                                                                                                                                                            *
                                                                                                                                                                                                          • @@ -6896,12 +6888,12 @@ export interface StopDeploymentOutput { /** * @public *

                                                                                                                                                                                                            The status of the stop deployment operation:

                                                                                                                                                                                                            - *
                                                                                                                                                                                                              + *
                                                                                                                                                                                                                *
                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                Pending: The stop operation is pending.

                                                                                                                                                                                                                + *

                                                                                                                                                                                                                Pending: The stop operation is pending.

                                                                                                                                                                                                                *
                                                                                                                                                                                                              • *
                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                Succeeded: The stop operation was successful.

                                                                                                                                                                                                                + *

                                                                                                                                                                                                                Succeeded: The stop operation was successful.

                                                                                                                                                                                                                *
                                                                                                                                                                                                              • *
                                                                                                                                                                                                              */ @@ -7029,13 +7021,13 @@ export interface UpdateDeploymentGroupInput { * @public *

                                                                                                                                                                                                              The replacement list of Auto Scaling groups to be included in the deployment * group, if you want to change them.

                                                                                                                                                                                                              - *
                                                                                                                                                                                                                + *
                                                                                                                                                                                                                  *
                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                  To keep the Auto Scaling groups, enter their names or do not specify this + *

                                                                                                                                                                                                                  To keep the Auto Scaling groups, enter their names or do not specify this * parameter.

                                                                                                                                                                                                                  *
                                                                                                                                                                                                                • *
                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                  To remove Auto Scaling groups, specify a non-null empty list of Auto Scaling group names to detach all CodeDeploy-managed Auto Scaling lifecycle hooks. For examples, see Amazon EC2 instances in an Amazon EC2 Auto Scaling group fail to + *

                                                                                                                                                                                                                  To remove Auto Scaling groups, specify a non-null empty list of Auto Scaling group names to detach all CodeDeploy-managed Auto Scaling lifecycle hooks. For examples, see Amazon EC2 instances in an Amazon EC2 Auto Scaling group fail to * launch and receive the error "Heartbeat Timeout" in the * CodeDeploy User Guide.

                                                                                                                                                                                                                  *
                                                                                                                                                                                                                • @@ -7076,10 +7068,10 @@ export interface UpdateDeploymentGroupInput { * @public *

                                                                                                                                                                                                                  Indicates what happens when new Amazon EC2 instances are launched * mid-deployment and do not receive the deployed application revision.

                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                  If this option is set to UPDATE or is unspecified, CodeDeploy initiates + *

                                                                                                                                                                                                                  If this option is set to UPDATE or is unspecified, CodeDeploy initiates * one or more 'auto-update outdated instances' deployments to apply the deployed * application revision to the new Amazon EC2 instances.

                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                  If this option is set to IGNORE, CodeDeploy does not initiate a + *

                                                                                                                                                                                                                  If this option is set to IGNORE, CodeDeploy does not initiate a * deployment to update the new Amazon EC2 instances. This may result in instances * having different revisions.

                                                                                                                                                                                                                  */ diff --git a/clients/client-codeguru-reviewer/README.md b/clients/client-codeguru-reviewer/README.md index 40897597d18ec..14fe62dfbb3b9 100644 --- a/clients/client-codeguru-reviewer/README.md +++ b/clients/client-codeguru-reviewer/README.md @@ -10,14 +10,12 @@ AWS SDK for JavaScript CodeGuruReviewer Client for Node.js, Browser and React Na service that uses program analysis and machine learning to detect potential defects that are difficult for developers to find and recommends fixes in your Java and Python code.

                                                                                                                                                                                                                  -

                                                                                                                                                                                                                  By proactively detecting and providing recommendations for addressing code defects and implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of your code base during the code review stage. For more information about CodeGuru Reviewer, see the Amazon CodeGuru Reviewer User Guide.

                                                                                                                                                                                                                  -

                                                                                                                                                                                                                  To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection between your VPC and CodeGuru Reviewer by creating an interface VPC endpoint. For more information, see CodeGuru Reviewer and interface VPC diff --git a/clients/client-codeguru-reviewer/src/CodeGuruReviewer.ts b/clients/client-codeguru-reviewer/src/CodeGuruReviewer.ts index 5078d2e0ee6a0..3b339902b8b95 100644 --- a/clients/client-codeguru-reviewer/src/CodeGuruReviewer.ts +++ b/clients/client-codeguru-reviewer/src/CodeGuruReviewer.ts @@ -318,14 +318,12 @@ export interface CodeGuruReviewer { * service that uses program analysis and machine learning to detect potential defects that * are difficult for developers to find and recommends fixes in your Java and Python * code.

                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                  By proactively detecting and providing recommendations for addressing code defects and * implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of * your code base during the code review stage. For more information about CodeGuru Reviewer, see the * * Amazon CodeGuru Reviewer User Guide. *

                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                  To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection * between your VPC and CodeGuru Reviewer by creating an interface VPC endpoint. For * more information, see CodeGuru Reviewer and interface VPC diff --git a/clients/client-codeguru-reviewer/src/CodeGuruReviewerClient.ts b/clients/client-codeguru-reviewer/src/CodeGuruReviewerClient.ts index a8b921b133c11..4a923adeb31d1 100644 --- a/clients/client-codeguru-reviewer/src/CodeGuruReviewerClient.ts +++ b/clients/client-codeguru-reviewer/src/CodeGuruReviewerClient.ts @@ -314,14 +314,12 @@ export interface CodeGuruReviewerClientResolvedConfig extends CodeGuruReviewerCl * service that uses program analysis and machine learning to detect potential defects that * are difficult for developers to find and recommends fixes in your Java and Python * code.

                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                  By proactively detecting and providing recommendations for addressing code defects and * implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of * your code base during the code review stage. For more information about CodeGuru Reviewer, see the * * Amazon CodeGuru Reviewer User Guide. *

                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                  To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection * between your VPC and CodeGuru Reviewer by creating an interface VPC endpoint. For * more information, see CodeGuru Reviewer and interface VPC diff --git a/clients/client-codeguru-reviewer/src/commands/AssociateRepositoryCommand.ts b/clients/client-codeguru-reviewer/src/commands/AssociateRepositoryCommand.ts index 50815e6d695c0..a4b848418731d 100644 --- a/clients/client-codeguru-reviewer/src/commands/AssociateRepositoryCommand.ts +++ b/clients/client-codeguru-reviewer/src/commands/AssociateRepositoryCommand.ts @@ -43,15 +43,12 @@ export interface AssociateRepositoryCommandOutput extends AssociateRepositoryRes * information, see Recommendations in * Amazon CodeGuru Reviewer in the Amazon CodeGuru Reviewer User Guide. *

                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                  If you associate a CodeCommit or S3 repository, it must be in the same Amazon Web Services Region and * Amazon Web Services account where its CodeGuru Reviewer code reviews are configured.

                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                  Bitbucket and GitHub Enterprise Server repositories are managed by Amazon Web Services CodeStar * Connections to connect to CodeGuru Reviewer. For more information, see Associate a * repository in the Amazon CodeGuru Reviewer User Guide. *

                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                  You cannot use the CodeGuru Reviewer SDK or the Amazon Web Services CLI to associate a GitHub repository with * Amazon CodeGuru Reviewer. To associate a GitHub repository, use the console. For more information, see diff --git a/clients/client-codeguru-reviewer/src/endpoint/ruleset.ts b/clients/client-codeguru-reviewer/src/endpoint/ruleset.ts index e6c16c908d417..35aabd929f53a 100644 --- a/clients/client-codeguru-reviewer/src/endpoint/ruleset.ts +++ b/clients/client-codeguru-reviewer/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/codeguru-reviewer.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://codeguru-reviewer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://codeguru-reviewer-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://codeguru-reviewer.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://codeguru-reviewer.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://codeguru-reviewer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://codeguru-reviewer-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://codeguru-reviewer.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://codeguru-reviewer.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-codeguru-reviewer/src/index.ts b/clients/client-codeguru-reviewer/src/index.ts index 54e35840511c8..1fb4a9a12e0b5 100644 --- a/clients/client-codeguru-reviewer/src/index.ts +++ b/clients/client-codeguru-reviewer/src/index.ts @@ -5,14 +5,12 @@ * service that uses program analysis and machine learning to detect potential defects that * are difficult for developers to find and recommends fixes in your Java and Python * code.

                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                  By proactively detecting and providing recommendations for addressing code defects and * implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of * your code base during the code review stage. For more information about CodeGuru Reviewer, see the * * Amazon CodeGuru Reviewer User Guide. *

                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                  To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection * between your VPC and CodeGuru Reviewer by creating an interface VPC endpoint. For * more information, see CodeGuru Reviewer and interface VPC diff --git a/clients/client-codeguru-reviewer/src/models/models_0.ts b/clients/client-codeguru-reviewer/src/models/models_0.ts index 7324c29077d8f..86aed372dce9a 100644 --- a/clients/client-codeguru-reviewer/src/models/models_0.ts +++ b/clients/client-codeguru-reviewer/src/models/models_0.ts @@ -196,18 +196,18 @@ export interface AssociateRepositoryRequest { /** * @public *

                                                                                                                                                                                                                  An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:

                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                    + *
                                                                                                                                                                                                                      *
                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                      A tag key (for example, CostCenter, + *

                                                                                                                                                                                                                      A tag key (for example, CostCenter, * Environment, Project, or Secret). Tag * keys are case sensitive.

                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                    • + * *
                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                      An optional field known as a tag value (for example, + *

                                                                                                                                                                                                                      An optional field known as a tag value (for example, * 111122223333, Production, or a team name). * Omitting the tag value is the same as using an empty string. Like tag keys, tag * values are case sensitive.

                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                    • + * *
                                                                                                                                                                                                                    */ Tags?: Record; @@ -463,18 +463,18 @@ export interface AssociateRepositoryResponse { /** * @public *

                                                                                                                                                                                                                    An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:

                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                        *
                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                        A tag key (for example, CostCenter, + *

                                                                                                                                                                                                                        A tag key (for example, CostCenter, * Environment, Project, or Secret). Tag * keys are case sensitive.

                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                      • + * *
                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                        An optional field known as a tag value (for example, + *

                                                                                                                                                                                                                        An optional field known as a tag value (for example, * 111122223333, Production, or a team name). * Omitting the tag value is the same as using an empty string. Like tag keys, tag * values are case sensitive.

                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                      • + * *
                                                                                                                                                                                                                      */ Tags?: Record; @@ -1248,18 +1248,18 @@ export interface DescribeRepositoryAssociationResponse { /** * @public *

                                                                                                                                                                                                                      An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:

                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                        + *
                                                                                                                                                                                                                          *
                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                          A tag key (for example, CostCenter, + *

                                                                                                                                                                                                                          A tag key (for example, CostCenter, * Environment, Project, or Secret). Tag * keys are case sensitive.

                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                        • + * *
                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                          An optional field known as a tag value (for example, + *

                                                                                                                                                                                                                          An optional field known as a tag value (for example, * 111122223333, Production, or a team name). * Omitting the tag value is the same as using an empty string. Like tag keys, tag * values are case sensitive.

                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                        • + * *
                                                                                                                                                                                                                        */ Tags?: Record; @@ -1311,18 +1311,18 @@ export interface DisassociateRepositoryResponse { /** * @public *

                                                                                                                                                                                                                        An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:

                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                          + *
                                                                                                                                                                                                                            *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            A tag key (for example, CostCenter, + *

                                                                                                                                                                                                                            A tag key (for example, CostCenter, * Environment, Project, or Secret). Tag * keys are case sensitive.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            An optional field known as a tag value (for example, + *

                                                                                                                                                                                                                            An optional field known as a tag value (for example, * 111122223333, Production, or a team name). * Omitting the tag value is the same as using an empty string. Like tag keys, tag * values are case sensitive.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + * *
                                                                                                                                                                                                                          */ Tags?: Record; @@ -2050,18 +2050,18 @@ export interface ListTagsForResourceResponse { /** * @public *

                                                                                                                                                                                                                          An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:

                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                              *
                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                              A tag key (for example, CostCenter, + *

                                                                                                                                                                                                                              A tag key (for example, CostCenter, * Environment, Project, or Secret). Tag * keys are case sensitive.

                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                            • + * *
                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                              An optional field known as a tag value (for example, + *

                                                                                                                                                                                                                              An optional field known as a tag value (for example, * 111122223333, Production, or a team name). * Omitting the tag value is the same as using an empty string. Like tag keys, tag * values are case sensitive.

                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                            • + * *
                                                                                                                                                                                                                            */ Tags?: Record; @@ -2111,18 +2111,18 @@ export interface TagResourceRequest { /** * @public *

                                                                                                                                                                                                                            An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                A tag key (for example, CostCenter, + *

                                                                                                                                                                                                                                A tag key (for example, CostCenter, * Environment, Project, or Secret). Tag * keys are case sensitive.

                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                              • + * *
                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                An optional field known as a tag value (for example, + *

                                                                                                                                                                                                                                An optional field known as a tag value (for example, * 111122223333, Production, or a team name). * Omitting the tag value is the same as using an empty string. Like tag keys, tag * values are case sensitive.

                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                              • + * *
                                                                                                                                                                                                                              */ Tags: Record | undefined; diff --git a/clients/client-codeguruprofiler/src/endpoint/ruleset.ts b/clients/client-codeguruprofiler/src/endpoint/ruleset.ts index 6ad8fefc7a8cd..a72f4c75dd4c2 100644 --- a/clients/client-codeguruprofiler/src/endpoint/ruleset.ts +++ b/clients/client-codeguruprofiler/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/codeguruprofiler.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://codeguru-profiler-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://codeguru-profiler-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://codeguru-profiler.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://codeguru-profiler.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://codeguru-profiler-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://codeguru-profiler-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://codeguru-profiler.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://codeguru-profiler.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-codepipeline/src/endpoint/ruleset.ts b/clients/client-codepipeline/src/endpoint/ruleset.ts index c98637b2ff9de..0c276a5a84218 100644 --- a/clients/client-codepipeline/src/endpoint/ruleset.ts +++ b/clients/client-codepipeline/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://codepipeline-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://codepipeline-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://codepipeline.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://codepipeline.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://codepipeline-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://codepipeline-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://codepipeline.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://codepipeline.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-codestar-connections/src/endpoint/ruleset.ts b/clients/client-codestar-connections/src/endpoint/ruleset.ts index ad44a0e906c63..5d36cd62f7943 100644 --- a/clients/client-codestar-connections/src/endpoint/ruleset.ts +++ b/clients/client-codestar-connections/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://codestar-connections-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://codestar-connections-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://codestar-connections.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://codestar-connections.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://codestar-connections-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://codestar-connections-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://codestar-connections.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://codestar-connections.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-codestar-notifications/README.md b/clients/client-codestar-notifications/README.md index 6770df867207a..be3e1e1f333ac 100644 --- a/clients/client-codestar-notifications/README.md +++ b/clients/client-codestar-notifications/README.md @@ -9,7 +9,6 @@ AWS SDK for JavaScript CodestarNotifications Client for Node.js, Browser and Rea

                                                                                                                                                                                                                              This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API to work with the following objects:

                                                                                                                                                                                                                              -

                                                                                                                                                                                                                              Notification rules, by calling the following:

                                                                                                                                                                                                                              -

                                                                                                                                                                                                                              Targets, by calling the following:

                                                                                                                                                                                                                              • @@ -58,7 +56,6 @@ notification rule.

                                                                                                                                                                                                                                notification rule.

                                                                                                                                                                                                                              -

                                                                                                                                                                                                                              Events, by calling the following:

                                                                                                                                                                                                                              • @@ -85,7 +82,6 @@ notification rule in your account.

                                                                                                                                                                                                                                your account.

                                                                                                                                                                                                                              -

                                                                                                                                                                                                                              For information about how to use AWS CodeStar Notifications, see the Amazon Web Services Developer Tools Console User Guide.

                                                                                                                                                                                                                              diff --git a/clients/client-codestar-notifications/src/CodestarNotifications.ts b/clients/client-codestar-notifications/src/CodestarNotifications.ts index a7b9b670b128b..e78ef3e7bf5f6 100644 --- a/clients/client-codestar-notifications/src/CodestarNotifications.ts +++ b/clients/client-codestar-notifications/src/CodestarNotifications.ts @@ -258,7 +258,6 @@ export interface CodestarNotifications { *

                                                                                                                                                                                                                              This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the * operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API * to work with the following objects:

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              Notification rules, by calling the following:

                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • @@ -293,7 +292,6 @@ export interface CodestarNotifications { * Unsubscribe, which removes a target from a notification rule.

                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              Targets, by calling the following:

                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • @@ -307,7 +305,6 @@ export interface CodestarNotifications { * notification rule.

                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              Events, by calling the following:

                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • @@ -334,10 +331,7 @@ export interface CodestarNotifications { * your account.

                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                              - * - * - * - *

                                                                                                                                                                                                                              For information about how to use AWS CodeStar Notifications, see the Amazon Web Services Developer Tools Console User Guide. + *

                                                                                                                                                                                                                              For information about how to use AWS CodeStar Notifications, see the Amazon Web Services Developer Tools Console User Guide. *

                                                                                                                                                                                                                              */ export class CodestarNotifications extends CodestarNotificationsClient implements CodestarNotifications {} diff --git a/clients/client-codestar-notifications/src/CodestarNotificationsClient.ts b/clients/client-codestar-notifications/src/CodestarNotificationsClient.ts index fe68910bc84a7..43cce9b0fc005 100644 --- a/clients/client-codestar-notifications/src/CodestarNotificationsClient.ts +++ b/clients/client-codestar-notifications/src/CodestarNotificationsClient.ts @@ -301,7 +301,6 @@ export interface CodestarNotificationsClientResolvedConfig extends CodestarNotif *

                                                                                                                                                                                                                              This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the * operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API * to work with the following objects:

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              Notification rules, by calling the following:

                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • @@ -336,7 +335,6 @@ export interface CodestarNotificationsClientResolvedConfig extends CodestarNotif * Unsubscribe, which removes a target from a notification rule.

                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              Targets, by calling the following:

                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • @@ -350,7 +348,6 @@ export interface CodestarNotificationsClientResolvedConfig extends CodestarNotif * notification rule.

                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              Events, by calling the following:

                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • @@ -377,10 +374,7 @@ export interface CodestarNotificationsClientResolvedConfig extends CodestarNotif * your account.

                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                              - * - * - * - *

                                                                                                                                                                                                                              For information about how to use AWS CodeStar Notifications, see the Amazon Web Services Developer Tools Console User Guide. + *

                                                                                                                                                                                                                              For information about how to use AWS CodeStar Notifications, see the Amazon Web Services Developer Tools Console User Guide. *

                                                                                                                                                                                                                              */ export class CodestarNotificationsClient extends __Client< diff --git a/clients/client-codestar-notifications/src/endpoint/ruleset.ts b/clients/client-codestar-notifications/src/endpoint/ruleset.ts index a4bf38727d85e..1334e005889b2 100644 --- a/clients/client-codestar-notifications/src/endpoint/ruleset.ts +++ b/clients/client-codestar-notifications/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/codestar-notifications.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://codestar-notifications-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://codestar-notifications-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://codestar-notifications.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://codestar-notifications.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://codestar-notifications-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://codestar-notifications-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://codestar-notifications.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://codestar-notifications.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-codestar-notifications/src/index.ts b/clients/client-codestar-notifications/src/index.ts index 2685f7caf8e54..176c6e89b5c95 100644 --- a/clients/client-codestar-notifications/src/index.ts +++ b/clients/client-codestar-notifications/src/index.ts @@ -4,7 +4,6 @@ *

                                                                                                                                                                                                                              This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the * operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API * to work with the following objects:

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              Notification rules, by calling the following:

                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • @@ -39,7 +38,6 @@ * Unsubscribe, which removes a target from a notification rule.

                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              Targets, by calling the following:

                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • @@ -53,7 +51,6 @@ * notification rule.

                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              Events, by calling the following:

                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • @@ -80,10 +77,7 @@ * your account.

                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                              - * - * - * - *

                                                                                                                                                                                                                              For information about how to use AWS CodeStar Notifications, see the Amazon Web Services Developer Tools Console User Guide. + *

                                                                                                                                                                                                                              For information about how to use AWS CodeStar Notifications, see the Amazon Web Services Developer Tools Console User Guide. *

                                                                                                                                                                                                                              * * @packageDocumentation diff --git a/clients/client-codestar-notifications/src/models/models_0.ts b/clients/client-codestar-notifications/src/models/models_0.ts index 179de114deeed..29eaca1e9836e 100644 --- a/clients/client-codestar-notifications/src/models/models_0.ts +++ b/clients/client-codestar-notifications/src/models/models_0.ts @@ -170,10 +170,10 @@ export interface CreateNotificationRuleRequest { * the request cannot be repeated with a changed parameter. If a request with the same * parameters is received and a token is included, the request returns information about * the initial request that used that token.

                                                                                                                                                                                                                              - * + * *

                                                                                                                                                                                                                              The Amazon Web Services SDKs prepopulate client request tokens. If you are using an Amazon Web Services SDK, an * idempotency token is created for you.

                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                              */ ClientRequestToken?: string; diff --git a/clients/client-codestar/src/endpoint/ruleset.ts b/clients/client-codestar/src/endpoint/ruleset.ts index 1d314f68bacbf..1e1231002ee46 100644 --- a/clients/client-codestar/src/endpoint/ruleset.ts +++ b/clients/client-codestar/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/codestar.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://codestar-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://codestar-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://codestar.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://codestar.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://codestar-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://codestar-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://codestar.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://codestar.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-cognito-identity/src/commands/DeleteIdentitiesCommand.ts b/clients/client-cognito-identity/src/commands/DeleteIdentitiesCommand.ts index 421769fbefb79..8655baa0f6de5 100644 --- a/clients/client-cognito-identity/src/commands/DeleteIdentitiesCommand.ts +++ b/clients/client-cognito-identity/src/commands/DeleteIdentitiesCommand.ts @@ -57,7 +57,7 @@ export interface DeleteIdentitiesCommandOutput extends DeleteIdentitiesResponse, * // UnprocessedIdentityIds: [ // UnprocessedIdentityIdList * // { // UnprocessedIdentityId * // IdentityId: "STRING_VALUE", - * // ErrorCode: "STRING_VALUE", + * // ErrorCode: "AccessDenied" || "InternalServerError", * // }, * // ], * // }; diff --git a/clients/client-cognito-identity/src/commands/GetIdentityPoolRolesCommand.ts b/clients/client-cognito-identity/src/commands/GetIdentityPoolRolesCommand.ts index 38d506623367a..e96cbc5afb33e 100644 --- a/clients/client-cognito-identity/src/commands/GetIdentityPoolRolesCommand.ts +++ b/clients/client-cognito-identity/src/commands/GetIdentityPoolRolesCommand.ts @@ -57,13 +57,13 @@ export interface GetIdentityPoolRolesCommandOutput extends GetIdentityPoolRolesR * // }, * // RoleMappings: { // RoleMappingMap * // "": { // RoleMapping - * // Type: "STRING_VALUE", // required - * // AmbiguousRoleResolution: "STRING_VALUE", + * // Type: "Token" || "Rules", // required + * // AmbiguousRoleResolution: "AuthenticatedRole" || "Deny", * // RulesConfiguration: { // RulesConfigurationType * // Rules: [ // MappingRulesList // required * // { // MappingRule * // Claim: "STRING_VALUE", // required - * // MatchType: "STRING_VALUE", // required + * // MatchType: "Equals" || "Contains" || "StartsWith" || "NotEqual", // required * // Value: "STRING_VALUE", // required * // RoleARN: "STRING_VALUE", // required * // }, diff --git a/clients/client-cognito-identity/src/commands/SetIdentityPoolRolesCommand.ts b/clients/client-cognito-identity/src/commands/SetIdentityPoolRolesCommand.ts index 43b3d8857fff0..0a6e8e517e6e1 100644 --- a/clients/client-cognito-identity/src/commands/SetIdentityPoolRolesCommand.ts +++ b/clients/client-cognito-identity/src/commands/SetIdentityPoolRolesCommand.ts @@ -52,13 +52,13 @@ export interface SetIdentityPoolRolesCommandOutput extends __MetadataBearer {} * }, * RoleMappings: { // RoleMappingMap * "": { // RoleMapping - * Type: "STRING_VALUE", // required - * AmbiguousRoleResolution: "STRING_VALUE", + * Type: "Token" || "Rules", // required + * AmbiguousRoleResolution: "AuthenticatedRole" || "Deny", * RulesConfiguration: { // RulesConfigurationType * Rules: [ // MappingRulesList // required * { // MappingRule * Claim: "STRING_VALUE", // required - * MatchType: "STRING_VALUE", // required + * MatchType: "Equals" || "Contains" || "StartsWith" || "NotEqual", // required * Value: "STRING_VALUE", // required * RoleARN: "STRING_VALUE", // required * }, diff --git a/clients/client-cognito-identity/src/endpoint/ruleset.ts b/clients/client-cognito-identity/src/endpoint/ruleset.ts index 8839e6078da3c..8eefb31afa688 100644 --- a/clients/client-cognito-identity/src/endpoint/ruleset.ts +++ b/clients/client-cognito-identity/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/cognito-identity.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://cognito-identity-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cognito-identity-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://cognito-identity-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://cognito-identity-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-cognito-sync/src/commands/GetBulkPublishDetailsCommand.ts b/clients/client-cognito-sync/src/commands/GetBulkPublishDetailsCommand.ts index 8a8004d5db539..4d233c7582177 100644 --- a/clients/client-cognito-sync/src/commands/GetBulkPublishDetailsCommand.ts +++ b/clients/client-cognito-sync/src/commands/GetBulkPublishDetailsCommand.ts @@ -52,7 +52,7 @@ export interface GetBulkPublishDetailsCommandOutput extends GetBulkPublishDetail * // IdentityPoolId: "STRING_VALUE", * // BulkPublishStartTime: new Date("TIMESTAMP"), * // BulkPublishCompleteTime: new Date("TIMESTAMP"), - * // BulkPublishStatus: "STRING_VALUE", + * // BulkPublishStatus: "NOT_STARTED" || "IN_PROGRESS" || "FAILED" || "SUCCEEDED", * // FailureMessage: "STRING_VALUE", * // }; * diff --git a/clients/client-cognito-sync/src/commands/GetIdentityPoolConfigurationCommand.ts b/clients/client-cognito-sync/src/commands/GetIdentityPoolConfigurationCommand.ts index a13fe49fc4b2a..dc9a26660b9a8 100644 --- a/clients/client-cognito-sync/src/commands/GetIdentityPoolConfigurationCommand.ts +++ b/clients/client-cognito-sync/src/commands/GetIdentityPoolConfigurationCommand.ts @@ -110,7 +110,7 @@ export interface GetIdentityPoolConfigurationCommandOutput * // CognitoStreams: { // CognitoStreams * // StreamName: "STRING_VALUE", * // RoleArn: "STRING_VALUE", - * // StreamingStatus: "STRING_VALUE", + * // StreamingStatus: "ENABLED" || "DISABLED", * // }, * // }; * diff --git a/clients/client-cognito-sync/src/commands/RegisterDeviceCommand.ts b/clients/client-cognito-sync/src/commands/RegisterDeviceCommand.ts index e976672d3c348..8bde4e9b8495b 100644 --- a/clients/client-cognito-sync/src/commands/RegisterDeviceCommand.ts +++ b/clients/client-cognito-sync/src/commands/RegisterDeviceCommand.ts @@ -90,7 +90,7 @@ export interface RegisterDeviceCommandOutput extends RegisterDeviceResponse, __M * const input = { // RegisterDeviceRequest * IdentityPoolId: "STRING_VALUE", // required * IdentityId: "STRING_VALUE", // required - * Platform: "STRING_VALUE", // required + * Platform: "APNS" || "APNS_SANDBOX" || "GCM" || "ADM", // required * Token: "STRING_VALUE", // required * }; * const command = new RegisterDeviceCommand(input); diff --git a/clients/client-cognito-sync/src/commands/SetIdentityPoolConfigurationCommand.ts b/clients/client-cognito-sync/src/commands/SetIdentityPoolConfigurationCommand.ts index 9f11e319150dc..e1054470c30e1 100644 --- a/clients/client-cognito-sync/src/commands/SetIdentityPoolConfigurationCommand.ts +++ b/clients/client-cognito-sync/src/commands/SetIdentityPoolConfigurationCommand.ts @@ -109,7 +109,7 @@ export interface SetIdentityPoolConfigurationCommandOutput * CognitoStreams: { // CognitoStreams * StreamName: "STRING_VALUE", * RoleArn: "STRING_VALUE", - * StreamingStatus: "STRING_VALUE", + * StreamingStatus: "ENABLED" || "DISABLED", * }, * }; * const command = new SetIdentityPoolConfigurationCommand(input); @@ -125,7 +125,7 @@ export interface SetIdentityPoolConfigurationCommandOutput * // CognitoStreams: { // CognitoStreams * // StreamName: "STRING_VALUE", * // RoleArn: "STRING_VALUE", - * // StreamingStatus: "STRING_VALUE", + * // StreamingStatus: "ENABLED" || "DISABLED", * // }, * // }; * diff --git a/clients/client-cognito-sync/src/commands/UpdateRecordsCommand.ts b/clients/client-cognito-sync/src/commands/UpdateRecordsCommand.ts index 6de99d9ca711c..22fb32465b82f 100644 --- a/clients/client-cognito-sync/src/commands/UpdateRecordsCommand.ts +++ b/clients/client-cognito-sync/src/commands/UpdateRecordsCommand.ts @@ -52,7 +52,7 @@ export interface UpdateRecordsCommandOutput extends UpdateRecordsResponse, __Met * DeviceId: "STRING_VALUE", * RecordPatches: [ // RecordPatchList * { // RecordPatch - * Op: "STRING_VALUE", // required + * Op: "replace" || "remove", // required * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", * SyncCount: Number("long"), // required diff --git a/clients/client-cognito-sync/src/endpoint/ruleset.ts b/clients/client-cognito-sync/src/endpoint/ruleset.ts index e7bd0c4bbb1af..bb998d174f63d 100644 --- a/clients/client-cognito-sync/src/endpoint/ruleset.ts +++ b/clients/client-cognito-sync/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/cognito-sync.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://cognito-sync-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cognito-sync-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://cognito-sync.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://cognito-sync.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://cognito-sync-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://cognito-sync-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://cognito-sync.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://cognito-sync.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-cognito-sync/src/models/models_0.ts b/clients/client-cognito-sync/src/models/models_0.ts index 5ac855779f046..252f56b9eac03 100644 --- a/clients/client-cognito-sync/src/models/models_0.ts +++ b/clients/client-cognito-sync/src/models/models_0.ts @@ -608,8 +608,17 @@ export interface GetIdentityPoolConfigurationRequest { /** * @public + * @enum */ -export type StreamingStatus = "DISABLED" | "ENABLED"; +export const StreamingStatus = { + DISABLED: "DISABLED", + ENABLED: "ENABLED", +} as const; + +/** + * @public + */ +export type StreamingStatus = (typeof StreamingStatus)[keyof typeof StreamingStatus]; /** * @public @@ -988,10 +997,21 @@ export class InvalidConfigurationException extends __BaseException { } } +/** + * @public + * @enum + */ +export const Platform = { + ADM: "ADM", + APNS: "APNS", + APNS_SANDBOX: "APNS_SANDBOX", + GCM: "GCM", +} as const; + /** * @public */ -export type Platform = "ADM" | "APNS" | "APNS_SANDBOX" | "GCM"; +export type Platform = (typeof Platform)[keyof typeof Platform]; /** * @public @@ -1259,10 +1279,19 @@ export class LimitExceededException extends __BaseException { } } +/** + * @public + * @enum + */ +export const Operation = { + remove: "remove", + replace: "replace", +} as const; + /** * @public */ -export type Operation = "remove" | "replace"; +export type Operation = (typeof Operation)[keyof typeof Operation]; /** * @public diff --git a/clients/client-comprehend/src/endpoint/ruleset.ts b/clients/client-comprehend/src/endpoint/ruleset.ts index b2cf91fe6a5a0..0e3949e6ef7b0 100644 --- a/clients/client-comprehend/src/endpoint/ruleset.ts +++ b/clients/client-comprehend/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://comprehend-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://comprehend-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://comprehend.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://comprehend.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://comprehend-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://comprehend-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://comprehend.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://comprehend.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-comprehendmedical/src/endpoint/ruleset.ts b/clients/client-comprehendmedical/src/endpoint/ruleset.ts index 44af2049e1eec..7ec79211cc793 100644 --- a/clients/client-comprehendmedical/src/endpoint/ruleset.ts +++ b/clients/client-comprehendmedical/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://comprehendmedical-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://comprehendmedical-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://comprehendmedical.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://comprehendmedical.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://comprehendmedical-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://comprehendmedical-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://comprehendmedical.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://comprehendmedical.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-connect-contact-lens/src/commands/ListRealtimeContactAnalysisSegmentsCommand.ts b/clients/client-connect-contact-lens/src/commands/ListRealtimeContactAnalysisSegmentsCommand.ts index d548587d87bf6..4d6b1db452cf8 100644 --- a/clients/client-connect-contact-lens/src/commands/ListRealtimeContactAnalysisSegmentsCommand.ts +++ b/clients/client-connect-contact-lens/src/commands/ListRealtimeContactAnalysisSegmentsCommand.ts @@ -73,7 +73,7 @@ export interface ListRealtimeContactAnalysisSegmentsCommandOutput * // Content: "STRING_VALUE", // required * // BeginOffsetMillis: Number("int"), // required * // EndOffsetMillis: Number("int"), // required - * // Sentiment: "STRING_VALUE", // required + * // Sentiment: "POSITIVE" || "NEUTRAL" || "NEGATIVE", // required * // IssuesDetected: [ // IssuesDetected * // { // IssueDetected * // CharacterOffsets: { // CharacterOffsets diff --git a/clients/client-connect-contact-lens/src/endpoint/ruleset.ts b/clients/client-connect-contact-lens/src/endpoint/ruleset.ts index 0f9b76cf60830..70d81b2768451 100644 --- a/clients/client-connect-contact-lens/src/endpoint/ruleset.ts +++ b/clients/client-connect-contact-lens/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/connect-contact-lens.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://contact-lens-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://contact-lens-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://contact-lens.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://contact-lens.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://contact-lens-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://contact-lens-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://contact-lens.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://contact-lens.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-controltower/src/endpoint/ruleset.ts b/clients/client-controltower/src/endpoint/ruleset.ts index 29a51b64c3f87..480cd2129a47f 100644 --- a/clients/client-controltower/src/endpoint/ruleset.ts +++ b/clients/client-controltower/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/controltower.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://controltower-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://controltower-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://controltower.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://controltower.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://controltower-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://controltower-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://controltower.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://controltower.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-cost-and-usage-report-service/src/endpoint/ruleset.ts b/clients/client-cost-and-usage-report-service/src/endpoint/ruleset.ts index fb6baa9c50ab3..4a52c6ce3a932 100644 --- a/clients/client-cost-and-usage-report-service/src/endpoint/ruleset.ts +++ b/clients/client-cost-and-usage-report-service/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cur-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cur-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cur.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://cur.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://cur-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://cur-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://cur.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://cur.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-data-pipeline/src/commands/QueryObjectsCommand.ts b/clients/client-data-pipeline/src/commands/QueryObjectsCommand.ts index 7ede0a12fb227..05a1786802fc0 100644 --- a/clients/client-data-pipeline/src/commands/QueryObjectsCommand.ts +++ b/clients/client-data-pipeline/src/commands/QueryObjectsCommand.ts @@ -88,7 +88,7 @@ export interface QueryObjectsCommandOutput extends QueryObjectsOutput, __Metadat * { // Selector * fieldName: "STRING_VALUE", * operator: { // Operator - * type: "STRING_VALUE", + * type: "EQ" || "REF_EQ" || "LE" || "GE" || "BETWEEN", * values: [ // stringList * "STRING_VALUE", * ], diff --git a/clients/client-data-pipeline/src/commands/SetTaskStatusCommand.ts b/clients/client-data-pipeline/src/commands/SetTaskStatusCommand.ts index 5fe11f5683c32..04271e8d23abe 100644 --- a/clients/client-data-pipeline/src/commands/SetTaskStatusCommand.ts +++ b/clients/client-data-pipeline/src/commands/SetTaskStatusCommand.ts @@ -75,7 +75,7 @@ export interface SetTaskStatusCommandOutput extends SetTaskStatusOutput, __Metad * const client = new DataPipelineClient(config); * const input = { // SetTaskStatusInput * taskId: "STRING_VALUE", // required - * taskStatus: "STRING_VALUE", // required + * taskStatus: "FINISHED" || "FAILED" || "FALSE", // required * errorId: "STRING_VALUE", * errorMessage: "STRING_VALUE", * errorStackTrace: "STRING_VALUE", diff --git a/clients/client-data-pipeline/src/endpoint/ruleset.ts b/clients/client-data-pipeline/src/endpoint/ruleset.ts index 52d7d14fc4f8f..cf8a8bd300afd 100644 --- a/clients/client-data-pipeline/src/endpoint/ruleset.ts +++ b/clients/client-data-pipeline/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/data-pipeline.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://datapipeline-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://datapipeline-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://datapipeline.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://datapipeline.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://datapipeline-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://datapipeline-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://datapipeline.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://datapipeline.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-databrew/src/endpoint/EndpointParameters.ts b/clients/client-databrew/src/endpoint/EndpointParameters.ts index 90118c2bac96a..d91276629a106 100644 --- a/clients/client-databrew/src/endpoint/EndpointParameters.ts +++ b/clients/client-databrew/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-databrew/src/endpoint/ruleset.ts b/clients/client-databrew/src/endpoint/ruleset.ts index 5d6fa92c3d53e..9c1620c571d7b 100644 --- a/clients/client-databrew/src/endpoint/ruleset.ts +++ b/clients/client-databrew/src/endpoint/ruleset.ts @@ -6,25 +6,26 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/databrew.json */ -const r="fn", -s="argv", -t="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h={"required":true,"default":false,"type":"Boolean"}, -i={[t]:"Region"}, -j={[t]:"Endpoint"}, -k={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, -l={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, -m={}, -n={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:d},"supportsFIPS"]}]}, -o={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:d},"supportsDualStack"]}]}, -p=[k], +const r="required", +s="fn", +t="argv", +u="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f={[r]:false,"type":"String"}, +g={[r]:true,"default":false,"type":"Boolean"}, +h={[u]:"Endpoint"}, +i={[s]:"booleanEquals",[t]:[{[u]:"UseFIPS"},true]}, +j={[s]:"booleanEquals",[t]:[{[u]:"UseDualStack"},true]}, +k={}, +l={[u]:"Region"}, +m={[s]:"booleanEquals",[t]:[true,{[s]:"getAttr",[t]:[{[u]:e},"supportsFIPS"]}]}, +n={[s]:"booleanEquals",[t]:[true,{[s]:"getAttr",[t]:[{[u]:e},"supportsDualStack"]}]}, +o=[i], +p=[j], q=[l]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[r]:"aws.partition",[s]:[i],assign:d}],type:e,rules:[{conditions:[{[r]:"isSet",[s]:[j]}],type:e,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:j,properties:m,headers:m},type:g}]}]},{conditions:[k,l],type:e,rules:[{conditions:[n,o],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://databrew-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:g}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:p,type:e,rules:[{conditions:[n],type:e,rules:[{type:e,rules:[{conditions:[{[r]:"stringEquals",[s]:[i,"us-gov-west-1"]}],endpoint:{url:"https://databrew.us-gov-west-1.amazonaws.com",properties:m,headers:m},type:g},{endpoint:{url:"https://databrew-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:q,type:e,rules:[{conditions:[o],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://databrew.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:g}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{type:e,rules:[{endpoint:{url:"https://databrew.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:g}]}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[s]:a,[t]:[h]}],type:b,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[s]:a,[t]:q}],type:b,rules:[{conditions:[{[s]:"aws.partition",[t]:q,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[m,n],type:b,rules:[{endpoint:{url:"https://databrew-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[s]:"stringEquals",[t]:[l,"us-gov-west-1"]}],endpoint:{url:"https://databrew.us-gov-west-1.amazonaws.com",properties:k,headers:k},type:d},{endpoint:{url:"https://databrew-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:p,type:b,rules:[{conditions:[n],type:b,rules:[{endpoint:{url:"https://databrew.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://databrew.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-dataexchange/src/endpoint/ruleset.ts b/clients/client-dataexchange/src/endpoint/ruleset.ts index efce31cf739bc..b8a589b0341d9 100644 --- a/clients/client-dataexchange/src/endpoint/ruleset.ts +++ b/clients/client-dataexchange/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://dataexchange-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://dataexchange-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://dataexchange.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://dataexchange.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://dataexchange-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://dataexchange-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://dataexchange.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://dataexchange.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-dax/src/commands/CreateClusterCommand.ts b/clients/client-dax/src/commands/CreateClusterCommand.ts index d37952f47d94b..b0c4417a952ad 100644 --- a/clients/client-dax/src/commands/CreateClusterCommand.ts +++ b/clients/client-dax/src/commands/CreateClusterCommand.ts @@ -68,7 +68,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met * SSESpecification: { // SSESpecification * Enabled: true || false, // required * }, - * ClusterEndpointEncryptionType: "STRING_VALUE", + * ClusterEndpointEncryptionType: "NONE" || "TLS", * }; * const command = new CreateClusterCommand(input); * const response = await client.send(command); @@ -124,9 +124,9 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met * // ], * // }, * // SSEDescription: { // SSEDescription - * // Status: "STRING_VALUE", + * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED", * // }, - * // ClusterEndpointEncryptionType: "STRING_VALUE", + * // ClusterEndpointEncryptionType: "NONE" || "TLS", * // }, * // }; * diff --git a/clients/client-dax/src/commands/DecreaseReplicationFactorCommand.ts b/clients/client-dax/src/commands/DecreaseReplicationFactorCommand.ts index 4b971dcebcc0b..369b361f270f5 100644 --- a/clients/client-dax/src/commands/DecreaseReplicationFactorCommand.ts +++ b/clients/client-dax/src/commands/DecreaseReplicationFactorCommand.ts @@ -110,9 +110,9 @@ export interface DecreaseReplicationFactorCommandOutput extends DecreaseReplicat * // ], * // }, * // SSEDescription: { // SSEDescription - * // Status: "STRING_VALUE", + * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED", * // }, - * // ClusterEndpointEncryptionType: "STRING_VALUE", + * // ClusterEndpointEncryptionType: "NONE" || "TLS", * // }, * // }; * diff --git a/clients/client-dax/src/commands/DeleteClusterCommand.ts b/clients/client-dax/src/commands/DeleteClusterCommand.ts index a9add68a5558e..78a4ef70b93c6 100644 --- a/clients/client-dax/src/commands/DeleteClusterCommand.ts +++ b/clients/client-dax/src/commands/DeleteClusterCommand.ts @@ -104,9 +104,9 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met * // ], * // }, * // SSEDescription: { // SSEDescription - * // Status: "STRING_VALUE", + * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED", * // }, - * // ClusterEndpointEncryptionType: "STRING_VALUE", + * // ClusterEndpointEncryptionType: "NONE" || "TLS", * // }, * // }; * diff --git a/clients/client-dax/src/commands/DescribeClustersCommand.ts b/clients/client-dax/src/commands/DescribeClustersCommand.ts index 3ece01b9995ee..8e110a3ec9b24 100644 --- a/clients/client-dax/src/commands/DescribeClustersCommand.ts +++ b/clients/client-dax/src/commands/DescribeClustersCommand.ts @@ -118,9 +118,9 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse, * // ], * // }, * // SSEDescription: { // SSEDescription - * // Status: "STRING_VALUE", + * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED", * // }, - * // ClusterEndpointEncryptionType: "STRING_VALUE", + * // ClusterEndpointEncryptionType: "NONE" || "TLS", * // }, * // ], * // }; diff --git a/clients/client-dax/src/commands/DescribeDefaultParametersCommand.ts b/clients/client-dax/src/commands/DescribeDefaultParametersCommand.ts index 05190f431661e..1b6561a32a44a 100644 --- a/clients/client-dax/src/commands/DescribeDefaultParametersCommand.ts +++ b/clients/client-dax/src/commands/DescribeDefaultParametersCommand.ts @@ -55,7 +55,7 @@ export interface DescribeDefaultParametersCommandOutput extends DescribeDefaultP * // Parameters: [ // ParameterList * // { // Parameter * // ParameterName: "STRING_VALUE", - * // ParameterType: "STRING_VALUE", + * // ParameterType: "DEFAULT" || "NODE_TYPE_SPECIFIC", * // ParameterValue: "STRING_VALUE", * // NodeTypeSpecificValues: [ // NodeTypeSpecificValueList * // { // NodeTypeSpecificValue @@ -67,8 +67,8 @@ export interface DescribeDefaultParametersCommandOutput extends DescribeDefaultP * // Source: "STRING_VALUE", * // DataType: "STRING_VALUE", * // AllowedValues: "STRING_VALUE", - * // IsModifiable: "STRING_VALUE", - * // ChangeType: "STRING_VALUE", + * // IsModifiable: "TRUE" || "FALSE" || "CONDITIONAL", + * // ChangeType: "IMMEDIATE" || "REQUIRES_REBOOT", * // }, * // ], * // }; diff --git a/clients/client-dax/src/commands/DescribeEventsCommand.ts b/clients/client-dax/src/commands/DescribeEventsCommand.ts index d3fcfd1c184cf..cc0e1df8bb333 100644 --- a/clients/client-dax/src/commands/DescribeEventsCommand.ts +++ b/clients/client-dax/src/commands/DescribeEventsCommand.ts @@ -49,7 +49,7 @@ export interface DescribeEventsCommandOutput extends DescribeEventsResponse, __M * const client = new DAXClient(config); * const input = { // DescribeEventsRequest * SourceName: "STRING_VALUE", - * SourceType: "STRING_VALUE", + * SourceType: "CLUSTER" || "PARAMETER_GROUP" || "SUBNET_GROUP", * StartTime: new Date("TIMESTAMP"), * EndTime: new Date("TIMESTAMP"), * Duration: Number("int"), @@ -63,7 +63,7 @@ export interface DescribeEventsCommandOutput extends DescribeEventsResponse, __M * // Events: [ // EventList * // { // Event * // SourceName: "STRING_VALUE", - * // SourceType: "STRING_VALUE", + * // SourceType: "CLUSTER" || "PARAMETER_GROUP" || "SUBNET_GROUP", * // Message: "STRING_VALUE", * // Date: new Date("TIMESTAMP"), * // }, diff --git a/clients/client-dax/src/commands/DescribeParametersCommand.ts b/clients/client-dax/src/commands/DescribeParametersCommand.ts index 24fac19151ee9..b134d290a43be 100644 --- a/clients/client-dax/src/commands/DescribeParametersCommand.ts +++ b/clients/client-dax/src/commands/DescribeParametersCommand.ts @@ -56,7 +56,7 @@ export interface DescribeParametersCommandOutput extends DescribeParametersRespo * // Parameters: [ // ParameterList * // { // Parameter * // ParameterName: "STRING_VALUE", - * // ParameterType: "STRING_VALUE", + * // ParameterType: "DEFAULT" || "NODE_TYPE_SPECIFIC", * // ParameterValue: "STRING_VALUE", * // NodeTypeSpecificValues: [ // NodeTypeSpecificValueList * // { // NodeTypeSpecificValue @@ -68,8 +68,8 @@ export interface DescribeParametersCommandOutput extends DescribeParametersRespo * // Source: "STRING_VALUE", * // DataType: "STRING_VALUE", * // AllowedValues: "STRING_VALUE", - * // IsModifiable: "STRING_VALUE", - * // ChangeType: "STRING_VALUE", + * // IsModifiable: "TRUE" || "FALSE" || "CONDITIONAL", + * // ChangeType: "IMMEDIATE" || "REQUIRES_REBOOT", * // }, * // ], * // }; diff --git a/clients/client-dax/src/commands/IncreaseReplicationFactorCommand.ts b/clients/client-dax/src/commands/IncreaseReplicationFactorCommand.ts index 1a7a14ccffffd..e9595494a592f 100644 --- a/clients/client-dax/src/commands/IncreaseReplicationFactorCommand.ts +++ b/clients/client-dax/src/commands/IncreaseReplicationFactorCommand.ts @@ -104,9 +104,9 @@ export interface IncreaseReplicationFactorCommandOutput extends IncreaseReplicat * // ], * // }, * // SSEDescription: { // SSEDescription - * // Status: "STRING_VALUE", + * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED", * // }, - * // ClusterEndpointEncryptionType: "STRING_VALUE", + * // ClusterEndpointEncryptionType: "NONE" || "TLS", * // }, * // }; * diff --git a/clients/client-dax/src/commands/RebootNodeCommand.ts b/clients/client-dax/src/commands/RebootNodeCommand.ts index 2496f73d1f9d8..362e9e181246c 100644 --- a/clients/client-dax/src/commands/RebootNodeCommand.ts +++ b/clients/client-dax/src/commands/RebootNodeCommand.ts @@ -107,9 +107,9 @@ export interface RebootNodeCommandOutput extends RebootNodeResponse, __MetadataB * // ], * // }, * // SSEDescription: { // SSEDescription - * // Status: "STRING_VALUE", + * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED", * // }, - * // ClusterEndpointEncryptionType: "STRING_VALUE", + * // ClusterEndpointEncryptionType: "NONE" || "TLS", * // }, * // }; * diff --git a/clients/client-dax/src/commands/UpdateClusterCommand.ts b/clients/client-dax/src/commands/UpdateClusterCommand.ts index cd2d11e95b579..3ceb8911471b4 100644 --- a/clients/client-dax/src/commands/UpdateClusterCommand.ts +++ b/clients/client-dax/src/commands/UpdateClusterCommand.ts @@ -110,9 +110,9 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met * // ], * // }, * // SSEDescription: { // SSEDescription - * // Status: "STRING_VALUE", + * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED", * // }, - * // ClusterEndpointEncryptionType: "STRING_VALUE", + * // ClusterEndpointEncryptionType: "NONE" || "TLS", * // }, * // }; * diff --git a/clients/client-dax/src/endpoint/ruleset.ts b/clients/client-dax/src/endpoint/ruleset.ts index 69a6e46996184..b007736908aff 100644 --- a/clients/client-dax/src/endpoint/ruleset.ts +++ b/clients/client-dax/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/dax.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://dax-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://dax-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://dax.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://dax.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://dax-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://dax-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://dax.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://dax.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-dax/src/models/models_0.ts b/clients/client-dax/src/models/models_0.ts index 3b0163638c3c8..2629365103582 100644 --- a/clients/client-dax/src/models/models_0.ts +++ b/clients/client-dax/src/models/models_0.ts @@ -417,10 +417,21 @@ export interface SecurityGroupMembership { Status?: string; } +/** + * @public + * @enum + */ +export const SSEStatus = { + DISABLED: "DISABLED", + DISABLING: "DISABLING", + ENABLED: "ENABLED", + ENABLING: "ENABLING", +} as const; + /** * @public */ -export type SSEStatus = "DISABLED" | "DISABLING" | "ENABLED" | "ENABLING"; +export type SSEStatus = (typeof SSEStatus)[keyof typeof SSEStatus]; /** * @public @@ -1372,13 +1383,32 @@ export interface DescribeDefaultParametersRequest { /** * @public + * @enum + */ +export const ChangeType = { + IMMEDIATE: "IMMEDIATE", + REQUIRES_REBOOT: "REQUIRES_REBOOT", +} as const; + +/** + * @public + */ +export type ChangeType = (typeof ChangeType)[keyof typeof ChangeType]; + +/** + * @public + * @enum */ -export type ChangeType = "IMMEDIATE" | "REQUIRES_REBOOT"; +export const IsModifiable = { + CONDITIONAL: "CONDITIONAL", + FALSE: "FALSE", + TRUE: "TRUE", +} as const; /** * @public */ -export type IsModifiable = "CONDITIONAL" | "FALSE" | "TRUE"; +export type IsModifiable = (typeof IsModifiable)[keyof typeof IsModifiable]; /** * @public @@ -1401,8 +1431,17 @@ export interface NodeTypeSpecificValue { /** * @public + * @enum */ -export type ParameterType = "DEFAULT" | "NODE_TYPE_SPECIFIC"; +export const ParameterType = { + DEFAULT: "DEFAULT", + NODE_TYPE_SPECIFIC: "NODE_TYPE_SPECIFIC", +} as const; + +/** + * @public + */ +export type ParameterType = (typeof ParameterType)[keyof typeof ParameterType]; /** * @public @@ -1492,10 +1531,20 @@ export interface DescribeDefaultParametersResponse { Parameters?: Parameter[]; } +/** + * @public + * @enum + */ +export const SourceType = { + CLUSTER: "CLUSTER", + PARAMETER_GROUP: "PARAMETER_GROUP", + SUBNET_GROUP: "SUBNET_GROUP", +} as const; + /** * @public */ -export type SourceType = "CLUSTER" | "PARAMETER_GROUP" | "SUBNET_GROUP"; +export type SourceType = (typeof SourceType)[keyof typeof SourceType]; /** * @public diff --git a/clients/client-device-farm/src/endpoint/ruleset.ts b/clients/client-device-farm/src/endpoint/ruleset.ts index 70c46c91381d8..371091e2f0854 100644 --- a/clients/client-device-farm/src/endpoint/ruleset.ts +++ b/clients/client-device-farm/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/device-farm.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://devicefarm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://devicefarm-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://devicefarm.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://devicefarm.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://devicefarm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://devicefarm-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://devicefarm.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://devicefarm.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-devops-guru/src/endpoint/ruleset.ts b/clients/client-devops-guru/src/endpoint/ruleset.ts index ee9a2df9bcafd..2d916524ad7d5 100644 --- a/clients/client-devops-guru/src/endpoint/ruleset.ts +++ b/clients/client-devops-guru/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://devops-guru-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://devops-guru-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://devops-guru.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://devops-guru.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://devops-guru-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://devops-guru-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://devops-guru.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://devops-guru.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-direct-connect/src/endpoint/ruleset.ts b/clients/client-direct-connect/src/endpoint/ruleset.ts index a1bbba9320114..24aec0194776e 100644 --- a/clients/client-direct-connect/src/endpoint/ruleset.ts +++ b/clients/client-direct-connect/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://directconnect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://directconnect-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://directconnect.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://directconnect.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://directconnect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://directconnect-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://directconnect.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://directconnect.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-directory-service/src/endpoint/ruleset.ts b/clients/client-directory-service/src/endpoint/ruleset.ts index d9323839fb193..401f7503c5929 100644 --- a/clients/client-directory-service/src/endpoint/ruleset.ts +++ b/clients/client-directory-service/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ds-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ds-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ds.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://ds.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://ds-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://ds-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://ds.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://ds.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-dlm/src/endpoint/ruleset.ts b/clients/client-dlm/src/endpoint/ruleset.ts index bf0804f6d2cd6..2349551678e64 100644 --- a/clients/client-dlm/src/endpoint/ruleset.ts +++ b/clients/client-dlm/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, p=[j], q=[k], r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://dlm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://dlm.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://dlm-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://dlm.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://dlm.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://dlm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://dlm.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://dlm-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://dlm.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://dlm.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-docdb-elastic/src/endpoint/EndpointParameters.ts b/clients/client-docdb-elastic/src/endpoint/EndpointParameters.ts index 1af84fbe1c3bf..77e3c8f8155e3 100644 --- a/clients/client-docdb-elastic/src/endpoint/EndpointParameters.ts +++ b/clients/client-docdb-elastic/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-docdb-elastic/src/endpoint/ruleset.ts b/clients/client-docdb-elastic/src/endpoint/ruleset.ts index 42bd050801410..b87533faad9bb 100644 --- a/clients/client-docdb-elastic/src/endpoint/ruleset.ts +++ b/clients/client-docdb-elastic/src/endpoint/ruleset.ts @@ -6,25 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/docdb-elastic.json */ -const r="fn", +const q="required", +r="fn", s="argv", t="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h={"required":true,"default":false,"type":"Boolean"}, -i={[t]:"Endpoint"}, -j={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, -k={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, -l={}, -m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:d},"supportsFIPS"]}]}, -n={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:d},"supportsDualStack"]}]}, -o=[i], -p=[j], -q=[k]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[r]:"aws.partition",[s]:[{[t]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[r]:"isSet",[s]:o},{[r]:"parseURL",[s]:o,assign:"url"}],type:e,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{endpoint:{url:"https://docdb-elastic-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:p,type:e,rules:[{conditions:[m],type:e,rules:[{endpoint:{url:"https://docdb-elastic-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:q,type:e,rules:[{conditions:[n],type:e,rules:[{endpoint:{url:"https://docdb-elastic.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{endpoint:{url:"https://docdb-elastic.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]}; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://docdb-elastic-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://docdb-elastic-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://docdb-elastic.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://docdb-elastic.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-docdb/src/endpoint/ruleset.ts b/clients/client-docdb/src/endpoint/ruleset.ts index d9f3173d672a0..8527030b58376 100644 --- a/clients/client-docdb/src/endpoint/ruleset.ts +++ b/clients/client-docdb/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, p=[j], q=[k], r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://rds-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://rds.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://rds-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://rds.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://rds.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://rds-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://rds.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://rds-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://rds.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://rds.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-drs/src/endpoint/ruleset.ts b/clients/client-drs/src/endpoint/ruleset.ts index c5699b9f9b5c3..51c332156aefd 100644 --- a/clients/client-drs/src/endpoint/ruleset.ts +++ b/clients/client-drs/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://drs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://drs-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://drs.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://drs.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://drs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://drs-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://drs.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://drs.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-dynamodb-streams/src/endpoint/ruleset.ts b/clients/client-dynamodb-streams/src/endpoint/ruleset.ts index 23376ef3484b2..b18ad92bae584 100644 --- a/clients/client-dynamodb-streams/src/endpoint/ruleset.ts +++ b/clients/client-dynamodb-streams/src/endpoint/ruleset.ts @@ -34,5 +34,5 @@ r={"url":"https://streams.dynamodb.{Region}.amazonaws.com",[A]:{},[B]:{}}, s=[j], t=[k], u=[m]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[x]:a,[y]:[i]}],[w]:b,rules:[{conditions:s,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[w]:c},{[w]:b,rules:[{conditions:t,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[w]:c},{endpoint:{url:i,[A]:l,[B]:l},[w]:d}]}]},{[w]:b,rules:[{conditions:[{[x]:a,[y]:u}],[w]:b,rules:[{conditions:[{[x]:"aws.partition",[y]:u,assign:e}],[w]:b,rules:[{conditions:[j,k],[w]:b,rules:[{conditions:[n,o],[w]:b,rules:[{[w]:b,rules:[{endpoint:{url:"https://streams.dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",[A]:l,[B]:l},[w]:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[w]:c}]},{conditions:s,[w]:b,rules:[{conditions:[n],[w]:b,rules:[{[w]:b,rules:[p,{endpoint:{url:"https://streams.dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}",[A]:l,[B]:l},[w]:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",[w]:c}]},{conditions:t,[w]:b,rules:[{conditions:[o],[w]:b,rules:[{[w]:b,rules:[{endpoint:{url:"https://streams.dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}",[A]:l,[B]:l},[w]:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",[w]:c}]},{[w]:b,rules:[{conditions:[{[x]:f,[y]:[m,"local"]}],endpoint:{url:"http://localhost:8000",[A]:{authSchemes:[{name:"sigv4",signingName:"dynamodb",signingRegion:"us-east-1"}]},[B]:l},[w]:d},{conditions:[{[x]:f,[y]:["aws",q]}],endpoint:r,[w]:d},{conditions:[{[x]:f,[y]:["aws-cn",q]}],endpoint:{url:"https://streams.dynamodb.{Region}.amazonaws.com.cn",[A]:l,[B]:l},[w]:d},p,{conditions:[{[x]:f,[y]:["aws-iso",q]}],endpoint:{url:"https://streams.dynamodb.{Region}.c2s.ic.gov",[A]:l,[B]:l},[w]:d},{conditions:[{[x]:f,[y]:["aws-iso-b",q]}],endpoint:{url:"https://streams.dynamodb.{Region}.sc2s.sgov.gov",[A]:l,[B]:l},[w]:d},{endpoint:{url:"https://streams.dynamodb.{Region}.{PartitionResult#dnsSuffix}",[A]:l,[B]:l},[w]:d}]}]}]},{error:"Invalid Configuration: Missing Region",[w]:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[x]:a,[y]:[i]}],[w]:b,rules:[{conditions:s,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[w]:c},{conditions:t,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[w]:c},{endpoint:{url:i,[A]:l,[B]:l},[w]:d}]},{conditions:[{[x]:a,[y]:u}],[w]:b,rules:[{conditions:[{[x]:"aws.partition",[y]:u,assign:e}],[w]:b,rules:[{conditions:[j,k],[w]:b,rules:[{conditions:[n,o],[w]:b,rules:[{endpoint:{url:"https://streams.dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",[A]:l,[B]:l},[w]:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[w]:c}]},{conditions:s,[w]:b,rules:[{conditions:[n],[w]:b,rules:[p,{endpoint:{url:"https://streams.dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}",[A]:l,[B]:l},[w]:d}]},{error:"FIPS is enabled but this partition does not support FIPS",[w]:c}]},{conditions:t,[w]:b,rules:[{conditions:[o],[w]:b,rules:[{endpoint:{url:"https://streams.dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}",[A]:l,[B]:l},[w]:d}]},{error:"DualStack is enabled but this partition does not support DualStack",[w]:c}]},{conditions:[{[x]:f,[y]:[m,"local"]}],endpoint:{url:"http://localhost:8000",[A]:{authSchemes:[{name:"sigv4",signingName:"dynamodb",signingRegion:"us-east-1"}]},[B]:l},[w]:d},{conditions:[{[x]:f,[y]:["aws",q]}],endpoint:r,[w]:d},{conditions:[{[x]:f,[y]:["aws-cn",q]}],endpoint:{url:"https://streams.dynamodb.{Region}.amazonaws.com.cn",[A]:l,[B]:l},[w]:d},p,{conditions:[{[x]:f,[y]:["aws-iso",q]}],endpoint:{url:"https://streams.dynamodb.{Region}.c2s.ic.gov",[A]:l,[B]:l},[w]:d},{conditions:[{[x]:f,[y]:["aws-iso-b",q]}],endpoint:{url:"https://streams.dynamodb.{Region}.sc2s.sgov.gov",[A]:l,[B]:l},[w]:d},{endpoint:{url:"https://streams.dynamodb.{Region}.{PartitionResult#dnsSuffix}",[A]:l,[B]:l},[w]:d}]}]},{error:"Invalid Configuration: Missing Region",[w]:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-dynamodb/src/endpoint/ruleset.ts b/clients/client-dynamodb/src/endpoint/ruleset.ts index 846945e17c929..0a79fc3457201 100644 --- a/clients/client-dynamodb/src/endpoint/ruleset.ts +++ b/clients/client-dynamodb/src/endpoint/ruleset.ts @@ -30,5 +30,5 @@ q={[v]:"booleanEquals",[w]:[true,{[v]:f,[w]:[p,"supportsDualStack"]}]}, r=[k], s=[l], t=[n]; -const _data={version:"1.0",parameters:{Region:h,UseDualStack:i,UseFIPS:i,Endpoint:h},rules:[{conditions:[{[v]:a,[w]:[j]}],type:b,rules:[{conditions:r,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:s,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:j,properties:m,headers:m},type:d}]}]},{type:b,rules:[{conditions:[{[v]:a,[w]:t}],type:b,rules:[{conditions:[{[v]:"aws.partition",[w]:t,assign:e}],type:b,rules:[{conditions:[k,l],type:b,rules:[{conditions:[o,q],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:r,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{conditions:[{[v]:g,[w]:["aws-us-gov",{[v]:f,[w]:[p,"name"]}]}],endpoint:{url:"https://dynamodb.{Region}.amazonaws.com",properties:m,headers:m},type:d},{endpoint:{url:"https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:s,type:b,rules:[{conditions:[q],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{conditions:[{[v]:g,[w]:[n,"local"]}],endpoint:{url:"http://localhost:8000",properties:{authSchemes:[{name:"sigv4",signingName:"dynamodb",signingRegion:"us-east-1"}]},headers:m},type:d},{endpoint:{url:"https://dynamodb.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:h,UseDualStack:i,UseFIPS:i,Endpoint:h},rules:[{conditions:[{[v]:a,[w]:[j]}],type:b,rules:[{conditions:r,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:s,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:j,properties:m,headers:m},type:d}]},{conditions:[{[v]:a,[w]:t}],type:b,rules:[{conditions:[{[v]:"aws.partition",[w]:t,assign:e}],type:b,rules:[{conditions:[k,l],type:b,rules:[{conditions:[o,q],type:b,rules:[{endpoint:{url:"https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:r,type:b,rules:[{conditions:[o],type:b,rules:[{conditions:[{[v]:g,[w]:["aws-us-gov",{[v]:f,[w]:[p,"name"]}]}],endpoint:{url:"https://dynamodb.{Region}.amazonaws.com",properties:m,headers:m},type:d},{endpoint:{url:"https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:s,type:b,rules:[{conditions:[q],type:b,rules:[{endpoint:{url:"https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{conditions:[{[v]:g,[w]:[n,"local"]}],endpoint:{url:"http://localhost:8000",properties:{authSchemes:[{name:"sigv4",signingName:"dynamodb",signingRegion:"us-east-1"}]},headers:m},type:d},{endpoint:{url:"https://dynamodb.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-ebs/src/endpoint/ruleset.ts b/clients/client-ebs/src/endpoint/ruleset.ts index 3a0c8bc6be06d..e45141accbb32 100644 --- a/clients/client-ebs/src/endpoint/ruleset.ts +++ b/clients/client-ebs/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ebs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ebs-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ebs.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://ebs.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://ebs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://ebs-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://ebs.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://ebs.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-ec2-instance-connect/src/endpoint/ruleset.ts b/clients/client-ec2-instance-connect/src/endpoint/ruleset.ts index 6135d14bb5f45..2a3413ec1c2eb 100644 --- a/clients/client-ec2-instance-connect/src/endpoint/ruleset.ts +++ b/clients/client-ec2-instance-connect/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/ec2-instance-connect.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://ec2-instance-connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://ec2-instance-connect-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://ec2-instance-connect.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://ec2-instance-connect.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://ec2-instance-connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://ec2-instance-connect-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://ec2-instance-connect.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://ec2-instance-connect.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-ecr-public/src/endpoint/ruleset.ts b/clients/client-ecr-public/src/endpoint/ruleset.ts index a94d316b6e44c..95c3faef7fb5b 100644 --- a/clients/client-ecr-public/src/endpoint/ruleset.ts +++ b/clients/client-ecr-public/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://api.ecr-public-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://api.ecr-public-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://api.ecr-public.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://api.ecr-public.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://api.ecr-public-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://api.ecr-public-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://api.ecr-public.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://api.ecr-public.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-ecr/src/ECR.ts b/clients/client-ecr/src/ECR.ts index 79e23d84623f3..8f1871f314597 100644 --- a/clients/client-ecr/src/ECR.ts +++ b/clients/client-ecr/src/ECR.ts @@ -904,13 +904,13 @@ export interface ECR { /** * @public * Amazon Elastic Container Registry - *

                                                                                                                                                                                                                              Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the + *

                                                                                                                                                                                                                              Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the * familiar Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR * provides a secure, scalable, and reliable registry for your Docker or Open Container * Initiative (OCI) images. Amazon ECR supports private repositories with resource-based * permissions using IAM so that specific users or Amazon EC2 instances can access * repositories and images.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              Amazon ECR has service endpoints in each supported Region. For more information, see Amazon ECR endpoints in the + *

                                                                                                                                                                                                                              Amazon ECR has service endpoints in each supported Region. For more information, see Amazon ECR endpoints in the * Amazon Web Services General Reference.

                                                                                                                                                                                                                              */ export class ECR extends ECRClient implements ECR {} diff --git a/clients/client-ecr/src/ECRClient.ts b/clients/client-ecr/src/ECRClient.ts index 81dc78a5b55c5..9d561b7aa64ba 100644 --- a/clients/client-ecr/src/ECRClient.ts +++ b/clients/client-ecr/src/ECRClient.ts @@ -440,13 +440,13 @@ export interface ECRClientResolvedConfig extends ECRClientResolvedConfigType {} /** * @public * Amazon Elastic Container Registry - *

                                                                                                                                                                                                                              Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the + *

                                                                                                                                                                                                                              Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the * familiar Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR * provides a secure, scalable, and reliable registry for your Docker or Open Container * Initiative (OCI) images. Amazon ECR supports private repositories with resource-based * permissions using IAM so that specific users or Amazon EC2 instances can access * repositories and images.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              Amazon ECR has service endpoints in each supported Region. For more information, see Amazon ECR endpoints in the + *

                                                                                                                                                                                                                              Amazon ECR has service endpoints in each supported Region. For more information, see Amazon ECR endpoints in the * Amazon Web Services General Reference.

                                                                                                                                                                                                                              */ export class ECRClient extends __Client< diff --git a/clients/client-ecr/src/commands/BatchCheckLayerAvailabilityCommand.ts b/clients/client-ecr/src/commands/BatchCheckLayerAvailabilityCommand.ts index 48c05ad210e73..a3154c4d70607 100644 --- a/clients/client-ecr/src/commands/BatchCheckLayerAvailabilityCommand.ts +++ b/clients/client-ecr/src/commands/BatchCheckLayerAvailabilityCommand.ts @@ -39,10 +39,10 @@ export interface BatchCheckLayerAvailabilityCommandOutput /** * @public *

                                                                                                                                                                                                                              Checks the availability of one or more image layers in a repository.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              When an image is pushed to a repository, each image layer is checked to verify if it + *

                                                                                                                                                                                                                              When an image is pushed to a repository, each image layer is checked to verify if it * has been uploaded before. If it has been uploaded, then the image layer is * skipped.

                                                                                                                                                                                                                              - * + * *

                                                                                                                                                                                                                              This operation is used by the Amazon ECR proxy and is not generally used by * customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

                                                                                                                                                                                                                              *
                                                                                                                                                                                                                              @@ -65,7 +65,7 @@ export interface BatchCheckLayerAvailabilityCommandOutput * // layers: [ // LayerList * // { // Layer * // layerDigest: "STRING_VALUE", - * // layerAvailability: "STRING_VALUE", + * // layerAvailability: "AVAILABLE" || "UNAVAILABLE", * // layerSize: Number("long"), * // mediaType: "STRING_VALUE", * // }, @@ -73,7 +73,7 @@ export interface BatchCheckLayerAvailabilityCommandOutput * // failures: [ // LayerFailureList * // { // LayerFailure * // layerDigest: "STRING_VALUE", - * // failureCode: "STRING_VALUE", + * // failureCode: "InvalidLayerDigest" || "MissingLayerDigest", * // failureReason: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-ecr/src/commands/BatchDeleteImageCommand.ts b/clients/client-ecr/src/commands/BatchDeleteImageCommand.ts index 8b8a73fb121b7..3dd1848994a2b 100644 --- a/clients/client-ecr/src/commands/BatchDeleteImageCommand.ts +++ b/clients/client-ecr/src/commands/BatchDeleteImageCommand.ts @@ -38,9 +38,9 @@ export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse, * @public *

                                                                                                                                                                                                                              Deletes a list of specified images within a repository. Images are specified with * either an imageTag or imageDigest.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              You can remove a tag from an image by specifying the image's tag in your request. When + *

                                                                                                                                                                                                                              You can remove a tag from an image by specifying the image's tag in your request. When * you remove the last tag from an image, the image is deleted from your repository.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              You can completely delete an image (and all of its tags) by specifying the image's + *

                                                                                                                                                                                                                              You can completely delete an image (and all of its tags) by specifying the image's * digest in your request.

                                                                                                                                                                                                                              * @example * Use a bare-bones client and the command you need to make an API call. @@ -73,7 +73,7 @@ export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse, * // imageDigest: "STRING_VALUE", * // imageTag: "STRING_VALUE", * // }, - * // failureCode: "STRING_VALUE", + * // failureCode: "InvalidImageDigest" || "InvalidImageTag" || "ImageTagDoesNotMatchDigest" || "ImageNotFound" || "MissingDigestAndTag" || "ImageReferencedByManifestList" || "KmsError", * // failureReason: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-ecr/src/commands/BatchGetImageCommand.ts b/clients/client-ecr/src/commands/BatchGetImageCommand.ts index a5ad85df40949..0bdf89b3c609f 100644 --- a/clients/client-ecr/src/commands/BatchGetImageCommand.ts +++ b/clients/client-ecr/src/commands/BatchGetImageCommand.ts @@ -38,7 +38,7 @@ export interface BatchGetImageCommandOutput extends BatchGetImageResponse, __Met * @public *

                                                                                                                                                                                                                              Gets detailed information for an image. Images are specified with either an * imageTag or imageDigest.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              When an image is pulled, the BatchGetImage API is called once to retrieve the image + *

                                                                                                                                                                                                                              When an image is pulled, the BatchGetImage API is called once to retrieve the image * manifest.

                                                                                                                                                                                                                              * @example * Use a bare-bones client and the command you need to make an API call. @@ -80,7 +80,7 @@ export interface BatchGetImageCommandOutput extends BatchGetImageResponse, __Met * // imageDigest: "STRING_VALUE", * // imageTag: "STRING_VALUE", * // }, - * // failureCode: "STRING_VALUE", + * // failureCode: "InvalidImageDigest" || "InvalidImageTag" || "ImageTagDoesNotMatchDigest" || "ImageNotFound" || "MissingDigestAndTag" || "ImageReferencedByManifestList" || "KmsError", * // failureReason: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-ecr/src/commands/BatchGetRepositoryScanningConfigurationCommand.ts b/clients/client-ecr/src/commands/BatchGetRepositoryScanningConfigurationCommand.ts index 451454fed3b44..4f37814f8aebb 100644 --- a/clients/client-ecr/src/commands/BatchGetRepositoryScanningConfigurationCommand.ts +++ b/clients/client-ecr/src/commands/BatchGetRepositoryScanningConfigurationCommand.ts @@ -65,11 +65,11 @@ export interface BatchGetRepositoryScanningConfigurationCommandOutput * // repositoryArn: "STRING_VALUE", * // repositoryName: "STRING_VALUE", * // scanOnPush: true || false, - * // scanFrequency: "STRING_VALUE", + * // scanFrequency: "SCAN_ON_PUSH" || "CONTINUOUS_SCAN" || "MANUAL", * // appliedScanFilters: [ // ScanningRepositoryFilterList * // { // ScanningRepositoryFilter * // filter: "STRING_VALUE", // required - * // filterType: "STRING_VALUE", // required + * // filterType: "WILDCARD", // required * // }, * // ], * // }, @@ -77,7 +77,7 @@ export interface BatchGetRepositoryScanningConfigurationCommandOutput * // failures: [ // RepositoryScanningConfigurationFailureList * // { // RepositoryScanningConfigurationFailure * // repositoryName: "STRING_VALUE", - * // failureCode: "STRING_VALUE", + * // failureCode: "REPOSITORY_NOT_FOUND", * // failureReason: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-ecr/src/commands/CompleteLayerUploadCommand.ts b/clients/client-ecr/src/commands/CompleteLayerUploadCommand.ts index 08cc1231c4080..567bfbe9f1989 100644 --- a/clients/client-ecr/src/commands/CompleteLayerUploadCommand.ts +++ b/clients/client-ecr/src/commands/CompleteLayerUploadCommand.ts @@ -39,9 +39,9 @@ export interface CompleteLayerUploadCommandOutput extends CompleteLayerUploadRes *

                                                                                                                                                                                                                              Informs Amazon ECR that the image layer upload has completed for a specified registry, * repository name, and upload ID. You can optionally provide a sha256 digest * of the image layer for data validation purposes.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              When an image is pushed, the CompleteLayerUpload API is called once per each new image + *

                                                                                                                                                                                                                              When an image is pushed, the CompleteLayerUpload API is called once per each new image * layer to verify that the upload has completed.

                                                                                                                                                                                                                              - * + * *

                                                                                                                                                                                                                              This operation is used by the Amazon ECR proxy and is not generally used by * customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

                                                                                                                                                                                                                              *
                                                                                                                                                                                                                              diff --git a/clients/client-ecr/src/commands/CreateRepositoryCommand.ts b/clients/client-ecr/src/commands/CreateRepositoryCommand.ts index 8928d60a83a8d..fc80fba8b2e74 100644 --- a/clients/client-ecr/src/commands/CreateRepositoryCommand.ts +++ b/clients/client-ecr/src/commands/CreateRepositoryCommand.ts @@ -53,12 +53,12 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResponse, * Value: "STRING_VALUE", * }, * ], - * imageTagMutability: "STRING_VALUE", + * imageTagMutability: "MUTABLE" || "IMMUTABLE", * imageScanningConfiguration: { // ImageScanningConfiguration * scanOnPush: true || false, * }, * encryptionConfiguration: { // EncryptionConfiguration - * encryptionType: "STRING_VALUE", // required + * encryptionType: "AES256" || "KMS", // required * kmsKey: "STRING_VALUE", * }, * }; @@ -71,12 +71,12 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResponse, * // repositoryName: "STRING_VALUE", * // repositoryUri: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), - * // imageTagMutability: "STRING_VALUE", + * // imageTagMutability: "MUTABLE" || "IMMUTABLE", * // imageScanningConfiguration: { // ImageScanningConfiguration * // scanOnPush: true || false, * // }, * // encryptionConfiguration: { // EncryptionConfiguration - * // encryptionType: "STRING_VALUE", // required + * // encryptionType: "AES256" || "KMS", // required * // kmsKey: "STRING_VALUE", * // }, * // }, diff --git a/clients/client-ecr/src/commands/DeleteRepositoryCommand.ts b/clients/client-ecr/src/commands/DeleteRepositoryCommand.ts index e8edd5ec66430..b678f6723b3c0 100644 --- a/clients/client-ecr/src/commands/DeleteRepositoryCommand.ts +++ b/clients/client-ecr/src/commands/DeleteRepositoryCommand.ts @@ -59,12 +59,12 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResponse, * // repositoryName: "STRING_VALUE", * // repositoryUri: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), - * // imageTagMutability: "STRING_VALUE", + * // imageTagMutability: "MUTABLE" || "IMMUTABLE", * // imageScanningConfiguration: { // ImageScanningConfiguration * // scanOnPush: true || false, * // }, * // encryptionConfiguration: { // EncryptionConfiguration - * // encryptionType: "STRING_VALUE", // required + * // encryptionType: "AES256" || "KMS", // required * // kmsKey: "STRING_VALUE", * // }, * // }, diff --git a/clients/client-ecr/src/commands/DescribeImageReplicationStatusCommand.ts b/clients/client-ecr/src/commands/DescribeImageReplicationStatusCommand.ts index 657a8174bf417..03d3c7dcb97b2 100644 --- a/clients/client-ecr/src/commands/DescribeImageReplicationStatusCommand.ts +++ b/clients/client-ecr/src/commands/DescribeImageReplicationStatusCommand.ts @@ -68,7 +68,7 @@ export interface DescribeImageReplicationStatusCommandOutput * // { // ImageReplicationStatus * // region: "STRING_VALUE", * // registryId: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "IN_PROGRESS" || "COMPLETE" || "FAILED", * // failureCode: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-ecr/src/commands/DescribeImageScanFindingsCommand.ts b/clients/client-ecr/src/commands/DescribeImageScanFindingsCommand.ts index 5d61e683f5827..90d950496b6ff 100644 --- a/clients/client-ecr/src/commands/DescribeImageScanFindingsCommand.ts +++ b/clients/client-ecr/src/commands/DescribeImageScanFindingsCommand.ts @@ -63,7 +63,7 @@ export interface DescribeImageScanFindingsCommandOutput extends DescribeImageSca * // imageTag: "STRING_VALUE", * // }, * // imageScanStatus: { // ImageScanStatus - * // status: "STRING_VALUE", + * // status: "IN_PROGRESS" || "COMPLETE" || "FAILED" || "UNSUPPORTED_IMAGE" || "ACTIVE" || "PENDING" || "SCAN_ELIGIBILITY_EXPIRED" || "FINDINGS_UNAVAILABLE", * // description: "STRING_VALUE", * // }, * // imageScanFindings: { // ImageScanFindings @@ -77,7 +77,7 @@ export interface DescribeImageScanFindingsCommandOutput extends DescribeImageSca * // name: "STRING_VALUE", * // description: "STRING_VALUE", * // uri: "STRING_VALUE", - * // severity: "STRING_VALUE", + * // severity: "INFORMATIONAL" || "LOW" || "MEDIUM" || "HIGH" || "CRITICAL" || "UNDEFINED", * // attributes: [ // AttributeList * // { // Attribute * // key: "STRING_VALUE", // required diff --git a/clients/client-ecr/src/commands/DescribeImagesCommand.ts b/clients/client-ecr/src/commands/DescribeImagesCommand.ts index de0bfed0598dd..3fd6031fa2da2 100644 --- a/clients/client-ecr/src/commands/DescribeImagesCommand.ts +++ b/clients/client-ecr/src/commands/DescribeImagesCommand.ts @@ -37,12 +37,12 @@ export interface DescribeImagesCommandOutput extends DescribeImagesResponse, __M /** * @public *

                                                                                                                                                                                                                              Returns metadata about the images in a repository.

                                                                                                                                                                                                                              - * + * *

                                                                                                                                                                                                                              Beginning with Docker version 1.9, the Docker client compresses image layers * before pushing them to a V2 Docker registry. The output of the docker * images command shows the uncompressed image size, so it may return a * larger image size than the image sizes returned by DescribeImages.

                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -61,7 +61,7 @@ export interface DescribeImagesCommandOutput extends DescribeImagesResponse, __M * nextToken: "STRING_VALUE", * maxResults: Number("int"), * filter: { // DescribeImagesFilter - * tagStatus: "STRING_VALUE", + * tagStatus: "TAGGED" || "UNTAGGED" || "ANY", * }, * }; * const command = new DescribeImagesCommand(input); @@ -78,7 +78,7 @@ export interface DescribeImagesCommandOutput extends DescribeImagesResponse, __M * // imageSizeInBytes: Number("long"), * // imagePushedAt: new Date("TIMESTAMP"), * // imageScanStatus: { // ImageScanStatus - * // status: "STRING_VALUE", + * // status: "IN_PROGRESS" || "COMPLETE" || "FAILED" || "UNSUPPORTED_IMAGE" || "ACTIVE" || "PENDING" || "SCAN_ELIGIBILITY_EXPIRED" || "FINDINGS_UNAVAILABLE", * // description: "STRING_VALUE", * // }, * // imageScanFindingsSummary: { // ImageScanFindingsSummary diff --git a/clients/client-ecr/src/commands/DescribeRegistryCommand.ts b/clients/client-ecr/src/commands/DescribeRegistryCommand.ts index c7add34766f0f..204ec7d70bd9f 100644 --- a/clients/client-ecr/src/commands/DescribeRegistryCommand.ts +++ b/clients/client-ecr/src/commands/DescribeRegistryCommand.ts @@ -62,7 +62,7 @@ export interface DescribeRegistryCommandOutput extends DescribeRegistryResponse, * // repositoryFilters: [ // RepositoryFilterList * // { // RepositoryFilter * // filter: "STRING_VALUE", // required - * // filterType: "STRING_VALUE", // required + * // filterType: "PREFIX_MATCH", // required * // }, * // ], * // }, diff --git a/clients/client-ecr/src/commands/DescribeRepositoriesCommand.ts b/clients/client-ecr/src/commands/DescribeRepositoriesCommand.ts index 716d0c36f2c2a..1224c34be664c 100644 --- a/clients/client-ecr/src/commands/DescribeRepositoriesCommand.ts +++ b/clients/client-ecr/src/commands/DescribeRepositoriesCommand.ts @@ -61,12 +61,12 @@ export interface DescribeRepositoriesCommandOutput extends DescribeRepositoriesR * // repositoryName: "STRING_VALUE", * // repositoryUri: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), - * // imageTagMutability: "STRING_VALUE", + * // imageTagMutability: "MUTABLE" || "IMMUTABLE", * // imageScanningConfiguration: { // ImageScanningConfiguration * // scanOnPush: true || false, * // }, * // encryptionConfiguration: { // EncryptionConfiguration - * // encryptionType: "STRING_VALUE", // required + * // encryptionType: "AES256" || "KMS", // required * // kmsKey: "STRING_VALUE", * // }, * // }, diff --git a/clients/client-ecr/src/commands/GetAuthorizationTokenCommand.ts b/clients/client-ecr/src/commands/GetAuthorizationTokenCommand.ts index 8928983208d95..d3f7e76c2a971 100644 --- a/clients/client-ecr/src/commands/GetAuthorizationTokenCommand.ts +++ b/clients/client-ecr/src/commands/GetAuthorizationTokenCommand.ts @@ -39,7 +39,7 @@ export interface GetAuthorizationTokenCommandOutput extends GetAuthorizationToke *

                                                                                                                                                                                                                              Retrieves an authorization token. An authorization token represents your IAM * authentication credentials and can be used to access any Amazon ECR registry that your IAM * principal has access to. The authorization token is valid for 12 hours.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              The authorizationToken returned is a base64 encoded string that can be + *

                                                                                                                                                                                                                              The authorizationToken returned is a base64 encoded string that can be * decoded and used in a docker login command to authenticate to a registry. * The CLI offers an get-login-password command that simplifies the login * process. For more information, see Registry diff --git a/clients/client-ecr/src/commands/GetDownloadUrlForLayerCommand.ts b/clients/client-ecr/src/commands/GetDownloadUrlForLayerCommand.ts index 8a2efdaccfe0a..36f5d0dd2d951 100644 --- a/clients/client-ecr/src/commands/GetDownloadUrlForLayerCommand.ts +++ b/clients/client-ecr/src/commands/GetDownloadUrlForLayerCommand.ts @@ -38,9 +38,9 @@ export interface GetDownloadUrlForLayerCommandOutput extends GetDownloadUrlForLa * @public *

                                                                                                                                                                                                                              Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can * only get URLs for image layers that are referenced in an image.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              When an image is pulled, the GetDownloadUrlForLayer API is called once per image layer + *

                                                                                                                                                                                                                              When an image is pulled, the GetDownloadUrlForLayer API is called once per image layer * that is not already cached.

                                                                                                                                                                                                                              - * + * *

                                                                                                                                                                                                                              This operation is used by the Amazon ECR proxy and is not generally used by * customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

                                                                                                                                                                                                                              *
                                                                                                                                                                                                                              diff --git a/clients/client-ecr/src/commands/GetLifecyclePolicyPreviewCommand.ts b/clients/client-ecr/src/commands/GetLifecyclePolicyPreviewCommand.ts index 75028eec2e253..77cb65bebfdd6 100644 --- a/clients/client-ecr/src/commands/GetLifecyclePolicyPreviewCommand.ts +++ b/clients/client-ecr/src/commands/GetLifecyclePolicyPreviewCommand.ts @@ -56,7 +56,7 @@ export interface GetLifecyclePolicyPreviewCommandOutput extends GetLifecyclePoli * nextToken: "STRING_VALUE", * maxResults: Number("int"), * filter: { // LifecyclePolicyPreviewFilter - * tagStatus: "STRING_VALUE", + * tagStatus: "TAGGED" || "UNTAGGED" || "ANY", * }, * }; * const command = new GetLifecyclePolicyPreviewCommand(input); @@ -65,7 +65,7 @@ export interface GetLifecyclePolicyPreviewCommandOutput extends GetLifecyclePoli * // registryId: "STRING_VALUE", * // repositoryName: "STRING_VALUE", * // lifecyclePolicyText: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "IN_PROGRESS" || "COMPLETE" || "EXPIRED" || "FAILED", * // nextToken: "STRING_VALUE", * // previewResults: [ // LifecyclePolicyPreviewResultList * // { // LifecyclePolicyPreviewResult @@ -75,7 +75,7 @@ export interface GetLifecyclePolicyPreviewCommandOutput extends GetLifecyclePoli * // imageDigest: "STRING_VALUE", * // imagePushedAt: new Date("TIMESTAMP"), * // action: { // LifecyclePolicyRuleAction - * // type: "STRING_VALUE", + * // type: "EXPIRE", * // }, * // appliedRulePriority: Number("int"), * // }, diff --git a/clients/client-ecr/src/commands/GetRegistryScanningConfigurationCommand.ts b/clients/client-ecr/src/commands/GetRegistryScanningConfigurationCommand.ts index df2c955ade309..72acba4797ed6 100644 --- a/clients/client-ecr/src/commands/GetRegistryScanningConfigurationCommand.ts +++ b/clients/client-ecr/src/commands/GetRegistryScanningConfigurationCommand.ts @@ -54,14 +54,14 @@ export interface GetRegistryScanningConfigurationCommandOutput * // { // GetRegistryScanningConfigurationResponse * // registryId: "STRING_VALUE", * // scanningConfiguration: { // RegistryScanningConfiguration - * // scanType: "STRING_VALUE", + * // scanType: "BASIC" || "ENHANCED", * // rules: [ // RegistryScanningRuleList * // { // RegistryScanningRule - * // scanFrequency: "STRING_VALUE", // required + * // scanFrequency: "SCAN_ON_PUSH" || "CONTINUOUS_SCAN" || "MANUAL", // required * // repositoryFilters: [ // ScanningRepositoryFilterList // required * // { // ScanningRepositoryFilter * // filter: "STRING_VALUE", // required - * // filterType: "STRING_VALUE", // required + * // filterType: "WILDCARD", // required * // }, * // ], * // }, diff --git a/clients/client-ecr/src/commands/InitiateLayerUploadCommand.ts b/clients/client-ecr/src/commands/InitiateLayerUploadCommand.ts index f4e84c80ba548..7cf2c607fc1f7 100644 --- a/clients/client-ecr/src/commands/InitiateLayerUploadCommand.ts +++ b/clients/client-ecr/src/commands/InitiateLayerUploadCommand.ts @@ -37,10 +37,10 @@ export interface InitiateLayerUploadCommandOutput extends InitiateLayerUploadRes /** * @public *

                                                                                                                                                                                                                              Notifies Amazon ECR that you intend to upload an image layer.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              When an image is pushed, the InitiateLayerUpload API is called once per image layer + *

                                                                                                                                                                                                                              When an image is pushed, the InitiateLayerUpload API is called once per image layer * that has not already been uploaded. Whether or not an image layer has been uploaded is * determined by the BatchCheckLayerAvailability API action.

                                                                                                                                                                                                                              - * + * *

                                                                                                                                                                                                                              This operation is used by the Amazon ECR proxy and is not generally used by * customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

                                                                                                                                                                                                                              *
                                                                                                                                                                                                                              diff --git a/clients/client-ecr/src/commands/ListImagesCommand.ts b/clients/client-ecr/src/commands/ListImagesCommand.ts index aa7b0c35bb46a..cf47b31b6ee33 100644 --- a/clients/client-ecr/src/commands/ListImagesCommand.ts +++ b/clients/client-ecr/src/commands/ListImagesCommand.ts @@ -37,7 +37,7 @@ export interface ListImagesCommandOutput extends ListImagesResponse, __MetadataB /** * @public *

                                                                                                                                                                                                                              Lists all the image IDs for the specified repository.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              You can filter images based on whether or not they are tagged by using the + *

                                                                                                                                                                                                                              You can filter images based on whether or not they are tagged by using the * tagStatus filter and specifying either TAGGED, * UNTAGGED or ANY. For example, you can filter your results * to return only UNTAGGED images and then pipe that result to a BatchDeleteImage operation to delete them. Or, you can filter your @@ -55,7 +55,7 @@ export interface ListImagesCommandOutput extends ListImagesResponse, __MetadataB * nextToken: "STRING_VALUE", * maxResults: Number("int"), * filter: { // ListImagesFilter - * tagStatus: "STRING_VALUE", + * tagStatus: "TAGGED" || "UNTAGGED" || "ANY", * }, * }; * const command = new ListImagesCommand(input); diff --git a/clients/client-ecr/src/commands/PutImageCommand.ts b/clients/client-ecr/src/commands/PutImageCommand.ts index 932336431b885..bac4075f62c64 100644 --- a/clients/client-ecr/src/commands/PutImageCommand.ts +++ b/clients/client-ecr/src/commands/PutImageCommand.ts @@ -37,11 +37,10 @@ export interface PutImageCommandOutput extends PutImageResponse, __MetadataBeare /** * @public *

                                                                                                                                                                                                                              Creates or updates the image manifest and tags associated with an image.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              When an image is pushed and all new image layers have been uploaded, the PutImage API + *

                                                                                                                                                                                                                              When an image is pushed and all new image layers have been uploaded, the PutImage API * is called once to create or update the image manifest and the tags associated with the * image.

                                                                                                                                                                                                                              - * - * + * *

                                                                                                                                                                                                                              This operation is used by the Amazon ECR proxy and is not generally used by * customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

                                                                                                                                                                                                                              *
                                                                                                                                                                                                                              diff --git a/clients/client-ecr/src/commands/PutImageScanningConfigurationCommand.ts b/clients/client-ecr/src/commands/PutImageScanningConfigurationCommand.ts index 4a8926113ac7c..0559bc5887504 100644 --- a/clients/client-ecr/src/commands/PutImageScanningConfigurationCommand.ts +++ b/clients/client-ecr/src/commands/PutImageScanningConfigurationCommand.ts @@ -45,8 +45,8 @@ export interface PutImageScanningConfigurationCommandOutput *

                                                                                                                                                                                                                              The PutImageScanningConfiguration API is being deprecated, in favor * of specifying the image scanning configuration at the registry level. For more * information, see PutRegistryScanningConfiguration.

                                                                                                                                                                                                                              - * - *

                                                                                                                                                                                                                              Updates the image scanning configuration for the specified repository.

                                                                                                                                                                                                                              + * + *

                                                                                                                                                                                                                              Updates the image scanning configuration for the specified repository.

                                                                                                                                                                                                                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ecr/src/commands/PutImageTagMutabilityCommand.ts b/clients/client-ecr/src/commands/PutImageTagMutabilityCommand.ts index 5b4f1fa337092..58fd057b7e504 100644 --- a/clients/client-ecr/src/commands/PutImageTagMutabilityCommand.ts +++ b/clients/client-ecr/src/commands/PutImageTagMutabilityCommand.ts @@ -48,14 +48,14 @@ export interface PutImageTagMutabilityCommandOutput extends PutImageTagMutabilit * const input = { // PutImageTagMutabilityRequest * registryId: "STRING_VALUE", * repositoryName: "STRING_VALUE", // required - * imageTagMutability: "STRING_VALUE", // required + * imageTagMutability: "MUTABLE" || "IMMUTABLE", // required * }; * const command = new PutImageTagMutabilityCommand(input); * const response = await client.send(command); * // { // PutImageTagMutabilityResponse * // registryId: "STRING_VALUE", * // repositoryName: "STRING_VALUE", - * // imageTagMutability: "STRING_VALUE", + * // imageTagMutability: "MUTABLE" || "IMMUTABLE", * // }; * * ``` diff --git a/clients/client-ecr/src/commands/PutRegistryPolicyCommand.ts b/clients/client-ecr/src/commands/PutRegistryPolicyCommand.ts index 168b57165ce99..6744a83d2518e 100644 --- a/clients/client-ecr/src/commands/PutRegistryPolicyCommand.ts +++ b/clients/client-ecr/src/commands/PutRegistryPolicyCommand.ts @@ -37,7 +37,7 @@ export interface PutRegistryPolicyCommandOutput extends PutRegistryPolicyRespons /** * @public *

                                                                                                                                                                                                                              Creates or updates the permissions policy for your registry.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              A registry policy is used to specify permissions for another Amazon Web Services account and is used + *

                                                                                                                                                                                                                              A registry policy is used to specify permissions for another Amazon Web Services account and is used * when configuring cross-account replication. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide.

                                                                                                                                                                                                                              * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ecr/src/commands/PutRegistryScanningConfigurationCommand.ts b/clients/client-ecr/src/commands/PutRegistryScanningConfigurationCommand.ts index 0aa2af12ebf6a..874ca3a0092c4 100644 --- a/clients/client-ecr/src/commands/PutRegistryScanningConfigurationCommand.ts +++ b/clients/client-ecr/src/commands/PutRegistryScanningConfigurationCommand.ts @@ -49,14 +49,14 @@ export interface PutRegistryScanningConfigurationCommandOutput * // const { ECRClient, PutRegistryScanningConfigurationCommand } = require("@aws-sdk/client-ecr"); // CommonJS import * const client = new ECRClient(config); * const input = { // PutRegistryScanningConfigurationRequest - * scanType: "STRING_VALUE", + * scanType: "BASIC" || "ENHANCED", * rules: [ // RegistryScanningRuleList * { // RegistryScanningRule - * scanFrequency: "STRING_VALUE", // required + * scanFrequency: "SCAN_ON_PUSH" || "CONTINUOUS_SCAN" || "MANUAL", // required * repositoryFilters: [ // ScanningRepositoryFilterList // required * { // ScanningRepositoryFilter * filter: "STRING_VALUE", // required - * filterType: "STRING_VALUE", // required + * filterType: "WILDCARD", // required * }, * ], * }, @@ -66,14 +66,14 @@ export interface PutRegistryScanningConfigurationCommandOutput * const response = await client.send(command); * // { // PutRegistryScanningConfigurationResponse * // registryScanningConfiguration: { // RegistryScanningConfiguration - * // scanType: "STRING_VALUE", + * // scanType: "BASIC" || "ENHANCED", * // rules: [ // RegistryScanningRuleList * // { // RegistryScanningRule - * // scanFrequency: "STRING_VALUE", // required + * // scanFrequency: "SCAN_ON_PUSH" || "CONTINUOUS_SCAN" || "MANUAL", // required * // repositoryFilters: [ // ScanningRepositoryFilterList // required * // { // ScanningRepositoryFilter * // filter: "STRING_VALUE", // required - * // filterType: "STRING_VALUE", // required + * // filterType: "WILDCARD", // required * // }, * // ], * // }, diff --git a/clients/client-ecr/src/commands/PutReplicationConfigurationCommand.ts b/clients/client-ecr/src/commands/PutReplicationConfigurationCommand.ts index 7e1a613f26cab..92fff63cac327 100644 --- a/clients/client-ecr/src/commands/PutReplicationConfigurationCommand.ts +++ b/clients/client-ecr/src/commands/PutReplicationConfigurationCommand.ts @@ -44,11 +44,11 @@ export interface PutReplicationConfigurationCommandOutput * your account for the replication process. For more information, see Using * service-linked roles for Amazon ECR in the * Amazon Elastic Container Registry User Guide.

                                                                                                                                                                                                                              - * + * *

                                                                                                                                                                                                                              When configuring cross-account replication, the destination account must grant the * source account permission to replicate. This permission is controlled using a * registry permissions policy. For more information, see PutRegistryPolicy.

                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -68,7 +68,7 @@ export interface PutReplicationConfigurationCommandOutput * repositoryFilters: [ // RepositoryFilterList * { // RepositoryFilter * filter: "STRING_VALUE", // required - * filterType: "STRING_VALUE", // required + * filterType: "PREFIX_MATCH", // required * }, * ], * }, @@ -90,7 +90,7 @@ export interface PutReplicationConfigurationCommandOutput * // repositoryFilters: [ // RepositoryFilterList * // { // RepositoryFilter * // filter: "STRING_VALUE", // required - * // filterType: "STRING_VALUE", // required + * // filterType: "PREFIX_MATCH", // required * // }, * // ], * // }, diff --git a/clients/client-ecr/src/commands/StartImageScanCommand.ts b/clients/client-ecr/src/commands/StartImageScanCommand.ts index 229dd610db314..ab2af496a639e 100644 --- a/clients/client-ecr/src/commands/StartImageScanCommand.ts +++ b/clients/client-ecr/src/commands/StartImageScanCommand.ts @@ -64,7 +64,7 @@ export interface StartImageScanCommandOutput extends StartImageScanResponse, __M * // imageTag: "STRING_VALUE", * // }, * // imageScanStatus: { // ImageScanStatus - * // status: "STRING_VALUE", + * // status: "IN_PROGRESS" || "COMPLETE" || "FAILED" || "UNSUPPORTED_IMAGE" || "ACTIVE" || "PENDING" || "SCAN_ELIGIBILITY_EXPIRED" || "FINDINGS_UNAVAILABLE", * // description: "STRING_VALUE", * // }, * // }; diff --git a/clients/client-ecr/src/commands/StartLifecyclePolicyPreviewCommand.ts b/clients/client-ecr/src/commands/StartLifecyclePolicyPreviewCommand.ts index aec4dcd49833c..03b1e952d4f92 100644 --- a/clients/client-ecr/src/commands/StartLifecyclePolicyPreviewCommand.ts +++ b/clients/client-ecr/src/commands/StartLifecyclePolicyPreviewCommand.ts @@ -57,7 +57,7 @@ export interface StartLifecyclePolicyPreviewCommandOutput * // registryId: "STRING_VALUE", * // repositoryName: "STRING_VALUE", * // lifecyclePolicyText: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "IN_PROGRESS" || "COMPLETE" || "EXPIRED" || "FAILED", * // }; * * ``` diff --git a/clients/client-ecr/src/commands/UploadLayerPartCommand.ts b/clients/client-ecr/src/commands/UploadLayerPartCommand.ts index adb77a0d643b3..b46e6073dee2e 100644 --- a/clients/client-ecr/src/commands/UploadLayerPartCommand.ts +++ b/clients/client-ecr/src/commands/UploadLayerPartCommand.ts @@ -37,10 +37,10 @@ export interface UploadLayerPartCommandOutput extends UploadLayerPartResponse, _ /** * @public *

                                                                                                                                                                                                                              Uploads an image layer part to Amazon ECR.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              When an image is pushed, each new image layer is uploaded in parts. The maximum size + *

                                                                                                                                                                                                                              When an image is pushed, each new image layer is uploaded in parts. The maximum size * of each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API * is called once per each new image layer part.

                                                                                                                                                                                                                              - * + * *

                                                                                                                                                                                                                              This operation is used by the Amazon ECR proxy and is not generally used by * customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

                                                                                                                                                                                                                              *
                                                                                                                                                                                                                              diff --git a/clients/client-ecr/src/endpoint/ruleset.ts b/clients/client-ecr/src/endpoint/ruleset.ts index da3793e68c1f1..3fcc4522a5e9b 100644 --- a/clients/client-ecr/src/endpoint/ruleset.ts +++ b/clients/client-ecr/src/endpoint/ruleset.ts @@ -10,24 +10,24 @@ const t="required", u="fn", v="argv", w="ref"; -const a="PartitionResult", +const a="isSet", b="tree", c="error", d="endpoint", -e="stringEquals", -f={[t]:false,"type":"String"}, -g={[t]:true,"default":false,"type":"Boolean"}, -h={[w]:"Region"}, +e="PartitionResult", +f="stringEquals", +g={[t]:false,"type":"String"}, +h={[t]:true,"default":false,"type":"Boolean"}, i={[w]:"Endpoint"}, j={[u]:"booleanEquals",[v]:[{[w]:"UseFIPS"},true]}, k={[u]:"booleanEquals",[v]:[{[w]:"UseDualStack"},true]}, l={}, -m={[u]:"booleanEquals",[v]:[true,{[u]:"getAttr",[v]:[{[w]:a},"supportsFIPS"]}]}, -n={[u]:"booleanEquals",[v]:[true,{[u]:"getAttr",[v]:[{[w]:a},"supportsDualStack"]}]}, -o={[u]:"getAttr",[v]:[{[w]:a},"name"]}, -p={"url":"https://ecr-fips.{Region}.{PartitionResult#dnsSuffix}","properties":{},"headers":{}}, -q=[i], -r=[j], -s=[k]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[u]:"aws.partition",[v]:[h],assign:a}],type:b,rules:[{conditions:[{[u]:"isSet",[v]:q},{[u]:"parseURL",[v]:q,assign:"url"}],type:b,rules:[{conditions:r,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:s,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{conditions:[j,k],type:b,rules:[{conditions:[m,n],type:b,rules:[{endpoint:{url:"https://api.ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:r,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[u]:e,[v]:[h,"dkr-us-east-2"]}],endpoint:{url:"https://ecr-fips.us-east-2.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[u]:e,[v]:[h,"dkr-us-east-1"]}],endpoint:{url:"https://ecr-fips.us-east-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[u]:e,[v]:[h,"dkr-us-west-2"]}],endpoint:{url:"https://ecr-fips.us-west-2.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[u]:e,[v]:[h,"dkr-us-west-1"]}],endpoint:{url:"https://ecr-fips.us-west-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[u]:e,[v]:["aws",o]}],endpoint:p,type:d},{conditions:[{[u]:e,[v]:[h,"dkr-us-gov-east-1"]}],endpoint:{url:"https://ecr-fips.us-gov-east-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[u]:e,[v]:[h,"dkr-us-gov-west-1"]}],endpoint:{url:"https://ecr-fips.us-gov-west-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[u]:e,[v]:["aws-us-gov",o]}],endpoint:p,type:d},{endpoint:{url:"https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:s,type:b,rules:[{conditions:[n],type:b,rules:[{endpoint:{url:"https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://api.ecr.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}; +m={[u]:"booleanEquals",[v]:[true,{[u]:"getAttr",[v]:[{[w]:e},"supportsFIPS"]}]}, +n={[u]:"booleanEquals",[v]:[true,{[u]:"getAttr",[v]:[{[w]:e},"supportsDualStack"]}]}, +o={[u]:"getAttr",[v]:[{[w]:e},"name"]}, +p={"url":"https://ecr-fips.{Region}.amazonaws.com","properties":{},"headers":{}}, +q=[j], +r=[k], +s=[{[w]:"Region"}]; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[u]:a,[v]:[i]}],type:b,rules:[{conditions:q,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:r,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[u]:a,[v]:s}],type:b,rules:[{conditions:[{[u]:"aws.partition",[v]:s,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,n],type:b,rules:[{endpoint:{url:"https://api.ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:q,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[u]:f,[v]:["aws",o]}],endpoint:p,type:d},{conditions:[{[u]:f,[v]:["aws-us-gov",o]}],endpoint:p,type:d},{endpoint:{url:"https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:r,type:b,rules:[{conditions:[n],type:b,rules:[{endpoint:{url:"https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://api.ecr.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-ecr/src/index.ts b/clients/client-ecr/src/index.ts index 35faba5b9a88d..30ca0157d815a 100644 --- a/clients/client-ecr/src/index.ts +++ b/clients/client-ecr/src/index.ts @@ -2,13 +2,13 @@ /* eslint-disable */ /** * Amazon Elastic Container Registry - *

                                                                                                                                                                                                                              Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the + *

                                                                                                                                                                                                                              Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the * familiar Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR * provides a secure, scalable, and reliable registry for your Docker or Open Container * Initiative (OCI) images. Amazon ECR supports private repositories with resource-based * permissions using IAM so that specific users or Amazon EC2 instances can access * repositories and images.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              Amazon ECR has service endpoints in each supported Region. For more information, see Amazon ECR endpoints in the + *

                                                                                                                                                                                                                              Amazon ECR has service endpoints in each supported Region. For more information, see Amazon ECR endpoints in the * Amazon Web Services General Reference.

                                                                                                                                                                                                                              * * @packageDocumentation diff --git a/clients/client-ecr/src/models/models_0.ts b/clients/client-ecr/src/models/models_0.ts index 78a36dfe235ab..ba77867292775 100644 --- a/clients/client-ecr/src/models/models_0.ts +++ b/clients/client-ecr/src/models/models_0.ts @@ -325,7 +325,7 @@ export interface BatchGetImageRequest { /** * @public *

                                                                                                                                                                                                                              The accepted media types for the request.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              Valid values: application/vnd.docker.distribution.manifest.v1+json | + *

                                                                                                                                                                                                                              Valid values: application/vnd.docker.distribution.manifest.v1+json | * application/vnd.docker.distribution.manifest.v2+json | * application/vnd.oci.image.manifest.v1+json *

                                                                                                                                                                                                                              @@ -883,11 +883,11 @@ export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType * @public *

                                                                                                                                                                                                                              The encryption configuration for the repository. This determines how the contents of * your repository are encrypted at rest.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              By default, when no encryption configuration is set or the AES256 + *

                                                                                                                                                                                                                              By default, when no encryption configuration is set or the AES256 * encryption type is used, Amazon ECR uses server-side encryption with Amazon S3-managed encryption * keys which encrypts your data at rest using an AES-256 encryption algorithm. This does * not require any action on your part.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              For more control over the encryption of the contents of your repository, you can use + *

                                                                                                                                                                                                                              For more control over the encryption of the contents of your repository, you can use * server-side encryption with Key Management Service key stored in Key Management Service (KMS) to encrypt your * images. For more information, see Amazon ECR encryption at * rest in the Amazon Elastic Container Registry User Guide.

                                                                                                                                                                                                                              @@ -896,14 +896,14 @@ export interface EncryptionConfiguration { /** * @public *

                                                                                                                                                                                                                              The encryption type to use.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              If you use the KMS encryption type, the contents of the repository will + *

                                                                                                                                                                                                                              If you use the KMS encryption type, the contents of the repository will * be encrypted using server-side encryption with Key Management Service key stored in KMS. When you * use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key * for Amazon ECR, or specify your own KMS key, which you already created. For more * information, see Protecting data using server-side * encryption with an KMS key stored in Key Management Service (SSE-KMS) in the * Amazon Simple Storage Service Console Developer Guide.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              If you use the AES256 encryption type, Amazon ECR uses server-side encryption + *

                                                                                                                                                                                                                              If you use the AES256 encryption type, Amazon ECR uses server-side encryption * with Amazon S3-managed encryption keys which encrypts the images in the repository using an * AES-256 encryption algorithm. For more information, see Protecting data using * server-side encryption with Amazon S3-managed encryption keys (SSE-S3) in the @@ -1762,14 +1762,14 @@ export interface ImageDetail { /** * @public *

                                                                                                                                                                                                                              The size, in bytes, of the image in the repository.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              If the image is a manifest list, this will be the max size of all manifests in the + *

                                                                                                                                                                                                                              If the image is a manifest list, this will be the max size of all manifests in the * list.

                                                                                                                                                                                                                              - * + * *

                                                                                                                                                                                                                              Beginning with Docker version 1.9, the Docker client compresses image layers * before pushing them to a V2 Docker registry. The output of the docker * images command shows the uncompressed image size, so it may return a * larger image size than the image sizes returned by DescribeImages.

                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                              */ imageSizeInBytes?: number; @@ -1808,14 +1808,14 @@ export interface ImageDetail { * @public *

                                                                                                                                                                                                                              The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded * the last image pull.

                                                                                                                                                                                                                              - * + * *

                                                                                                                                                                                                                              Amazon ECR refreshes the last image pull timestamp at least once every 24 hours. For * example, if you pull an image once a day then the lastRecordedPullTime * timestamp will indicate the exact time that the image was last pulled. However, if * you pull an image once an hour, because Amazon ECR refreshes the * lastRecordedPullTime timestamp at least once every 24 hours, the * result may not be the exact time that the image was last pulled.

                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                              */ lastRecordedPullTime?: Date; } @@ -2724,10 +2724,10 @@ export interface DescribeRepositoriesRequest { * the previous results that returned the nextToken value. This value is * null when there are no more results to return. This option cannot be * used when you specify repositories with repositoryNames.

                                                                                                                                                                                                                              - * + * *

                                                                                                                                                                                                                              This token should be treated as an opaque identifier that is only used to * retrieve the next items in a list and not for other programmatic purposes.

                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                              */ nextToken?: string; @@ -3401,10 +3401,10 @@ export interface ListImagesRequest { * results exceeded the value of that parameter. Pagination continues from the end of the * previous results that returned the nextToken value. This value is * null when there are no more results to return.

                                                                                                                                                                                                                              - * + * *

                                                                                                                                                                                                                              This token should be treated as an opaque identifier that is only used to * retrieve the next items in a list and not for other programmatic purposes.

                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                              */ nextToken?: string; @@ -3798,12 +3798,12 @@ export interface PutRegistryScanningConfigurationRequest { /** * @public *

                                                                                                                                                                                                                              The scanning type to set for the registry.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              When a registry scanning configuration is not defined, by default the + *

                                                                                                                                                                                                                              When a registry scanning configuration is not defined, by default the * BASIC scan type is used. When basic scanning is used, you may specify * filters to determine which individual repositories, or all repositories, are scanned * when new images are pushed to those repositories. Alternatively, you can do manual scans * of images with basic scanning.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              When the ENHANCED scan type is set, Amazon Inspector provides automated + *

                                                                                                                                                                                                                              When the ENHANCED scan type is set, Amazon Inspector provides automated * vulnerability scanning. You may choose between continuous scanning or scan on push and * you may specify filters to determine which individual repositories, or all repositories, * are scanned.

                                                                                                                                                                                                                              diff --git a/clients/client-efs/src/endpoint/ruleset.ts b/clients/client-efs/src/endpoint/ruleset.ts index 7045cba53e106..35c5d7db62841 100644 --- a/clients/client-efs/src/endpoint/ruleset.ts +++ b/clients/client-efs/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://elasticfilesystem-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://elasticfilesystem-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://elasticfilesystem.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://elasticfilesystem.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://elasticfilesystem-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://elasticfilesystem-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://elasticfilesystem.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://elasticfilesystem.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-eks/src/endpoint/ruleset.ts b/clients/client-eks/src/endpoint/ruleset.ts index 75bed356e9915..9235029a01190 100644 --- a/clients/client-eks/src/endpoint/ruleset.ts +++ b/clients/client-eks/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"getAttr",[u]:[{[v]:e},"name"]}, p=[j], q=[k], r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,n],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://eks-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:f,[u]:["aws",o]}],endpoint:{url:"https://fips.eks.{Region}.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[t]:f,[u]:["aws-us-gov",o]}],endpoint:{url:"https://eks.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://eks-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[n],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://eks.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://eks.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,n],type:b,rules:[{endpoint:{url:"https://eks-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:f,[u]:["aws",o]}],endpoint:{url:"https://fips.eks.{Region}.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[t]:f,[u]:["aws-us-gov",o]}],endpoint:{url:"https://eks.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://eks-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[n],type:b,rules:[{endpoint:{url:"https://eks.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://eks.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-elastic-beanstalk/src/endpoint/EndpointParameters.ts b/clients/client-elastic-beanstalk/src/endpoint/EndpointParameters.ts index f7c06673a0c75..5ab3021b8e35e 100644 --- a/clients/client-elastic-beanstalk/src/endpoint/EndpointParameters.ts +++ b/clients/client-elastic-beanstalk/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-elastic-beanstalk/src/endpoint/ruleset.ts b/clients/client-elastic-beanstalk/src/endpoint/ruleset.ts index 5ded4fbc739c5..6ec8171b87146 100644 --- a/clients/client-elastic-beanstalk/src/endpoint/ruleset.ts +++ b/clients/client-elastic-beanstalk/src/endpoint/ruleset.ts @@ -6,28 +6,27 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/elastic-beanstalk.json */ -const u="fn", -v="argv", -w="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h="getAttr", -i="stringEquals", -j={"required":true,"default":false,"type":"Boolean"}, -k={[w]:"Region"}, -l={[w]:"Endpoint"}, -m={[u]:"booleanEquals",[v]:[{[w]:"UseFIPS"},true]}, -n={[u]:"booleanEquals",[v]:[{[w]:"UseDualStack"},true]}, -o={}, -p={[u]:"booleanEquals",[v]:[true,{[u]:h,[v]:[{[w]:d},"supportsFIPS"]}]}, -q={[w]:d}, -r={[u]:"booleanEquals",[v]:[true,{[u]:h,[v]:[q,"supportsDualStack"]}]}, -s=[m], -t=[n]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:j,UseFIPS:j,Endpoint:{required:b,type:c}},rules:[{conditions:[{[u]:"aws.partition",[v]:[k],assign:d}],type:e,rules:[{conditions:[{[u]:"isSet",[v]:[l]}],type:e,rules:[{conditions:s,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:t,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:l,properties:o,headers:o},type:g}]}]},{conditions:[m,n],type:e,rules:[{conditions:[p,r],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://elasticbeanstalk-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:o,headers:o},type:g}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:s,type:e,rules:[{conditions:[p],type:e,rules:[{type:e,rules:[{conditions:[{[u]:i,[v]:["aws-us-gov",{[u]:h,[v]:[q,"name"]}]}],endpoint:{url:"https://elasticbeanstalk.{Region}.amazonaws.com",properties:o,headers:o},type:g},{endpoint:{url:"https://elasticbeanstalk-fips.{Region}.{PartitionResult#dnsSuffix}",properties:o,headers:o},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:t,type:e,rules:[{conditions:[r],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://elasticbeanstalk.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:o,headers:o},type:g}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{type:e,rules:[{conditions:[{[u]:i,[v]:[k,"us-gov-east-1"]}],endpoint:{url:"https://elasticbeanstalk.us-gov-east-1.amazonaws.com",properties:o,headers:o},type:g},{conditions:[{[u]:i,[v]:[k,"us-gov-west-1"]}],endpoint:{url:"https://elasticbeanstalk.us-gov-west-1.amazonaws.com",properties:o,headers:o},type:g},{endpoint:{url:"https://elasticbeanstalk.{Region}.{PartitionResult#dnsSuffix}",properties:o,headers:o},type:g}]}]}]}; +const s="required", +t="fn", +u="argv", +v="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f="getAttr", +g={[s]:false,"type":"String"}, +h={[s]:true,"default":false,"type":"Boolean"}, +i={[v]:"Endpoint"}, +j={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, +k={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, +l={}, +m={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[{[v]:e},"supportsFIPS"]}]}, +n={[v]:e}, +o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, +p=[j], +q=[k], +r=[{[v]:"Region"}]; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://elasticbeanstalk-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://elasticbeanstalk.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://elasticbeanstalk-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://elasticbeanstalk.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://elasticbeanstalk.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-elastic-inference/src/endpoint/ruleset.ts b/clients/client-elastic-inference/src/endpoint/ruleset.ts index 025b657ecdeb4..1eaa7da343f92 100644 --- a/clients/client-elastic-inference/src/endpoint/ruleset.ts +++ b/clients/client-elastic-inference/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://api.elastic-inference-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://api.elastic-inference-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://api.elastic-inference.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://api.elastic-inference.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://api.elastic-inference-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://api.elastic-inference-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://api.elastic-inference.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://api.elastic-inference.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-elastic-load-balancing/src/endpoint/ruleset.ts b/clients/client-elastic-load-balancing/src/endpoint/ruleset.ts index dcfebb33665dd..c98c1017032e4 100644 --- a/clients/client-elastic-load-balancing/src/endpoint/ruleset.ts +++ b/clients/client-elastic-load-balancing/src/endpoint/ruleset.ts @@ -10,23 +10,23 @@ const s="required", t="fn", u="argv", v="ref"; -const a="PartitionResult", +const a="isSet", b="tree", c="error", d="endpoint", -e="getAttr", -f={[s]:false,"type":"String"}, -g={[s]:true,"default":false,"type":"Boolean"}, -h={[v]:"Endpoint"}, -i={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, -j={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, -k={}, -l={[t]:"booleanEquals",[u]:[true,{[t]:e,[u]:[{[v]:a},"supportsFIPS"]}]}, -m={[v]:a}, -n={[t]:"booleanEquals",[u]:[true,{[t]:e,[u]:[m,"supportsDualStack"]}]}, -o={"url":"https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}","properties":{},"headers":{}}, -p=[h], -q=[i], -r=[j]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[t]:"aws.partition",[u]:[{[v]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[t]:"isSet",[u]:p},{[t]:"parseURL",[u]:p,assign:"url"}],type:b,rules:[{conditions:q,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:r,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{conditions:[i,j],type:b,rules:[{conditions:[l,n],type:b,rules:[{endpoint:{url:"https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:q,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:e,[u]:[m,"name"]}]}],endpoint:o,type:d},{endpoint:{url:"https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:r,type:b,rules:[{conditions:[n],type:b,rules:[{endpoint:{url:"https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:o,type:d}]}]}; +e="PartitionResult", +f="getAttr", +g={[s]:false,"type":"String"}, +h={[s]:true,"default":false,"type":"Boolean"}, +i={[v]:"Endpoint"}, +j={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, +k={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, +l={}, +m={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[{[v]:e},"supportsFIPS"]}]}, +n={[v]:e}, +o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, +p=[j], +q=[k], +r=[{[v]:"Region"}]; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://elasticloadbalancing.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-elastic-load-balancing/src/waiters/index.ts b/clients/client-elastic-load-balancing/src/waiters/index.ts index 229de78478806..6ef90bf75fe0a 100644 --- a/clients/client-elastic-load-balancing/src/waiters/index.ts +++ b/clients/client-elastic-load-balancing/src/waiters/index.ts @@ -1,2 +1,4 @@ // smithy-typescript generated code export * from "./waitForAnyInstanceInService"; +export * from "./waitForInstanceDeregistered"; +export * from "./waitForInstanceInService"; diff --git a/clients/client-elastic-load-balancing/src/waiters/waitForInstanceDeregistered.ts b/clients/client-elastic-load-balancing/src/waiters/waitForInstanceDeregistered.ts new file mode 100644 index 0000000000000..dae5a6f864f67 --- /dev/null +++ b/clients/client-elastic-load-balancing/src/waiters/waitForInstanceDeregistered.ts @@ -0,0 +1,65 @@ +// smithy-typescript generated code +import { checkExceptions, createWaiter, WaiterConfiguration, WaiterResult, WaiterState } from "@smithy/util-waiter"; + +import { + DescribeInstanceHealthCommand, + DescribeInstanceHealthCommandInput, +} from "../commands/DescribeInstanceHealthCommand"; +import { ElasticLoadBalancingClient } from "../ElasticLoadBalancingClient"; + +const checkState = async ( + client: ElasticLoadBalancingClient, + input: DescribeInstanceHealthCommandInput +): Promise => { + let reason; + try { + const result: any = await client.send(new DescribeInstanceHealthCommand(input)); + reason = result; + try { + const returnComparator = () => { + const flat_1: any[] = [].concat(...result.InstanceStates); + const projection_3 = flat_1.map((element_2: any) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "OutOfService"; + } + if (allStringEq_5) { + return { state: WaiterState.SUCCESS, reason }; + } + } catch (e) {} + } catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidInstance") { + return { state: WaiterState.SUCCESS, reason }; + } + } + return { state: WaiterState.RETRY, reason }; +}; +/** + * + * @deprecated Use waitUntilInstanceDeregistered instead. waitForInstanceDeregistered does not throw error in non-success cases. + */ +export const waitForInstanceDeregistered = async ( + params: WaiterConfiguration, + input: DescribeInstanceHealthCommandInput +): Promise => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return createWaiter({ ...serviceDefaults, ...params }, input, checkState); +}; +/** + * + * @param params - Waiter configuration options. + * @param input - The input to DescribeInstanceHealthCommand for polling. + */ +export const waitUntilInstanceDeregistered = async ( + params: WaiterConfiguration, + input: DescribeInstanceHealthCommandInput +): Promise => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); + return checkExceptions(result); +}; diff --git a/clients/client-elastic-load-balancing/src/waiters/waitForInstanceInService.ts b/clients/client-elastic-load-balancing/src/waiters/waitForInstanceInService.ts new file mode 100644 index 0000000000000..5898257b0c0c2 --- /dev/null +++ b/clients/client-elastic-load-balancing/src/waiters/waitForInstanceInService.ts @@ -0,0 +1,65 @@ +// smithy-typescript generated code +import { checkExceptions, createWaiter, WaiterConfiguration, WaiterResult, WaiterState } from "@smithy/util-waiter"; + +import { + DescribeInstanceHealthCommand, + DescribeInstanceHealthCommandInput, +} from "../commands/DescribeInstanceHealthCommand"; +import { ElasticLoadBalancingClient } from "../ElasticLoadBalancingClient"; + +const checkState = async ( + client: ElasticLoadBalancingClient, + input: DescribeInstanceHealthCommandInput +): Promise => { + let reason; + try { + const result: any = await client.send(new DescribeInstanceHealthCommand(input)); + reason = result; + try { + const returnComparator = () => { + const flat_1: any[] = [].concat(...result.InstanceStates); + const projection_3 = flat_1.map((element_2: any) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "InService"; + } + if (allStringEq_5) { + return { state: WaiterState.SUCCESS, reason }; + } + } catch (e) {} + } catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidInstance") { + return { state: WaiterState.RETRY, reason }; + } + } + return { state: WaiterState.RETRY, reason }; +}; +/** + * + * @deprecated Use waitUntilInstanceInService instead. waitForInstanceInService does not throw error in non-success cases. + */ +export const waitForInstanceInService = async ( + params: WaiterConfiguration, + input: DescribeInstanceHealthCommandInput +): Promise => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return createWaiter({ ...serviceDefaults, ...params }, input, checkState); +}; +/** + * + * @param params - Waiter configuration options. + * @param input - The input to DescribeInstanceHealthCommand for polling. + */ +export const waitUntilInstanceInService = async ( + params: WaiterConfiguration, + input: DescribeInstanceHealthCommandInput +): Promise => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); + return checkExceptions(result); +}; diff --git a/clients/client-elastic-transcoder/src/endpoint/ruleset.ts b/clients/client-elastic-transcoder/src/endpoint/ruleset.ts index 560fd7f6a203c..66fe698bb04cc 100644 --- a/clients/client-elastic-transcoder/src/endpoint/ruleset.ts +++ b/clients/client-elastic-transcoder/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/elastic-transcoder.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://elastictranscoder-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://elastictranscoder-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://elastictranscoder.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://elastictranscoder.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://elastictranscoder-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://elastictranscoder-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://elastictranscoder.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://elastictranscoder.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-elasticache/src/endpoint/ruleset.ts b/clients/client-elasticache/src/endpoint/ruleset.ts index 9b15a0608c3cf..1af0dd7e8dd40 100644 --- a/clients/client-elasticache/src/endpoint/ruleset.ts +++ b/clients/client-elasticache/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, p=[j], q=[k], r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://elasticache-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://elasticache.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://elasticache-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://elasticache.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://elasticache.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://elasticache-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://elasticache.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://elasticache-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://elasticache.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://elasticache.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-elasticsearch-service/src/endpoint/ruleset.ts b/clients/client-elasticsearch-service/src/endpoint/ruleset.ts index f9098bb0dc089..696dca926ebf9 100644 --- a/clients/client-elasticsearch-service/src/endpoint/ruleset.ts +++ b/clients/client-elasticsearch-service/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://es-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://es-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://es.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://es.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://es-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://es-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://es.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://es.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-emr-containers/src/endpoint/ruleset.ts b/clients/client-emr-containers/src/endpoint/ruleset.ts index 0f35346fd27a6..b4d8ef5924d23 100644 --- a/clients/client-emr-containers/src/endpoint/ruleset.ts +++ b/clients/client-emr-containers/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://emr-containers-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://emr-containers-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://emr-containers.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://emr-containers.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://emr-containers-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://emr-containers-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://emr-containers.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://emr-containers.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-emr-serverless/src/endpoint/ruleset.ts b/clients/client-emr-serverless/src/endpoint/ruleset.ts index a9df5cdeecf4d..749a504f8c29d 100644 --- a/clients/client-emr-serverless/src/endpoint/ruleset.ts +++ b/clients/client-emr-serverless/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://emr-serverless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://emr-serverless-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://emr-serverless.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://emr-serverless.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://emr-serverless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://emr-serverless-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://emr-serverless.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://emr-serverless.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-emr/src/endpoint/ruleset.ts b/clients/client-emr/src/endpoint/ruleset.ts index 06b0df148fd6b..2c2b8f09acbcf 100644 --- a/clients/client-emr/src/endpoint/ruleset.ts +++ b/clients/client-emr/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, p=[j], q=[k], r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://elasticmapreduce-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://elasticmapreduce.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://elasticmapreduce-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://elasticmapreduce.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://elasticmapreduce.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://elasticmapreduce-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://elasticmapreduce.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://elasticmapreduce-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://elasticmapreduce.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://elasticmapreduce.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-evidently/src/endpoint/ruleset.ts b/clients/client-evidently/src/endpoint/ruleset.ts index 5836afa3c0a8d..9ed6e59e5346a 100644 --- a/clients/client-evidently/src/endpoint/ruleset.ts +++ b/clients/client-evidently/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://evidently-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://evidently-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://evidently.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://evidently.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://evidently-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://evidently-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://evidently.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://evidently.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-finspace-data/src/commands/CreateChangesetCommand.ts b/clients/client-finspace-data/src/commands/CreateChangesetCommand.ts index 858ab2fd407ee..a24eb43426c34 100644 --- a/clients/client-finspace-data/src/commands/CreateChangesetCommand.ts +++ b/clients/client-finspace-data/src/commands/CreateChangesetCommand.ts @@ -46,7 +46,7 @@ export interface CreateChangesetCommandOutput extends CreateChangesetResponse, _ * const input = { // CreateChangesetRequest * clientToken: "STRING_VALUE", * datasetId: "STRING_VALUE", // required - * changeType: "STRING_VALUE", // required + * changeType: "REPLACE" || "APPEND" || "MODIFY", // required * sourceParams: { // SourceParams // required * "": "STRING_VALUE", * }, diff --git a/clients/client-finspace-data/src/commands/CreateDataViewCommand.ts b/clients/client-finspace-data/src/commands/CreateDataViewCommand.ts index 88b594b37ea34..4854d653a09fc 100644 --- a/clients/client-finspace-data/src/commands/CreateDataViewCommand.ts +++ b/clients/client-finspace-data/src/commands/CreateDataViewCommand.ts @@ -56,7 +56,7 @@ export interface CreateDataViewCommandOutput extends CreateDataViewResponse, __M * asOfTimestamp: Number("long"), * destinationTypeParams: { // DataViewDestinationTypeParams * destinationType: "STRING_VALUE", // required - * s3DestinationExportFileFormat: "STRING_VALUE", + * s3DestinationExportFileFormat: "PARQUET" || "DELIMITED_TEXT", * s3DestinationExportFileFormatOptions: { // S3DestinationFormatOptions * "": "STRING_VALUE", * }, diff --git a/clients/client-finspace-data/src/commands/CreateDatasetCommand.ts b/clients/client-finspace-data/src/commands/CreateDatasetCommand.ts index 2cf8e703db8ca..ad4364e9d1e16 100644 --- a/clients/client-finspace-data/src/commands/CreateDatasetCommand.ts +++ b/clients/client-finspace-data/src/commands/CreateDatasetCommand.ts @@ -50,7 +50,7 @@ export interface CreateDatasetCommandOutput extends CreateDatasetResponse, __Met * const input = { // CreateDatasetRequest * clientToken: "STRING_VALUE", * datasetTitle: "STRING_VALUE", // required - * kind: "STRING_VALUE", // required + * kind: "TABULAR" || "NON_TABULAR", // required * datasetDescription: "STRING_VALUE", * ownerInfo: { // DatasetOwnerInfo * name: "STRING_VALUE", @@ -70,7 +70,7 @@ export interface CreateDatasetCommandOutput extends CreateDatasetResponse, __Met * tabularSchemaConfig: { // SchemaDefinition * columns: [ // ColumnList * { // ColumnDefinition - * dataType: "STRING_VALUE", + * dataType: "STRING" || "CHAR" || "INTEGER" || "TINYINT" || "SMALLINT" || "BIGINT" || "FLOAT" || "DOUBLE" || "DATE" || "DATETIME" || "BOOLEAN" || "BINARY", * columnName: "STRING_VALUE", * columnDescription: "STRING_VALUE", * }, diff --git a/clients/client-finspace-data/src/commands/CreatePermissionGroupCommand.ts b/clients/client-finspace-data/src/commands/CreatePermissionGroupCommand.ts index 37c409b77098c..db3db729f63ba 100644 --- a/clients/client-finspace-data/src/commands/CreatePermissionGroupCommand.ts +++ b/clients/client-finspace-data/src/commands/CreatePermissionGroupCommand.ts @@ -51,7 +51,7 @@ export interface CreatePermissionGroupCommandOutput extends CreatePermissionGrou * name: "STRING_VALUE", // required * description: "STRING_VALUE", * applicationPermissions: [ // ApplicationPermissionList // required - * "STRING_VALUE", + * "CreateDataset" || "ManageClusters" || "ManageUsersAndGroups" || "ManageAttributeSets" || "ViewAuditData" || "AccessNotebooks" || "GetTemporaryCredentials", * ], * clientToken: "STRING_VALUE", * }; diff --git a/clients/client-finspace-data/src/commands/CreateUserCommand.ts b/clients/client-finspace-data/src/commands/CreateUserCommand.ts index 29b94cadceaa4..54ed6d5bf97af 100644 --- a/clients/client-finspace-data/src/commands/CreateUserCommand.ts +++ b/clients/client-finspace-data/src/commands/CreateUserCommand.ts @@ -45,10 +45,10 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB * const client = new FinspaceDataClient(config); * const input = { // CreateUserRequest * emailAddress: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "SUPER_USER" || "APP_USER", // required * firstName: "STRING_VALUE", * lastName: "STRING_VALUE", - * ApiAccess: "STRING_VALUE", + * ApiAccess: "ENABLED" || "DISABLED", * apiAccessPrincipalArn: "STRING_VALUE", * clientToken: "STRING_VALUE", * }; diff --git a/clients/client-finspace-data/src/commands/GetChangesetCommand.ts b/clients/client-finspace-data/src/commands/GetChangesetCommand.ts index a4092ea23bae0..f71c615315ef0 100644 --- a/clients/client-finspace-data/src/commands/GetChangesetCommand.ts +++ b/clients/client-finspace-data/src/commands/GetChangesetCommand.ts @@ -53,7 +53,7 @@ export interface GetChangesetCommandOutput extends GetChangesetResponse, __Metad * // changesetId: "STRING_VALUE", * // changesetArn: "STRING_VALUE", * // datasetId: "STRING_VALUE", - * // changeType: "STRING_VALUE", + * // changeType: "REPLACE" || "APPEND" || "MODIFY", * // sourceParams: { // SourceParams * // "": "STRING_VALUE", * // }, @@ -61,10 +61,10 @@ export interface GetChangesetCommandOutput extends GetChangesetResponse, __Metad * // "": "STRING_VALUE", * // }, * // createTime: Number("long"), - * // status: "STRING_VALUE", + * // status: "PENDING" || "FAILED" || "SUCCESS" || "RUNNING" || "STOP_REQUESTED", * // errorInfo: { // ChangesetErrorInfo * // errorMessage: "STRING_VALUE", - * // errorCategory: "STRING_VALUE", + * // errorCategory: "VALIDATION" || "SERVICE_QUOTA_EXCEEDED" || "ACCESS_DENIED" || "RESOURCE_NOT_FOUND" || "THROTTLING" || "INTERNAL_SERVICE_EXCEPTION" || "CANCELLED" || "USER_RECOVERABLE", * // }, * // activeUntilTimestamp: Number("long"), * // activeFromTimestamp: Number("long"), diff --git a/clients/client-finspace-data/src/commands/GetDataViewCommand.ts b/clients/client-finspace-data/src/commands/GetDataViewCommand.ts index 322d1fca9f1ff..54b4453b28639 100644 --- a/clients/client-finspace-data/src/commands/GetDataViewCommand.ts +++ b/clients/client-finspace-data/src/commands/GetDataViewCommand.ts @@ -58,7 +58,7 @@ export interface GetDataViewCommandOutput extends GetDataViewResponse, __Metadat * // asOfTimestamp: Number("long"), * // errorInfo: { // DataViewErrorInfo * // errorMessage: "STRING_VALUE", - * // errorCategory: "STRING_VALUE", + * // errorCategory: "VALIDATION" || "SERVICE_QUOTA_EXCEEDED" || "ACCESS_DENIED" || "RESOURCE_NOT_FOUND" || "THROTTLING" || "INTERNAL_SERVICE_EXCEPTION" || "CANCELLED" || "USER_RECOVERABLE", * // }, * // lastModifiedTime: Number("long"), * // createTime: Number("long"), @@ -69,12 +69,12 @@ export interface GetDataViewCommandOutput extends GetDataViewResponse, __Metadat * // dataViewArn: "STRING_VALUE", * // destinationTypeParams: { // DataViewDestinationTypeParams * // destinationType: "STRING_VALUE", // required - * // s3DestinationExportFileFormat: "STRING_VALUE", + * // s3DestinationExportFileFormat: "PARQUET" || "DELIMITED_TEXT", * // s3DestinationExportFileFormatOptions: { // S3DestinationFormatOptions * // "": "STRING_VALUE", * // }, * // }, - * // status: "STRING_VALUE", + * // status: "RUNNING" || "STARTING" || "FAILED" || "CANCELLED" || "TIMEOUT" || "SUCCESS" || "PENDING" || "FAILED_CLEANUP_FAILED", * // }; * * ``` diff --git a/clients/client-finspace-data/src/commands/GetDatasetCommand.ts b/clients/client-finspace-data/src/commands/GetDatasetCommand.ts index 329450a824be9..35ed276fe79bd 100644 --- a/clients/client-finspace-data/src/commands/GetDatasetCommand.ts +++ b/clients/client-finspace-data/src/commands/GetDatasetCommand.ts @@ -52,7 +52,7 @@ export interface GetDatasetCommandOutput extends GetDatasetResponse, __MetadataB * // datasetId: "STRING_VALUE", * // datasetArn: "STRING_VALUE", * // datasetTitle: "STRING_VALUE", - * // kind: "STRING_VALUE", + * // kind: "TABULAR" || "NON_TABULAR", * // datasetDescription: "STRING_VALUE", * // createTime: Number("long"), * // lastModifiedTime: Number("long"), @@ -60,7 +60,7 @@ export interface GetDatasetCommandOutput extends GetDatasetResponse, __MetadataB * // tabularSchemaConfig: { // SchemaDefinition * // columns: [ // ColumnList * // { // ColumnDefinition - * // dataType: "STRING_VALUE", + * // dataType: "STRING" || "CHAR" || "INTEGER" || "TINYINT" || "SMALLINT" || "BIGINT" || "FLOAT" || "DOUBLE" || "DATE" || "DATETIME" || "BOOLEAN" || "BINARY", * // columnName: "STRING_VALUE", * // columnDescription: "STRING_VALUE", * // }, @@ -71,7 +71,7 @@ export interface GetDatasetCommandOutput extends GetDatasetResponse, __MetadataB * // }, * // }, * // alias: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "PENDING" || "FAILED" || "SUCCESS" || "RUNNING", * // }; * * ``` diff --git a/clients/client-finspace-data/src/commands/GetPermissionGroupCommand.ts b/clients/client-finspace-data/src/commands/GetPermissionGroupCommand.ts index 99c95990a24d0..0b7542fd16bf8 100644 --- a/clients/client-finspace-data/src/commands/GetPermissionGroupCommand.ts +++ b/clients/client-finspace-data/src/commands/GetPermissionGroupCommand.ts @@ -58,11 +58,11 @@ export interface GetPermissionGroupCommandOutput extends GetPermissionGroupRespo * // name: "STRING_VALUE", * // description: "STRING_VALUE", * // applicationPermissions: [ // ApplicationPermissionList - * // "STRING_VALUE", + * // "CreateDataset" || "ManageClusters" || "ManageUsersAndGroups" || "ManageAttributeSets" || "ViewAuditData" || "AccessNotebooks" || "GetTemporaryCredentials", * // ], * // createTime: Number("long"), * // lastModifiedTime: Number("long"), - * // membershipStatus: "STRING_VALUE", + * // membershipStatus: "ADDITION_IN_PROGRESS" || "ADDITION_SUCCESS" || "REMOVAL_IN_PROGRESS", * // }, * // }; * diff --git a/clients/client-finspace-data/src/commands/GetUserCommand.ts b/clients/client-finspace-data/src/commands/GetUserCommand.ts index 2be0f54ccc356..9dddbd8799c2c 100644 --- a/clients/client-finspace-data/src/commands/GetUserCommand.ts +++ b/clients/client-finspace-data/src/commands/GetUserCommand.ts @@ -50,12 +50,12 @@ export interface GetUserCommandOutput extends GetUserResponse, __MetadataBearer * const response = await client.send(command); * // { // GetUserResponse * // userId: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "CREATING" || "ENABLED" || "DISABLED", * // firstName: "STRING_VALUE", * // lastName: "STRING_VALUE", * // emailAddress: "STRING_VALUE", - * // type: "STRING_VALUE", - * // apiAccess: "STRING_VALUE", + * // type: "SUPER_USER" || "APP_USER", + * // apiAccess: "ENABLED" || "DISABLED", * // apiAccessPrincipalArn: "STRING_VALUE", * // createTime: Number("long"), * // lastEnabledTime: Number("long"), diff --git a/clients/client-finspace-data/src/commands/GetWorkingLocationCommand.ts b/clients/client-finspace-data/src/commands/GetWorkingLocationCommand.ts index 37ca69fe10a91..00dcd114a31b2 100644 --- a/clients/client-finspace-data/src/commands/GetWorkingLocationCommand.ts +++ b/clients/client-finspace-data/src/commands/GetWorkingLocationCommand.ts @@ -45,7 +45,7 @@ export interface GetWorkingLocationCommandOutput extends GetWorkingLocationRespo * // const { FinspaceDataClient, GetWorkingLocationCommand } = require("@aws-sdk/client-finspace-data"); // CommonJS import * const client = new FinspaceDataClient(config); * const input = { // GetWorkingLocationRequest - * locationType: "STRING_VALUE", + * locationType: "INGESTION" || "SAGEMAKER", * }; * const command = new GetWorkingLocationCommand(input); * const response = await client.send(command); diff --git a/clients/client-finspace-data/src/commands/ListChangesetsCommand.ts b/clients/client-finspace-data/src/commands/ListChangesetsCommand.ts index 2bed8e2e6aee2..1dd74cb51fc8d 100644 --- a/clients/client-finspace-data/src/commands/ListChangesetsCommand.ts +++ b/clients/client-finspace-data/src/commands/ListChangesetsCommand.ts @@ -56,7 +56,7 @@ export interface ListChangesetsCommandOutput extends ListChangesetsResponse, __M * // changesetId: "STRING_VALUE", * // changesetArn: "STRING_VALUE", * // datasetId: "STRING_VALUE", - * // changeType: "STRING_VALUE", + * // changeType: "REPLACE" || "APPEND" || "MODIFY", * // sourceParams: { // SourceParams * // "": "STRING_VALUE", * // }, @@ -64,10 +64,10 @@ export interface ListChangesetsCommandOutput extends ListChangesetsResponse, __M * // "": "STRING_VALUE", * // }, * // createTime: Number("long"), - * // status: "STRING_VALUE", + * // status: "PENDING" || "FAILED" || "SUCCESS" || "RUNNING" || "STOP_REQUESTED", * // errorInfo: { // ChangesetErrorInfo * // errorMessage: "STRING_VALUE", - * // errorCategory: "STRING_VALUE", + * // errorCategory: "VALIDATION" || "SERVICE_QUOTA_EXCEEDED" || "ACCESS_DENIED" || "RESOURCE_NOT_FOUND" || "THROTTLING" || "INTERNAL_SERVICE_EXCEPTION" || "CANCELLED" || "USER_RECOVERABLE", * // }, * // activeUntilTimestamp: Number("long"), * // activeFromTimestamp: Number("long"), diff --git a/clients/client-finspace-data/src/commands/ListDataViewsCommand.ts b/clients/client-finspace-data/src/commands/ListDataViewsCommand.ts index dfb463ad1511e..cd72c189b6d67 100644 --- a/clients/client-finspace-data/src/commands/ListDataViewsCommand.ts +++ b/clients/client-finspace-data/src/commands/ListDataViewsCommand.ts @@ -64,14 +64,14 @@ export interface ListDataViewsCommandOutput extends ListDataViewsResponse, __Met * // sortColumns: [ // SortColumnList * // "STRING_VALUE", * // ], - * // status: "STRING_VALUE", + * // status: "RUNNING" || "STARTING" || "FAILED" || "CANCELLED" || "TIMEOUT" || "SUCCESS" || "PENDING" || "FAILED_CLEANUP_FAILED", * // errorInfo: { // DataViewErrorInfo * // errorMessage: "STRING_VALUE", - * // errorCategory: "STRING_VALUE", + * // errorCategory: "VALIDATION" || "SERVICE_QUOTA_EXCEEDED" || "ACCESS_DENIED" || "RESOURCE_NOT_FOUND" || "THROTTLING" || "INTERNAL_SERVICE_EXCEPTION" || "CANCELLED" || "USER_RECOVERABLE", * // }, * // destinationTypeProperties: { // DataViewDestinationTypeParams * // destinationType: "STRING_VALUE", // required - * // s3DestinationExportFileFormat: "STRING_VALUE", + * // s3DestinationExportFileFormat: "PARQUET" || "DELIMITED_TEXT", * // s3DestinationExportFileFormatOptions: { // S3DestinationFormatOptions * // "": "STRING_VALUE", * // }, diff --git a/clients/client-finspace-data/src/commands/ListDatasetsCommand.ts b/clients/client-finspace-data/src/commands/ListDatasetsCommand.ts index 9ded1825a8e3b..4d8fc3c7ba9ec 100644 --- a/clients/client-finspace-data/src/commands/ListDatasetsCommand.ts +++ b/clients/client-finspace-data/src/commands/ListDatasetsCommand.ts @@ -55,7 +55,7 @@ export interface ListDatasetsCommandOutput extends ListDatasetsResponse, __Metad * // datasetId: "STRING_VALUE", * // datasetArn: "STRING_VALUE", * // datasetTitle: "STRING_VALUE", - * // kind: "STRING_VALUE", + * // kind: "TABULAR" || "NON_TABULAR", * // datasetDescription: "STRING_VALUE", * // ownerInfo: { // DatasetOwnerInfo * // name: "STRING_VALUE", @@ -68,7 +68,7 @@ export interface ListDatasetsCommandOutput extends ListDatasetsResponse, __Metad * // tabularSchemaConfig: { // SchemaDefinition * // columns: [ // ColumnList * // { // ColumnDefinition - * // dataType: "STRING_VALUE", + * // dataType: "STRING" || "CHAR" || "INTEGER" || "TINYINT" || "SMALLINT" || "BIGINT" || "FLOAT" || "DOUBLE" || "DATE" || "DATETIME" || "BOOLEAN" || "BINARY", * // columnName: "STRING_VALUE", * // columnDescription: "STRING_VALUE", * // }, diff --git a/clients/client-finspace-data/src/commands/ListPermissionGroupsByUserCommand.ts b/clients/client-finspace-data/src/commands/ListPermissionGroupsByUserCommand.ts index f28ebc1acea0e..3625f13a54214 100644 --- a/clients/client-finspace-data/src/commands/ListPermissionGroupsByUserCommand.ts +++ b/clients/client-finspace-data/src/commands/ListPermissionGroupsByUserCommand.ts @@ -59,7 +59,7 @@ export interface ListPermissionGroupsByUserCommandOutput extends ListPermissionG * // { // PermissionGroupByUser * // permissionGroupId: "STRING_VALUE", * // name: "STRING_VALUE", - * // membershipStatus: "STRING_VALUE", + * // membershipStatus: "ADDITION_IN_PROGRESS" || "ADDITION_SUCCESS" || "REMOVAL_IN_PROGRESS", * // }, * // ], * // nextToken: "STRING_VALUE", diff --git a/clients/client-finspace-data/src/commands/ListPermissionGroupsCommand.ts b/clients/client-finspace-data/src/commands/ListPermissionGroupsCommand.ts index 77783423d3007..541a6bb4bb49a 100644 --- a/clients/client-finspace-data/src/commands/ListPermissionGroupsCommand.ts +++ b/clients/client-finspace-data/src/commands/ListPermissionGroupsCommand.ts @@ -60,11 +60,11 @@ export interface ListPermissionGroupsCommandOutput extends ListPermissionGroupsR * // name: "STRING_VALUE", * // description: "STRING_VALUE", * // applicationPermissions: [ // ApplicationPermissionList - * // "STRING_VALUE", + * // "CreateDataset" || "ManageClusters" || "ManageUsersAndGroups" || "ManageAttributeSets" || "ViewAuditData" || "AccessNotebooks" || "GetTemporaryCredentials", * // ], * // createTime: Number("long"), * // lastModifiedTime: Number("long"), - * // membershipStatus: "STRING_VALUE", + * // membershipStatus: "ADDITION_IN_PROGRESS" || "ADDITION_SUCCESS" || "REMOVAL_IN_PROGRESS", * // }, * // ], * // nextToken: "STRING_VALUE", diff --git a/clients/client-finspace-data/src/commands/ListUsersByPermissionGroupCommand.ts b/clients/client-finspace-data/src/commands/ListUsersByPermissionGroupCommand.ts index 2acdb8f73ec99..4b943a9a407c3 100644 --- a/clients/client-finspace-data/src/commands/ListUsersByPermissionGroupCommand.ts +++ b/clients/client-finspace-data/src/commands/ListUsersByPermissionGroupCommand.ts @@ -58,14 +58,14 @@ export interface ListUsersByPermissionGroupCommandOutput extends ListUsersByPerm * // users: [ // UserByPermissionGroupList * // { // UserByPermissionGroup * // userId: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "CREATING" || "ENABLED" || "DISABLED", * // firstName: "STRING_VALUE", * // lastName: "STRING_VALUE", * // emailAddress: "STRING_VALUE", - * // type: "STRING_VALUE", - * // apiAccess: "STRING_VALUE", + * // type: "SUPER_USER" || "APP_USER", + * // apiAccess: "ENABLED" || "DISABLED", * // apiAccessPrincipalArn: "STRING_VALUE", - * // membershipStatus: "STRING_VALUE", + * // membershipStatus: "ADDITION_IN_PROGRESS" || "ADDITION_SUCCESS" || "REMOVAL_IN_PROGRESS", * // }, * // ], * // nextToken: "STRING_VALUE", diff --git a/clients/client-finspace-data/src/commands/ListUsersCommand.ts b/clients/client-finspace-data/src/commands/ListUsersCommand.ts index 31281a91422b1..def41d84fba2b 100644 --- a/clients/client-finspace-data/src/commands/ListUsersCommand.ts +++ b/clients/client-finspace-data/src/commands/ListUsersCommand.ts @@ -53,12 +53,12 @@ export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBea * // users: [ // UserList * // { // User * // userId: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "CREATING" || "ENABLED" || "DISABLED", * // firstName: "STRING_VALUE", * // lastName: "STRING_VALUE", * // emailAddress: "STRING_VALUE", - * // type: "STRING_VALUE", - * // apiAccess: "STRING_VALUE", + * // type: "SUPER_USER" || "APP_USER", + * // apiAccess: "ENABLED" || "DISABLED", * // apiAccessPrincipalArn: "STRING_VALUE", * // createTime: Number("long"), * // lastEnabledTime: Number("long"), diff --git a/clients/client-finspace-data/src/commands/UpdateDatasetCommand.ts b/clients/client-finspace-data/src/commands/UpdateDatasetCommand.ts index 77923db07308f..3e929fb7530b8 100644 --- a/clients/client-finspace-data/src/commands/UpdateDatasetCommand.ts +++ b/clients/client-finspace-data/src/commands/UpdateDatasetCommand.ts @@ -47,14 +47,14 @@ export interface UpdateDatasetCommandOutput extends UpdateDatasetResponse, __Met * clientToken: "STRING_VALUE", * datasetId: "STRING_VALUE", // required * datasetTitle: "STRING_VALUE", // required - * kind: "STRING_VALUE", // required + * kind: "TABULAR" || "NON_TABULAR", // required * datasetDescription: "STRING_VALUE", * alias: "STRING_VALUE", * schemaDefinition: { // SchemaUnion * tabularSchemaConfig: { // SchemaDefinition * columns: [ // ColumnList * { // ColumnDefinition - * dataType: "STRING_VALUE", + * dataType: "STRING" || "CHAR" || "INTEGER" || "TINYINT" || "SMALLINT" || "BIGINT" || "FLOAT" || "DOUBLE" || "DATE" || "DATETIME" || "BOOLEAN" || "BINARY", * columnName: "STRING_VALUE", * columnDescription: "STRING_VALUE", * }, diff --git a/clients/client-finspace-data/src/commands/UpdatePermissionGroupCommand.ts b/clients/client-finspace-data/src/commands/UpdatePermissionGroupCommand.ts index 6c89f1686871a..547189007ee23 100644 --- a/clients/client-finspace-data/src/commands/UpdatePermissionGroupCommand.ts +++ b/clients/client-finspace-data/src/commands/UpdatePermissionGroupCommand.ts @@ -52,7 +52,7 @@ export interface UpdatePermissionGroupCommandOutput extends UpdatePermissionGrou * name: "STRING_VALUE", * description: "STRING_VALUE", * applicationPermissions: [ // ApplicationPermissionList - * "STRING_VALUE", + * "CreateDataset" || "ManageClusters" || "ManageUsersAndGroups" || "ManageAttributeSets" || "ViewAuditData" || "AccessNotebooks" || "GetTemporaryCredentials", * ], * clientToken: "STRING_VALUE", * }; diff --git a/clients/client-finspace-data/src/commands/UpdateUserCommand.ts b/clients/client-finspace-data/src/commands/UpdateUserCommand.ts index 7be871fa81caa..31eff4c3e03d6 100644 --- a/clients/client-finspace-data/src/commands/UpdateUserCommand.ts +++ b/clients/client-finspace-data/src/commands/UpdateUserCommand.ts @@ -45,10 +45,10 @@ export interface UpdateUserCommandOutput extends UpdateUserResponse, __MetadataB * const client = new FinspaceDataClient(config); * const input = { // UpdateUserRequest * userId: "STRING_VALUE", // required - * type: "STRING_VALUE", + * type: "SUPER_USER" || "APP_USER", * firstName: "STRING_VALUE", * lastName: "STRING_VALUE", - * apiAccess: "STRING_VALUE", + * apiAccess: "ENABLED" || "DISABLED", * apiAccessPrincipalArn: "STRING_VALUE", * clientToken: "STRING_VALUE", * }; diff --git a/clients/client-finspace-data/src/endpoint/ruleset.ts b/clients/client-finspace-data/src/endpoint/ruleset.ts index fb41647c6ac62..3750ef31d663c 100644 --- a/clients/client-finspace-data/src/endpoint/ruleset.ts +++ b/clients/client-finspace-data/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/finspace-data.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://finspace-api-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://finspace-api-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://finspace-api.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://finspace-api.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://finspace-api-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://finspace-api-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://finspace-api.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://finspace-api.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-finspace-data/src/models/models_0.ts b/clients/client-finspace-data/src/models/models_0.ts index cba3c4ef437b0..ccec5c234ac26 100644 --- a/clients/client-finspace-data/src/models/models_0.ts +++ b/clients/client-finspace-data/src/models/models_0.ts @@ -325,7 +325,6 @@ export interface CreateChangesetRequest { * XML – XML source file format.

                                                                                                                                                                                                                              * *
                                                                                                                                                                                                                            - * *

                                                                                                                                                                                                                            Here is an example of how you could specify the formatParams:

                                                                                                                                                                                                                            *

                                                                                                                                                                                                                            * @@ -3073,7 +3072,6 @@ export interface UpdateChangesetRequest { * XML – XML source file format.

                                                                                                                                                                                                                            * *
                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                          Here is an example of how you could specify the formatParams:

                                                                                                                                                                                                                          *

                                                                                                                                                                                                                          * diff --git a/clients/client-firehose/src/commands/CreateDeliveryStreamCommand.ts b/clients/client-firehose/src/commands/CreateDeliveryStreamCommand.ts index 8846adb4daa2f..d0164119b9229 100644 --- a/clients/client-firehose/src/commands/CreateDeliveryStreamCommand.ts +++ b/clients/client-firehose/src/commands/CreateDeliveryStreamCommand.ts @@ -41,7 +41,6 @@ export interface CreateDeliveryStreamCommandOutput extends CreateDeliveryStreamO /** * @public *

                                                                                                                                                                                                                          Creates a Kinesis Data Firehose delivery stream.

                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                          By default, you can create up to 50 delivery streams per Amazon Web Services * Region.

                                                                                                                                                                                                                          *

                                                                                                                                                                                                                          This is an asynchronous operation that immediately returns. The initial status of the @@ -80,7 +79,6 @@ export interface CreateDeliveryStreamCommandOutput extends CreateDeliveryStreamO * boundaries might be such that the size is a little over or under the configured buffering * size. By default, no encryption is performed. We strongly recommend that you enable * encryption to ensure secure data storage in Amazon S3.

                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                          A few notes about Amazon Redshift as a destination:

                                                                                                                                                                                                                          *
                                                                                                                                                                                                                            *
                                                                                                                                                                                                                          • @@ -89,7 +87,6 @@ export interface CreateDeliveryStreamCommandOutput extends CreateDeliveryStreamO * COPY syntax to load data into an Amazon Redshift table. This is * specified in the RedshiftDestinationConfiguration.S3Configuration * parameter.

                                                                                                                                                                                                                            - * *
                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                          • *

                                                                                                                                                                                                                            The compression formats SNAPPY or ZIP cannot be @@ -101,7 +98,6 @@ export interface CreateDeliveryStreamCommandOutput extends CreateDeliveryStreamO *

                                                                                                                                                                                                                            We strongly recommend that you use the user name and password you provide * exclusively with Kinesis Data Firehose, and that the permissions for the account are * restricted for Amazon Redshift INSERT permissions.

                                                                                                                                                                                                                            - * *
                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                          *

                                                                                                                                                                                                                          Kinesis Data Firehose assumes the IAM role that is configured as part of the diff --git a/clients/client-firehose/src/commands/PutRecordBatchCommand.ts b/clients/client-firehose/src/commands/PutRecordBatchCommand.ts index 341d4d3a968c5..dd5d10fd1796d 100644 --- a/clients/client-firehose/src/commands/PutRecordBatchCommand.ts +++ b/clients/client-firehose/src/commands/PutRecordBatchCommand.ts @@ -78,7 +78,6 @@ export interface PutRecordBatchCommandOutput extends PutRecordBatchOutput, __Met *

                                                                                                                                                                                                                          If PutRecordBatch throws ServiceUnavailableException, * back off and retry. If the exception persists, it is possible that the throughput limits * have been exceeded for the delivery stream.

                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                          Data records sent to Kinesis Data Firehose are stored for 24 hours from the time they * are added to a delivery stream as it attempts to send the records to the destination. If * the destination is unreachable for more than 24 hours, the data is no longer diff --git a/clients/client-firehose/src/commands/PutRecordCommand.ts b/clients/client-firehose/src/commands/PutRecordCommand.ts index d81d16eb4c81e..f1c9abfe7b3f7 100644 --- a/clients/client-firehose/src/commands/PutRecordCommand.ts +++ b/clients/client-firehose/src/commands/PutRecordCommand.ts @@ -63,7 +63,6 @@ export interface PutRecordCommandOutput extends PutRecordOutput, __MetadataBeare * are added to a delivery stream as it tries to send the records to the destination. If the * destination is unreachable for more than 24 hours, the data is no longer * available.

                                                                                                                                                                                                                          - * * *

                                                                                                                                                                                                                          Don't concatenate two or more base64 strings to form the data fields of your records. * Instead, concatenate the raw data, then perform base64 encoding.

                                                                                                                                                                                                                          diff --git a/clients/client-firehose/src/commands/UpdateDestinationCommand.ts b/clients/client-firehose/src/commands/UpdateDestinationCommand.ts index 619fe342d74a1..c1988f6ec1386 100644 --- a/clients/client-firehose/src/commands/UpdateDestinationCommand.ts +++ b/clients/client-firehose/src/commands/UpdateDestinationCommand.ts @@ -41,7 +41,6 @@ export interface UpdateDestinationCommandOutput extends UpdateDestinationOutput, /** * @public *

                                                                                                                                                                                                                          Updates the specified destination of the specified delivery stream.

                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                          Use this operation to change the destination type (for example, to replace the Amazon * S3 destination with Amazon Redshift) or change the parameters associated with a destination * (for example, to change the bucket name of the Amazon S3 destination). The update might not @@ -58,7 +57,6 @@ export interface UpdateDestinationCommandOutput extends UpdateDestinationOutput, *

                                                                                                                                                                                                                          If the destination type is not the same, for example, changing the destination from * Amazon S3 to Amazon Redshift, Kinesis Data Firehose does not merge any parameters. In this * case, all parameters must be specified.

                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                          Kinesis Data Firehose uses CurrentDeliveryStreamVersionId to avoid race * conditions and conflicting merges. This is a required field, and the service updates the * configuration only if the existing configuration has a version ID that matches. After the diff --git a/clients/client-firehose/src/endpoint/ruleset.ts b/clients/client-firehose/src/endpoint/ruleset.ts index 9d30402a87f4d..af082e4af5d35 100644 --- a/clients/client-firehose/src/endpoint/ruleset.ts +++ b/clients/client-firehose/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/firehose.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://firehose-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://firehose-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://firehose.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://firehose.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://firehose-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://firehose-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://firehose.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://firehose.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-firehose/src/models/models_0.ts b/clients/client-firehose/src/models/models_0.ts index 8279b1424b4b5..87d61600ca33a 100644 --- a/clients/client-firehose/src/models/models_0.ts +++ b/clients/client-firehose/src/models/models_0.ts @@ -1453,7 +1453,6 @@ export interface ElasticsearchDestinationConfiguration { * for DescribeDomain, DescribeDomains, and * DescribeDomainConfig after assuming the role specified in RoleARN. For more information, see Amazon Resource Names (ARNs) and * Amazon Web Services Service Namespaces.

                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                          Specify either ClusterEndpoint or DomainARN.

                                                                                                                                                                                                                          */ DomainARN?: string; @@ -1476,7 +1475,6 @@ export interface ElasticsearchDestinationConfiguration { *

                                                                                                                                                                                                                          The Elasticsearch type name. For Elasticsearch 6.x, there can be only one type per * index. If you try to specify a new type for an existing index that already has another * type, Kinesis Data Firehose returns an error during run time.

                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                          For Elasticsearch 7.x, don't specify a TypeName.

                                                                                                                                                                                                                          */ TypeName?: string; @@ -2709,7 +2707,6 @@ export interface CreateDeliveryStreamInput { * distinguish the delivery stream. For more information about tags, see Using * Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User * Guide.

                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                          You can specify up to 50 tags when creating a delivery stream.

                                                                                                                                                                                                                          */ Tags?: Tag[]; @@ -3009,7 +3006,6 @@ export interface ElasticsearchDestinationDescription { * @public *

                                                                                                                                                                                                                          The ARN of the Amazon ES domain. For more information, see Amazon * Resource Names (ARNs) and Amazon Web Services Service Namespaces.

                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                          Kinesis Data Firehose uses either ClusterEndpoint or DomainARN * to send data to Amazon ES.

                                                                                                                                                                                                                          */ @@ -3675,7 +3671,6 @@ export interface ElasticsearchDestinationUpdate { * DescribeDomainConfig after assuming the IAM role specified in * RoleARN. For more information, see Amazon Resource Names (ARNs) and * Amazon Web Services Service Namespaces.

                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                          Specify either ClusterEndpoint or DomainARN.

                                                                                                                                                                                                                          */ DomainARN?: string; @@ -3698,7 +3693,6 @@ export interface ElasticsearchDestinationUpdate { *

                                                                                                                                                                                                                          The Elasticsearch type name. For Elasticsearch 6.x, there can be only one type per * index. If you try to specify a new type for an existing index that already has another * type, Kinesis Data Firehose returns an error during runtime.

                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                          If you upgrade Elasticsearch from 6.x to 7.x and don’t update your delivery stream, * Kinesis Data Firehose still delivers data to Elasticsearch with the old index name and type * name. If you want to update your delivery stream with a new index name, provide an empty diff --git a/clients/client-fis/src/endpoint/EndpointParameters.ts b/clients/client-fis/src/endpoint/EndpointParameters.ts index 6fb8e33df8987..1595f6619e0d7 100644 --- a/clients/client-fis/src/endpoint/EndpointParameters.ts +++ b/clients/client-fis/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-fis/src/endpoint/ruleset.ts b/clients/client-fis/src/endpoint/ruleset.ts index 91c96a37efe30..73543b7d6f059 100644 --- a/clients/client-fis/src/endpoint/ruleset.ts +++ b/clients/client-fis/src/endpoint/ruleset.ts @@ -6,26 +6,27 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/fis.json */ -const s="fn", -t="argv", -u="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h="getAttr", -i={"required":true,"default":false,"type":"Boolean"}, -j={[u]:"Endpoint"}, -k={[s]:"booleanEquals",[t]:[{[u]:"UseFIPS"},true]}, -l={[s]:"booleanEquals",[t]:[{[u]:"UseDualStack"},true]}, -m={}, -n={[s]:"booleanEquals",[t]:[true,{[s]:h,[t]:[{[u]:d},"supportsFIPS"]}]}, -o={[u]:d}, -p={[s]:"booleanEquals",[t]:[true,{[s]:h,[t]:[o,"supportsDualStack"]}]}, +const s="required", +t="fn", +u="argv", +v="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f="getAttr", +g={[s]:false,"type":"String"}, +h={[s]:true,"default":false,"type":"Boolean"}, +i={[v]:"Endpoint"}, +j={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, +k={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, +l={}, +m={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[{[v]:e},"supportsFIPS"]}]}, +n={[v]:e}, +o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, +p=[j], q=[k], -r=[l]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:i,UseFIPS:i,Endpoint:{required:b,type:c}},rules:[{conditions:[{[s]:"aws.partition",[t]:[{[u]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[s]:"isSet",[t]:[j]}],type:e,rules:[{conditions:q,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:r,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:j,properties:m,headers:m},type:g}]}]},{conditions:[k,l],type:e,rules:[{conditions:[n,p],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://fis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:g}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:q,type:e,rules:[{conditions:[n],type:e,rules:[{type:e,rules:[{conditions:[{[s]:"stringEquals",[t]:["aws-us-gov",{[s]:h,[t]:[o,"name"]}]}],endpoint:{url:"https://fis.{Region}.amazonaws.com",properties:m,headers:m},type:g},{endpoint:{url:"https://fis-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:r,type:e,rules:[{conditions:[p],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://fis.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:g}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{type:e,rules:[{endpoint:{url:"https://fis.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:g}]}]}]}; +r=[{[v]:"Region"}]; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://fis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://fis.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://fis-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://fis.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://fis.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-fms/src/endpoint/ruleset.ts b/clients/client-fms/src/endpoint/ruleset.ts index aa787ad6e8ea7..d998bd0658bb3 100644 --- a/clients/client-fms/src/endpoint/ruleset.ts +++ b/clients/client-fms/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://fms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://fms-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://fms.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://fms.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://fms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://fms-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://fms.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://fms.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-forecast/src/endpoint/EndpointParameters.ts b/clients/client-forecast/src/endpoint/EndpointParameters.ts index 285f2cc71206b..e4c4d3a3c3482 100644 --- a/clients/client-forecast/src/endpoint/EndpointParameters.ts +++ b/clients/client-forecast/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-forecast/src/endpoint/ruleset.ts b/clients/client-forecast/src/endpoint/ruleset.ts index 888ad662e2b0b..96993aeb8bd07 100644 --- a/clients/client-forecast/src/endpoint/ruleset.ts +++ b/clients/client-forecast/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/forecast.json */ -const q="fn", -r="argv", -s="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h={"required":true,"default":false,"type":"Boolean"}, -i={[s]:"Endpoint"}, -j={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -k={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -l={}, -m={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsFIPS"]}]}, -n={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsDualStack"]}]}, +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], o=[j], -p=[k]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[q]:"isSet",[r]:[i]}],type:e,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{endpoint:{url:"https://forecast-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:o,type:e,rules:[{conditions:[m],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://forecast-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:p,type:e,rules:[{conditions:[n],type:e,rules:[{endpoint:{url:"https://forecast.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{endpoint:{url:"https://forecast.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]}; +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://forecast-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://forecast-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://forecast.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://forecast.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-forecastquery/src/endpoint/ruleset.ts b/clients/client-forecastquery/src/endpoint/ruleset.ts index ddcfaddf4e300..72681e8bb6aad 100644 --- a/clients/client-forecastquery/src/endpoint/ruleset.ts +++ b/clients/client-forecastquery/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/forecastquery.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://forecastquery-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://forecastquery-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://forecastquery.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://forecastquery.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://forecastquery-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://forecastquery-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://forecastquery.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://forecastquery.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-frauddetector/src/endpoint/ruleset.ts b/clients/client-frauddetector/src/endpoint/ruleset.ts index 52cb4a8d4df68..722de9d5cd6c2 100644 --- a/clients/client-frauddetector/src/endpoint/ruleset.ts +++ b/clients/client-frauddetector/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://frauddetector-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://frauddetector-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://frauddetector.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://frauddetector.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://frauddetector-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://frauddetector-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://frauddetector.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://frauddetector.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-gamesparks/src/endpoint/ruleset.ts b/clients/client-gamesparks/src/endpoint/ruleset.ts index e7ee6cd3f7aa8..240cac88bc714 100644 --- a/clients/client-gamesparks/src/endpoint/ruleset.ts +++ b/clients/client-gamesparks/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/gamesparks.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://gamesparks-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://gamesparks-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://gamesparks.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://gamesparks.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://gamesparks-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://gamesparks-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://gamesparks.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://gamesparks.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-glacier/src/endpoint/EndpointParameters.ts b/clients/client-glacier/src/endpoint/EndpointParameters.ts index 71570403bc842..5b22a4717e2ca 100644 --- a/clients/client-glacier/src/endpoint/EndpointParameters.ts +++ b/clients/client-glacier/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-glacier/src/endpoint/ruleset.ts b/clients/client-glacier/src/endpoint/ruleset.ts index f194faca407c7..454f3b2688a4e 100644 --- a/clients/client-glacier/src/endpoint/ruleset.ts +++ b/clients/client-glacier/src/endpoint/ruleset.ts @@ -6,28 +6,27 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/glacier.json */ -const u="fn", -v="argv", -w="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h="getAttr", -i="stringEquals", -j={"required":true,"default":false,"type":"Boolean"}, -k={[w]:"Region"}, -l={[w]:"Endpoint"}, -m={[u]:"booleanEquals",[v]:[{[w]:"UseFIPS"},true]}, -n={[u]:"booleanEquals",[v]:[{[w]:"UseDualStack"},true]}, -o={}, -p={[u]:"booleanEquals",[v]:[true,{[u]:h,[v]:[{[w]:d},"supportsFIPS"]}]}, -q={[w]:d}, -r={[u]:"booleanEquals",[v]:[true,{[u]:h,[v]:[q,"supportsDualStack"]}]}, -s=[m], -t=[n]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:j,UseFIPS:j,Endpoint:{required:b,type:c}},rules:[{conditions:[{[u]:"aws.partition",[v]:[k],assign:d}],type:e,rules:[{conditions:[{[u]:"isSet",[v]:[l]}],type:e,rules:[{conditions:s,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:t,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:l,properties:o,headers:o},type:g}]}]},{conditions:[m,n],type:e,rules:[{conditions:[p,r],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://glacier-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:o,headers:o},type:g}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:s,type:e,rules:[{conditions:[p],type:e,rules:[{type:e,rules:[{conditions:[{[u]:i,[v]:["aws-us-gov",{[u]:h,[v]:[q,"name"]}]}],endpoint:{url:"https://glacier.{Region}.amazonaws.com",properties:o,headers:o},type:g},{endpoint:{url:"https://glacier-fips.{Region}.{PartitionResult#dnsSuffix}",properties:o,headers:o},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:t,type:e,rules:[{conditions:[r],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://glacier.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:o,headers:o},type:g}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{type:e,rules:[{conditions:[{[u]:i,[v]:[k,"us-gov-east-1"]}],endpoint:{url:"https://glacier.us-gov-east-1.amazonaws.com",properties:o,headers:o},type:g},{conditions:[{[u]:i,[v]:[k,"us-gov-west-1"]}],endpoint:{url:"https://glacier.us-gov-west-1.amazonaws.com",properties:o,headers:o},type:g},{endpoint:{url:"https://glacier.{Region}.{PartitionResult#dnsSuffix}",properties:o,headers:o},type:g}]}]}]}; +const s="required", +t="fn", +u="argv", +v="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f="getAttr", +g={[s]:false,"type":"String"}, +h={[s]:true,"default":false,"type":"Boolean"}, +i={[v]:"Endpoint"}, +j={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, +k={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, +l={}, +m={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[{[v]:e},"supportsFIPS"]}]}, +n={[v]:e}, +o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, +p=[j], +q=[k], +r=[{[v]:"Region"}]; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://glacier-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://glacier.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://glacier-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://glacier.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://glacier.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-greengrass/src/endpoint/EndpointParameters.ts b/clients/client-greengrass/src/endpoint/EndpointParameters.ts index 2248c2ec97151..583c508296be4 100644 --- a/clients/client-greengrass/src/endpoint/EndpointParameters.ts +++ b/clients/client-greengrass/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-greengrass/src/endpoint/ruleset.ts b/clients/client-greengrass/src/endpoint/ruleset.ts index 6d5a669979ecf..dd0a8d2045dd4 100644 --- a/clients/client-greengrass/src/endpoint/ruleset.ts +++ b/clients/client-greengrass/src/endpoint/ruleset.ts @@ -6,36 +6,31 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/greengrass.json */ -const y="type", -z="conditions", -A="fn", -B="argv", -C="ref", -D="properties", -E="headers"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h="stringEquals", -i="us-gov-east-1", -j="us-gov-west-1", -k="sigv4", -l="greengrass", -m={"required":true,"default":false,[y]:"Boolean"}, -n={[C]:"Region"}, -o={[C]:"Endpoint"}, -p={[A]:"booleanEquals",[B]:[{[C]:"UseFIPS"},true]}, -q={[A]:"booleanEquals",[B]:[{[C]:"UseDualStack"},true]}, -r={}, -s={[A]:"booleanEquals",[B]:[true,{[A]:"getAttr",[B]:[{[C]:d},"supportsFIPS"]}]}, -t={[A]:"booleanEquals",[B]:[true,{[A]:"getAttr",[B]:[{[C]:d},"supportsDualStack"]}]}, -u={[z]:[{[A]:h,[B]:[n,i]}],[g]:{"url":"https://greengrass.us-gov-east-1.amazonaws.com",[D]:{},[E]:{}},[y]:g}, -v={[z]:[{[A]:h,[B]:[n,j]}],[g]:{"url":"https://greengrass.us-gov-west-1.amazonaws.com",[D]:{},[E]:{}},[y]:g}, -w=[p], -x=[q]; -const _data={version:"1.0",parameters:{Region:{required:a,[y]:c},UseDualStack:m,UseFIPS:m,Endpoint:{required:b,[y]:c}},rules:[{[z]:[{[A]:"aws.partition",[B]:[n],assign:d}],[y]:e,rules:[{[z]:[{[A]:"isSet",[B]:[o]}],[y]:e,rules:[{[z]:w,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[y]:f},{[y]:e,rules:[{[z]:x,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[y]:f},{endpoint:{url:o,[D]:r,[E]:r},[y]:g}]}]},{[z]:[p,q],[y]:e,rules:[{[z]:[s,t],[y]:e,rules:[{[y]:e,rules:[{endpoint:{url:"https://greengrass-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",[D]:r,[E]:r},[y]:g}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[y]:f}]},{[z]:w,[y]:e,rules:[{[z]:[s],[y]:e,rules:[{[y]:e,rules:[u,v,{endpoint:{url:"https://greengrass-fips.{Region}.{PartitionResult#dnsSuffix}",[D]:r,[E]:r},[y]:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",[y]:f}]},{[z]:x,[y]:e,rules:[{[z]:[t],[y]:e,rules:[{[y]:e,rules:[{endpoint:{url:"https://greengrass.{Region}.{PartitionResult#dualStackDnsSuffix}",[D]:r,[E]:r},[y]:g}]}]},{error:"DualStack is enabled but this partition does not support DualStack",[y]:f}]},{[y]:e,rules:[{[z]:[{[A]:h,[B]:[n,"dataplane-us-gov-east-1"]}],endpoint:{url:"https://greengrass-ats.iot.us-gov-east-1.amazonaws.com",[D]:{authSchemes:[{name:k,signingRegion:i,signingName:l}]},[E]:r},[y]:g},{[z]:[{[A]:h,[B]:[n,"dataplane-us-gov-west-1"]}],endpoint:{url:"https://greengrass-ats.iot.us-gov-west-1.amazonaws.com",[D]:{authSchemes:[{name:k,signingRegion:j,signingName:l}]},[E]:r},[y]:g},u,v,{endpoint:{url:"https://greengrass.{Region}.{PartitionResult#dnsSuffix}",[D]:r,[E]:r},[y]:g}]}]}]}; +const w="required", +x="fn", +y="argv", +z="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f="stringEquals", +g="us-gov-east-1", +h="us-gov-west-1", +i="sigv4", +j="greengrass", +k={[w]:false,"type":"String"}, +l={[w]:true,"default":false,"type":"Boolean"}, +m={[z]:"Endpoint"}, +n={[x]:"booleanEquals",[y]:[{[z]:"UseFIPS"},true]}, +o={[x]:"booleanEquals",[y]:[{[z]:"UseDualStack"},true]}, +p={}, +q={[z]:"Region"}, +r={[x]:"booleanEquals",[y]:[true,{[x]:"getAttr",[y]:[{[z]:e},"supportsFIPS"]}]}, +s={[x]:"booleanEquals",[y]:[true,{[x]:"getAttr",[y]:[{[z]:e},"supportsDualStack"]}]}, +t=[n], +u=[o], +v=[q]; +const _data={version:"1.0",parameters:{Region:k,UseDualStack:l,UseFIPS:l,Endpoint:k},rules:[{conditions:[{[x]:a,[y]:[m]}],type:b,rules:[{conditions:t,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:u,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:m,properties:p,headers:p},type:d}]},{conditions:[{[x]:a,[y]:v}],type:b,rules:[{conditions:[{[x]:"aws.partition",[y]:v,assign:e}],type:b,rules:[{conditions:[n,o],type:b,rules:[{conditions:[r,s],type:b,rules:[{endpoint:{url:"https://greengrass-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:t,type:b,rules:[{conditions:[r],type:b,rules:[{conditions:[{[x]:f,[y]:[q,g]}],endpoint:{url:"https://greengrass.us-gov-east-1.amazonaws.com",properties:p,headers:p},type:d},{conditions:[{[x]:f,[y]:[q,h]}],endpoint:{url:"https://greengrass.us-gov-west-1.amazonaws.com",properties:p,headers:p},type:d},{endpoint:{url:"https://greengrass-fips.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:u,type:b,rules:[{conditions:[s],type:b,rules:[{endpoint:{url:"https://greengrass.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{conditions:[{[x]:f,[y]:[q,"dataplane-us-gov-east-1"]}],endpoint:{url:"https://greengrass-ats.iot.us-gov-east-1.amazonaws.com",properties:{authSchemes:[{name:i,signingName:j,signingRegion:g}]},headers:p},type:d},{conditions:[{[x]:f,[y]:[q,"dataplane-us-gov-west-1"]}],endpoint:{url:"https://greengrass-ats.iot.us-gov-west-1.amazonaws.com",properties:{authSchemes:[{name:i,signingName:j,signingRegion:h}]},headers:p},type:d},{endpoint:{url:"https://greengrass.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-greengrassv2/src/endpoint/ruleset.ts b/clients/client-greengrassv2/src/endpoint/ruleset.ts index c05b7b50a8a78..8a57e1f1986da 100644 --- a/clients/client-greengrassv2/src/endpoint/ruleset.ts +++ b/clients/client-greengrassv2/src/endpoint/ruleset.ts @@ -32,5 +32,5 @@ s={[x]:"booleanEquals",[y]:[true,{[x]:"getAttr",[y]:[{[z]:e},"supportsDualStack" t=[n], u=[o], v=[q]; -const _data={version:"1.0",parameters:{Region:k,UseDualStack:l,UseFIPS:l,Endpoint:k},rules:[{conditions:[{[x]:a,[y]:[m]}],type:b,rules:[{conditions:t,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:u,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:m,properties:p,headers:p},type:d}]}]},{type:b,rules:[{conditions:[{[x]:a,[y]:v}],type:b,rules:[{conditions:[{[x]:"aws.partition",[y]:v,assign:e}],type:b,rules:[{conditions:[n,o],type:b,rules:[{conditions:[r,s],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://greengrass-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:t,type:b,rules:[{conditions:[r],type:b,rules:[{type:b,rules:[{conditions:[{[x]:f,[y]:[q,g]}],endpoint:{url:"https://greengrass.us-gov-east-1.amazonaws.com",properties:p,headers:p},type:d},{conditions:[{[x]:f,[y]:[q,h]}],endpoint:{url:"https://greengrass.us-gov-west-1.amazonaws.com",properties:p,headers:p},type:d},{endpoint:{url:"https://greengrass-fips.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:u,type:b,rules:[{conditions:[s],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://greengrass.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{conditions:[{[x]:f,[y]:[q,"dataplane-us-gov-east-1"]}],endpoint:{url:"https://greengrass-ats.iot.us-gov-east-1.amazonaws.com",properties:{authSchemes:[{name:i,signingName:j,signingRegion:g}]},headers:p},type:d},{conditions:[{[x]:f,[y]:[q,"dataplane-us-gov-west-1"]}],endpoint:{url:"https://greengrass-ats.iot.us-gov-west-1.amazonaws.com",properties:{authSchemes:[{name:i,signingName:j,signingRegion:h}]},headers:p},type:d},{endpoint:{url:"https://greengrass.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:k,UseDualStack:l,UseFIPS:l,Endpoint:k},rules:[{conditions:[{[x]:a,[y]:[m]}],type:b,rules:[{conditions:t,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:u,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:m,properties:p,headers:p},type:d}]},{conditions:[{[x]:a,[y]:v}],type:b,rules:[{conditions:[{[x]:"aws.partition",[y]:v,assign:e}],type:b,rules:[{conditions:[n,o],type:b,rules:[{conditions:[r,s],type:b,rules:[{endpoint:{url:"https://greengrass-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:t,type:b,rules:[{conditions:[r],type:b,rules:[{conditions:[{[x]:f,[y]:[q,g]}],endpoint:{url:"https://greengrass.us-gov-east-1.amazonaws.com",properties:p,headers:p},type:d},{conditions:[{[x]:f,[y]:[q,h]}],endpoint:{url:"https://greengrass.us-gov-west-1.amazonaws.com",properties:p,headers:p},type:d},{endpoint:{url:"https://greengrass-fips.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:u,type:b,rules:[{conditions:[s],type:b,rules:[{endpoint:{url:"https://greengrass.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{conditions:[{[x]:f,[y]:[q,"dataplane-us-gov-east-1"]}],endpoint:{url:"https://greengrass-ats.iot.us-gov-east-1.amazonaws.com",properties:{authSchemes:[{name:i,signingName:j,signingRegion:g}]},headers:p},type:d},{conditions:[{[x]:f,[y]:[q,"dataplane-us-gov-west-1"]}],endpoint:{url:"https://greengrass-ats.iot.us-gov-west-1.amazonaws.com",properties:{authSchemes:[{name:i,signingName:j,signingRegion:h}]},headers:p},type:d},{endpoint:{url:"https://greengrass.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-groundstation/src/endpoint/ruleset.ts b/clients/client-groundstation/src/endpoint/ruleset.ts index f76c686f95137..d5ff61ef49c22 100644 --- a/clients/client-groundstation/src/endpoint/ruleset.ts +++ b/clients/client-groundstation/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://groundstation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://groundstation-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://groundstation.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://groundstation.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://groundstation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://groundstation-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://groundstation.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://groundstation.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-healthlake/src/endpoint/ruleset.ts b/clients/client-healthlake/src/endpoint/ruleset.ts index f3719b5847bf5..35b25bdc3133c 100644 --- a/clients/client-healthlake/src/endpoint/ruleset.ts +++ b/clients/client-healthlake/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://healthlake-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://healthlake-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://healthlake.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://healthlake.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://healthlake-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://healthlake-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://healthlake.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://healthlake.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-honeycode/src/commands/BatchCreateTableRowsCommand.ts b/clients/client-honeycode/src/commands/BatchCreateTableRowsCommand.ts index 613b484eca84e..ffc3d1a11743c 100644 --- a/clients/client-honeycode/src/commands/BatchCreateTableRowsCommand.ts +++ b/clients/client-honeycode/src/commands/BatchCreateTableRowsCommand.ts @@ -44,7 +44,7 @@ export interface BatchCreateTableRowsCommandOutput extends BatchCreateTableRowsR * The BatchCreateTableRows API allows you to create one or more rows at the end of a table in a workbook. * The API allows you to specify the values to set in some or all of the columns in the new rows. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a column is not explicitly set in a specific row, then the column level formula specified in the table * will be applied to the new row. If there is no column level formula but the last row of the table has a * formula, then that formula will be copied down to the new row. If there is no column level formula and diff --git a/clients/client-honeycode/src/commands/BatchUpdateTableRowsCommand.ts b/clients/client-honeycode/src/commands/BatchUpdateTableRowsCommand.ts index 5c864f716d217..30b285278bd20 100644 --- a/clients/client-honeycode/src/commands/BatchUpdateTableRowsCommand.ts +++ b/clients/client-honeycode/src/commands/BatchUpdateTableRowsCommand.ts @@ -43,7 +43,7 @@ export interface BatchUpdateTableRowsCommandOutput extends BatchUpdateTableRowsR *

                                                                                                                                                                                                                          * The BatchUpdateTableRows API allows you to update one or more rows in a table in a workbook. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * You can specify the values to set in some or all of the columns in the table for the specified * rows. * If a column is not explicitly specified in a particular row, then that column will not be updated diff --git a/clients/client-honeycode/src/commands/BatchUpsertTableRowsCommand.ts b/clients/client-honeycode/src/commands/BatchUpsertTableRowsCommand.ts index 2806f9ae51c3b..9545dc91e6975 100644 --- a/clients/client-honeycode/src/commands/BatchUpsertTableRowsCommand.ts +++ b/clients/client-honeycode/src/commands/BatchUpsertTableRowsCommand.ts @@ -47,7 +47,7 @@ export interface BatchUpsertTableRowsCommandOutput extends BatchUpsertTableRowsR * in the request. If no matching rows are found, a new row is added at the end of the table and the cells in * that row are set to the new values specified in the request. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * You can specify the values to set in some or all of the columns in the table for the * matching or newly appended rows. If a column is not explicitly specified for a particular row, then that * column will not be updated for that row. To clear out the data in a specific cell, you need to set the value @@ -89,7 +89,7 @@ export interface BatchUpsertTableRowsCommandOutput extends BatchUpsertTableRowsR * // rowIds: [ // RowIdList // required * // "STRING_VALUE", * // ], - * // upsertAction: "STRING_VALUE", // required + * // upsertAction: "UPDATED" || "APPENDED", // required * // }, * // }, * // workbookCursor: Number("long"), // required diff --git a/clients/client-honeycode/src/commands/DescribeTableDataImportJobCommand.ts b/clients/client-honeycode/src/commands/DescribeTableDataImportJobCommand.ts index 1bf100c6c5878..6b41bb7738e0c 100644 --- a/clients/client-honeycode/src/commands/DescribeTableDataImportJobCommand.ts +++ b/clients/client-honeycode/src/commands/DescribeTableDataImportJobCommand.ts @@ -57,7 +57,7 @@ export interface DescribeTableDataImportJobCommandOutput extends DescribeTableDa * const command = new DescribeTableDataImportJobCommand(input); * const response = await client.send(command); * // { // DescribeTableDataImportJobResult - * // jobStatus: "STRING_VALUE", // required + * // jobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED", // required * // message: "STRING_VALUE", // required * // jobMetadata: { // TableDataImportJobMetadata * // submitter: { // ImportJobSubmitter @@ -77,7 +77,7 @@ export interface DescribeTableDataImportJobCommandOutput extends DescribeTableDa * // delimiter: "STRING_VALUE", // required * // hasHeaderRow: true || false, * // ignoreEmptyRows: true || false, - * // dataCharacterEncoding: "STRING_VALUE", + * // dataCharacterEncoding: "UTF-8" || "US-ASCII" || "ISO-8859-1" || "UTF-16BE" || "UTF-16LE" || "UTF-16", * // }, * // }, * // dataSource: { // ImportDataSource @@ -86,7 +86,7 @@ export interface DescribeTableDataImportJobCommandOutput extends DescribeTableDa * // }, * // }, * // }, - * // errorCode: "STRING_VALUE", + * // errorCode: "ACCESS_DENIED" || "INVALID_URL_ERROR" || "INVALID_IMPORT_OPTIONS_ERROR" || "INVALID_TABLE_ID_ERROR" || "INVALID_TABLE_COLUMN_ID_ERROR" || "TABLE_NOT_FOUND_ERROR" || "FILE_EMPTY_ERROR" || "INVALID_FILE_TYPE_ERROR" || "FILE_PARSING_ERROR" || "FILE_SIZE_LIMIT_ERROR" || "FILE_NOT_FOUND_ERROR" || "UNKNOWN_ERROR" || "RESOURCE_NOT_FOUND_ERROR" || "SYSTEM_LIMIT_ERROR", * // }; * * ``` diff --git a/clients/client-honeycode/src/commands/GetScreenDataCommand.ts b/clients/client-honeycode/src/commands/GetScreenDataCommand.ts index 73534f6112c71..fac52472cf358 100644 --- a/clients/client-honeycode/src/commands/GetScreenDataCommand.ts +++ b/clients/client-honeycode/src/commands/GetScreenDataCommand.ts @@ -72,7 +72,7 @@ export interface GetScreenDataCommandOutput extends GetScreenDataResult, __Metad * // headers: [ // ResultHeader // required * // { // ColumnMetadata * // name: "STRING_VALUE", // required - * // format: "STRING_VALUE", // required + * // format: "AUTO" || "NUMBER" || "CURRENCY" || "DATE" || "TIME" || "DATE_TIME" || "PERCENTAGE" || "TEXT" || "ACCOUNTING" || "CONTACT" || "ROWLINK" || "ROWSET", // required * // }, * // ], * // rows: [ // ResultRows // required @@ -80,7 +80,7 @@ export interface GetScreenDataCommandOutput extends GetScreenDataResult, __Metad * // rowId: "STRING_VALUE", * // dataItems: [ // DataItems // required * // { // DataItem - * // overrideFormat: "STRING_VALUE", + * // overrideFormat: "AUTO" || "NUMBER" || "CURRENCY" || "DATE" || "TIME" || "DATE_TIME" || "PERCENTAGE" || "TEXT" || "ACCOUNTING" || "CONTACT" || "ROWLINK" || "ROWSET", * // rawValue: "STRING_VALUE", * // formattedValue: "STRING_VALUE", * // }, diff --git a/clients/client-honeycode/src/commands/ListTableColumnsCommand.ts b/clients/client-honeycode/src/commands/ListTableColumnsCommand.ts index e73e0bd145717..4ce7c655a0a56 100644 --- a/clients/client-honeycode/src/commands/ListTableColumnsCommand.ts +++ b/clients/client-honeycode/src/commands/ListTableColumnsCommand.ts @@ -57,7 +57,7 @@ export interface ListTableColumnsCommandOutput extends ListTableColumnsResult, _ * // { // TableColumn * // tableColumnId: "STRING_VALUE", * // tableColumnName: "STRING_VALUE", - * // format: "STRING_VALUE", + * // format: "AUTO" || "NUMBER" || "CURRENCY" || "DATE" || "TIME" || "DATE_TIME" || "PERCENTAGE" || "TEXT" || "ACCOUNTING" || "CONTACT" || "ROWLINK" || "ROWSET", * // }, * // ], * // nextToken: "STRING_VALUE", diff --git a/clients/client-honeycode/src/commands/ListTableRowsCommand.ts b/clients/client-honeycode/src/commands/ListTableRowsCommand.ts index b7f8a43061339..35d010dd75d37 100644 --- a/clients/client-honeycode/src/commands/ListTableRowsCommand.ts +++ b/clients/client-honeycode/src/commands/ListTableRowsCommand.ts @@ -66,7 +66,7 @@ export interface ListTableRowsCommandOutput extends ListTableRowsResult, __Metad * // cells: [ // Cells // required * // { // Cell * // formula: "STRING_VALUE", - * // format: "STRING_VALUE", + * // format: "AUTO" || "NUMBER" || "CURRENCY" || "DATE" || "TIME" || "DATE_TIME" || "PERCENTAGE" || "TEXT" || "ACCOUNTING" || "CONTACT" || "ROWLINK" || "ROWSET", * // rawValue: "STRING_VALUE", * // formattedValue: "STRING_VALUE", * // formattedValues: [ // FormattedValuesList diff --git a/clients/client-honeycode/src/commands/QueryTableRowsCommand.ts b/clients/client-honeycode/src/commands/QueryTableRowsCommand.ts index 0919b49537877..a79bf5bf1efda 100644 --- a/clients/client-honeycode/src/commands/QueryTableRowsCommand.ts +++ b/clients/client-honeycode/src/commands/QueryTableRowsCommand.ts @@ -72,7 +72,7 @@ export interface QueryTableRowsCommandOutput extends QueryTableRowsResult, __Met * // cells: [ // Cells // required * // { // Cell * // formula: "STRING_VALUE", - * // format: "STRING_VALUE", + * // format: "AUTO" || "NUMBER" || "CURRENCY" || "DATE" || "TIME" || "DATE_TIME" || "PERCENTAGE" || "TEXT" || "ACCOUNTING" || "CONTACT" || "ROWLINK" || "ROWSET", * // rawValue: "STRING_VALUE", * // formattedValue: "STRING_VALUE", * // formattedValues: [ // FormattedValuesList diff --git a/clients/client-honeycode/src/commands/StartTableDataImportJobCommand.ts b/clients/client-honeycode/src/commands/StartTableDataImportJobCommand.ts index 5229894f015ce..680241db3393a 100644 --- a/clients/client-honeycode/src/commands/StartTableDataImportJobCommand.ts +++ b/clients/client-honeycode/src/commands/StartTableDataImportJobCommand.ts @@ -58,7 +58,7 @@ export interface StartTableDataImportJobCommandOutput extends StartTableDataImpo * dataSourceUrl: "STRING_VALUE", * }, * }, - * dataFormat: "STRING_VALUE", // required + * dataFormat: "DELIMITED_TEXT", // required * destinationTableId: "STRING_VALUE", // required * importOptions: { // ImportOptions * destinationOptions: { // DestinationOptions @@ -72,7 +72,7 @@ export interface StartTableDataImportJobCommandOutput extends StartTableDataImpo * delimiter: "STRING_VALUE", // required * hasHeaderRow: true || false, * ignoreEmptyRows: true || false, - * dataCharacterEncoding: "STRING_VALUE", + * dataCharacterEncoding: "UTF-8" || "US-ASCII" || "ISO-8859-1" || "UTF-16BE" || "UTF-16LE" || "UTF-16", * }, * }, * clientRequestToken: "STRING_VALUE", // required @@ -81,7 +81,7 @@ export interface StartTableDataImportJobCommandOutput extends StartTableDataImpo * const response = await client.send(command); * // { // StartTableDataImportJobResult * // jobId: "STRING_VALUE", // required - * // jobStatus: "STRING_VALUE", // required + * // jobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED", // required * // }; * * ``` diff --git a/clients/client-honeycode/src/endpoint/ruleset.ts b/clients/client-honeycode/src/endpoint/ruleset.ts index 1aedf72dcc482..37a2a73d71c60 100644 --- a/clients/client-honeycode/src/endpoint/ruleset.ts +++ b/clients/client-honeycode/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/honeycode.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://honeycode-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://honeycode-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://honeycode.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://honeycode.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://honeycode-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://honeycode-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://honeycode.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://honeycode.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-honeycode/src/models/models_0.ts b/clients/client-honeycode/src/models/models_0.ts index 705dfc9c2b892..3a35cde5ad8b1 100644 --- a/clients/client-honeycode/src/models/models_0.ts +++ b/clients/client-honeycode/src/models/models_0.ts @@ -71,12 +71,12 @@ export class AutomationExecutionTimeoutException extends __BaseException { *

                                                                                                                                                                                                                          * CellInput object contains the data needed to create or update cells in a table. *

                                                                                                                                                                                                                          - * + * *

                                                                                                                                                                                                                          * CellInput object has only a facts field or a fact field, but not both. A 400 bad request will be * thrown if both fact and facts field are present. *

                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                          + *
                                                                                                                                                                                                                          */ export interface CellInput { /** @@ -133,7 +133,7 @@ export interface BatchCreateTableRowsRequest { /** * @public *

                                                                                                                                                                                                                          The ID of the workbook where the new rows are being added.

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a workbook with the specified ID could not be found, this API throws ResourceNotFoundException. *

                                                                                                                                                                                                                          */ @@ -142,7 +142,7 @@ export interface BatchCreateTableRowsRequest { /** * @public *

                                                                                                                                                                                                                          The ID of the table where the new rows are being added.

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a table with the specified ID could not be found, this API throws ResourceNotFoundException. *

                                                                                                                                                                                                                          */ @@ -155,7 +155,7 @@ export interface BatchCreateTableRowsRequest { * to uniquely identify the element in the request and the cells to create for that row. * You need to specify at least one item in this list. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Note that if one of the column ids in any of the rows in the request does not exist in the table, then the * request fails and no updates are made to the table. *

                                                                                                                                                                                                                          @@ -171,7 +171,7 @@ export interface BatchCreateTableRowsRequest { * that if the first call using that request token is successfully performed, the second call will not perform * the operation again. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests * spanning hours or days. *

                                                                                                                                                                                                                          @@ -384,7 +384,7 @@ export interface BatchDeleteTableRowsRequest { /** * @public *

                                                                                                                                                                                                                          The ID of the workbook where the rows are being deleted.

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a workbook with the specified id could not be found, this API throws ResourceNotFoundException. *

                                                                                                                                                                                                                          */ @@ -393,7 +393,7 @@ export interface BatchDeleteTableRowsRequest { /** * @public *

                                                                                                                                                                                                                          The ID of the table where the rows are being deleted.

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a table with the specified id could not be found, this API throws ResourceNotFoundException. *

                                                                                                                                                                                                                          */ @@ -404,7 +404,7 @@ export interface BatchDeleteTableRowsRequest { *

                                                                                                                                                                                                                          * The list of row ids to delete from the table. You need to specify at least one row id in this list. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Note that if one of the row ids provided in the request does not exist in the table, then the request fails * and no rows are deleted from the table. *

                                                                                                                                                                                                                          @@ -420,7 +420,7 @@ export interface BatchDeleteTableRowsRequest { * that if the first call using that request token is successfully performed, the second call will not perform * the action again. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests * spanning hours or days. *

                                                                                                                                                                                                                          @@ -481,7 +481,7 @@ export interface BatchUpdateTableRowsRequest { /** * @public *

                                                                                                                                                                                                                          The ID of the workbook where the rows are being updated.

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a workbook with the specified id could not be found, this API throws ResourceNotFoundException. *

                                                                                                                                                                                                                          */ @@ -490,7 +490,7 @@ export interface BatchUpdateTableRowsRequest { /** * @public *

                                                                                                                                                                                                                          The ID of the table where the rows are being updated.

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a table with the specified id could not be found, this API throws ResourceNotFoundException. *

                                                                                                                                                                                                                          */ @@ -504,7 +504,7 @@ export interface BatchUpdateTableRowsRequest { * You need to specify at least one row in this list, and for each row, you need to specify at least one * column to update. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Note that if one of the row or column ids in the request does not exist in the table, then the request fails * and no updates are made to the table. *

                                                                                                                                                                                                                          @@ -520,7 +520,7 @@ export interface BatchUpdateTableRowsRequest { * that if the first call using that request token is successfully performed, the second call will not perform * the action again. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests * spanning hours or days. *

                                                                                                                                                                                                                          @@ -605,7 +605,7 @@ export interface UpsertRowData { * rows. If the formula returns 0 rows, then a new row will be appended in the target table. If the formula * returns one or more rows, then the returned rows will be updated. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Note that the filter formula needs to return rows from the target table for the upsert operation to succeed. * If the filter formula has a syntax error or it doesn't evaluate to zero or more rows in the target table * for any one item in the input list, then the entire BatchUpsertTableRows request fails and no updates are @@ -631,7 +631,7 @@ export interface BatchUpsertTableRowsRequest { /** * @public *

                                                                                                                                                                                                                          The ID of the workbook where the rows are being upserted.

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a workbook with the specified id could not be found, this API throws ResourceNotFoundException. *

                                                                                                                                                                                                                          */ @@ -640,7 +640,7 @@ export interface BatchUpsertTableRowsRequest { /** * @public *

                                                                                                                                                                                                                          The ID of the table where the rows are being upserted.

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a table with the specified id could not be found, this API throws ResourceNotFoundException. *

                                                                                                                                                                                                                          */ @@ -654,7 +654,7 @@ export interface BatchUpsertTableRowsRequest { * and the cell values to set for each column in the upserted rows. You need to specify * at least one item in this list. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Note that if one of the filter formulas in the request fails to evaluate because of an error or one of the * column ids in any of the rows does not exist in the table, then the request fails * and no updates are made to the table. @@ -671,7 +671,7 @@ export interface BatchUpsertTableRowsRequest { * that if the first call using that request token is successfully performed, the second call will not perform * the action again. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests * spanning hours or days. *

                                                                                                                                                                                                                          @@ -800,7 +800,7 @@ export interface Cell { * The raw value of the data contained in the cell. The raw value depends on the format of the data in the * cell. However the attribute in the API return value is always a string containing the raw value. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Cells with format DATE, DATE_TIME or TIME have the raw value as a floating point * number where the whole number represents the number of days since 1/1/1900 and the fractional part * represents the fraction of the day since midnight. For example, a cell with date 11/3/2020 has the raw value @@ -808,7 +808,7 @@ export interface Cell { * 11/3/2020 9:00 AM has the raw value "44138.375". Notice that even though the raw value is a number in all * three cases, it is still represented as a string. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Cells with format NUMBER, CURRENCY, PERCENTAGE and ACCOUNTING have the raw value of the data as the number * representing the data being displayed. For example, the number 1.325 with two decimal places in the format * will have it's raw value as "1.325" and formatted value as "1.33". A currency value for @@ -816,34 +816,34 @@ export interface Cell { * decimal places in the format will have its raw value as "0.2" and the formatted value as "20.00%". An * accounting value of -$25 will have "-25" as the raw value and "$ (25.00)" as the formatted value. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Cells with format TEXT will have the raw text as the raw value. For example, a cell with text "John Smith" * will have "John Smith" as both the raw value and the formatted value. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Cells with format CONTACT will have the name of the contact as a formatted value and the email address of * the contact as the raw value. For example, a contact for John Smith will have "John Smith" as the * formatted value and "john.smith@example.com" as the raw value. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Cells with format ROWLINK (aka picklist) will have the first column of the linked row as the formatted value * and the row id of the linked row as the raw value. For example, a cell containing a picklist to a table * that displays task status might have "Completed" as the formatted value and * "row:dfcefaee-5b37-4355-8f28-40c3e4ff5dd4/ca432b2f-b8eb-431d-9fb5-cbe0342f9f03" as the raw value. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Cells with format ROWSET (aka multi-select or multi-record picklist) will by default have the first column * of each of the linked rows as the formatted value in the list, and the rowset id of the linked rows as the * raw value. For example, a cell containing a multi-select picklist to a table that contains items might have * "Item A", "Item B" in the formatted value list and "rows:b742c1f4-6cb0-4650-a845-35eb86fcc2bb/ * [fdea123b-8f68-474a-aa8a-5ff87aa333af,6daf41f0-a138-4eee-89da-123086d36ecf]" as the raw value. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Cells with format ATTACHMENT will have the name of the attachment as the formatted value and the attachment * id as the raw value. For example, a cell containing an attachment named "image.jpeg" will have * "image.jpeg" as the formatted value and "attachment:ca432b2f-b8eb-431d-9fb5-cbe0342f9f03" as the raw value. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Cells with format AUTO or cells without any format that are auto-detected as one of the formats above will * contain the raw and formatted values as mentioned above, based on the auto-detected formats. If there is no * auto-detected format, the raw and formatted values will be the same as the data in the cell. @@ -856,7 +856,7 @@ export interface Cell { *

                                                                                                                                                                                                                          * The formatted value of the cell. This is the value that you see displayed in the cell in the UI. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Note that the formatted value of a cell is always represented as a string irrespective of the data that is * stored in the cell. For example, if a cell contains a date, the formatted value of the cell is the string * representation of the formatted date being shown in the cell in the UI. See details in the rawValue field @@ -979,7 +979,7 @@ export interface DescribeTableDataImportJobRequest { /** * @public *

                                                                                                                                                                                                                          The ID of the workbook into which data was imported.

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a workbook with the specified id could not be found, this API throws ResourceNotFoundException. *

                                                                                                                                                                                                                          */ @@ -988,7 +988,7 @@ export interface DescribeTableDataImportJobRequest { /** * @public *

                                                                                                                                                                                                                          The ID of the table into which data was imported.

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a table with the specified id could not be found, this API throws ResourceNotFoundException. *

                                                                                                                                                                                                                          */ @@ -997,7 +997,7 @@ export interface DescribeTableDataImportJobRequest { /** * @public *

                                                                                                                                                                                                                          The ID of the job that was returned by the StartTableDataImportJob request.

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a job with the specified id could not be found, this API throws ResourceNotFoundException. *

                                                                                                                                                                                                                          */ @@ -1252,7 +1252,7 @@ export interface GetScreenDataRequest { * The number of results to be returned on a single page. * Specify a number between 1 and 100. The maximum value is 100. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * This parameter is optional. If you don't specify this parameter, the default page size is 100. *

                                                                                                                                                                                                                          */ @@ -1263,7 +1263,7 @@ export interface GetScreenDataRequest { *

                                                                                                                                                                                                                          * This parameter is optional. If a nextToken is not specified, the API returns the first page of data. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API * will throw ValidationException. *

                                                                                                                                                                                                                          @@ -1304,7 +1304,7 @@ export interface ResultSet { * formats are not repeated in the rows. If a particular row does not have a value for a data cell, a blank * value is used. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * For example, a task list that displays the task name, due date and assigned person might have headers * [ \{ "name": "Task Name"\}, \{"name": "Due Date", "format": "DATE"\}, \{"name": "Assigned", "format": "CONTACT"\} ]. * Every row in the result will have the task name as the first item, due date as the second item and assigned @@ -1421,7 +1421,7 @@ export interface InvokeScreenAutomationRequest { * that if the first call using that request token is successfully performed, the second call will return the * response of the previous call rather than performing the action again. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests * spanning hours or days. *

                                                                                                                                                                                                                          @@ -1447,7 +1447,7 @@ export interface ListTableColumnsRequest { /** * @public *

                                                                                                                                                                                                                          The ID of the workbook that contains the table whose columns are being retrieved.

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a workbook with the specified id could not be found, this API throws ResourceNotFoundException. *

                                                                                                                                                                                                                          */ @@ -1456,7 +1456,7 @@ export interface ListTableColumnsRequest { /** * @public *

                                                                                                                                                                                                                          The ID of the table whose columns are being retrieved.

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a table with the specified id could not be found, this API throws ResourceNotFoundException. *

                                                                                                                                                                                                                          */ @@ -1467,7 +1467,7 @@ export interface ListTableColumnsRequest { *

                                                                                                                                                                                                                          * This parameter is optional. If a nextToken is not specified, the API returns the first page of data. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API * will throw ValidationException. *

                                                                                                                                                                                                                          @@ -1541,7 +1541,7 @@ export interface ListTableRowsRequest { /** * @public *

                                                                                                                                                                                                                          The ID of the workbook that contains the table whose rows are being retrieved.

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a workbook with the specified id could not be found, this API throws ResourceNotFoundException. *

                                                                                                                                                                                                                          */ @@ -1550,7 +1550,7 @@ export interface ListTableRowsRequest { /** * @public *

                                                                                                                                                                                                                          The ID of the table whose rows are being retrieved.

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a table with the specified id could not be found, this API throws ResourceNotFoundException. *

                                                                                                                                                                                                                          */ @@ -1577,7 +1577,7 @@ export interface ListTableRowsRequest { *

                                                                                                                                                                                                                          * This parameter is optional. If a nextToken is not specified, the API returns the first page of data. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API * will throw ValidationException. *

                                                                                                                                                                                                                          @@ -1660,7 +1660,7 @@ export interface ListTablesRequest { /** * @public *

                                                                                                                                                                                                                          The ID of the workbook whose tables are being retrieved.

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a workbook with the specified id could not be found, this API throws ResourceNotFoundException. *

                                                                                                                                                                                                                          */ @@ -1677,7 +1677,7 @@ export interface ListTablesRequest { *

                                                                                                                                                                                                                          * This parameter is optional. If a nextToken is not specified, the API returns the first page of data. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API * will throw ValidationException. *

                                                                                                                                                                                                                          @@ -1764,7 +1764,7 @@ export interface QueryTableRowsRequest { /** * @public *

                                                                                                                                                                                                                          The ID of the workbook whose table rows are being queried.

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a workbook with the specified id could not be found, this API throws ResourceNotFoundException. *

                                                                                                                                                                                                                          */ @@ -1773,7 +1773,7 @@ export interface QueryTableRowsRequest { /** * @public *

                                                                                                                                                                                                                          The ID of the table whose rows are being queried.

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a table with the specified id could not be found, this API throws ResourceNotFoundException. *

                                                                                                                                                                                                                          */ @@ -1797,7 +1797,7 @@ export interface QueryTableRowsRequest { *

                                                                                                                                                                                                                          * This parameter is optional. If a nextToken is not specified, the API returns the first page of data. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API * will throw ValidationException. *

                                                                                                                                                                                                                          @@ -1852,7 +1852,7 @@ export interface StartTableDataImportJobRequest { /** * @public *

                                                                                                                                                                                                                          The ID of the workbook where the rows are being imported.

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a workbook with the specified id could not be found, this API throws ResourceNotFoundException. *

                                                                                                                                                                                                                          */ @@ -1878,7 +1878,7 @@ export interface StartTableDataImportJobRequest { /** * @public *

                                                                                                                                                                                                                          The ID of the table where the rows are being imported.

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * If a table with the specified id could not be found, this API throws ResourceNotFoundException. *

                                                                                                                                                                                                                          */ @@ -1901,7 +1901,7 @@ export interface StartTableDataImportJobRequest { * that if the first call using that request token is successfully performed, the second call will not perform * the action again. *

                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          * Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests * spanning hours or days. *

                                                                                                                                                                                                                          diff --git a/clients/client-iam/src/endpoint/ruleset.ts b/clients/client-iam/src/endpoint/ruleset.ts index 870f8af4309c2..ebd9ad6767cee 100644 --- a/clients/client-iam/src/endpoint/ruleset.ts +++ b/clients/client-iam/src/endpoint/ruleset.ts @@ -39,5 +39,5 @@ w={[B]:"booleanEquals",[C]:[true,{[B]:"getAttr",[C]:[{[D]:e},"supportsDualStack" x=[l], y=[m], z=[{[D]:"Region"}]; -const _data={version:"1.0",parameters:{Region:i,UseDualStack:j,UseFIPS:j,Endpoint:i},rules:[{conditions:[{[B]:a,[C]:[k]}],type:b,rules:[{conditions:x,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:y,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:k,properties:n,headers:n},type:d}]}]},{type:b,rules:[{conditions:[{[B]:a,[C]:z}],type:b,rules:[{conditions:[{[B]:"aws.partition",[C]:z,assign:e}],type:b,rules:[{conditions:[o,q,r],endpoint:{url:"https://iam.amazonaws.com",properties:s,headers:n},type:d},{conditions:[o,l,r],endpoint:{url:"https://iam-fips.amazonaws.com",properties:s,headers:n},type:d},{conditions:[{[B]:f,[C]:[p,"aws-cn"]},q,r],endpoint:{url:"https://iam.cn-north-1.amazonaws.com.cn",properties:{[E]:[{name:g,[F]:h,[G]:"cn-north-1"}]},headers:n},type:d},{conditions:[t,q,r],endpoint:u,type:d},{conditions:[t,l,r],endpoint:u,type:d},{conditions:[{[B]:f,[C]:[p,"aws-iso"]},q,r],endpoint:{url:"https://iam.us-iso-east-1.c2s.ic.gov",properties:{[E]:[{name:g,[F]:h,[G]:"us-iso-east-1"}]},headers:n},type:d},{conditions:[{[B]:f,[C]:[p,"aws-iso-b"]},q,r],endpoint:{url:"https://iam.us-isob-east-1.sc2s.sgov.gov",properties:{[E]:[{name:g,[F]:h,[G]:"us-isob-east-1"}]},headers:n},type:d},{conditions:[l,m],type:b,rules:[{conditions:[v,w],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iam-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:x,type:b,rules:[{conditions:[v],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iam-fips.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:y,type:b,rules:[{conditions:[w],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iam.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://iam.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:i,UseDualStack:j,UseFIPS:j,Endpoint:i},rules:[{conditions:[{[B]:a,[C]:[k]}],type:b,rules:[{conditions:x,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:y,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:k,properties:n,headers:n},type:d}]},{conditions:[{[B]:a,[C]:z}],type:b,rules:[{conditions:[{[B]:"aws.partition",[C]:z,assign:e}],type:b,rules:[{conditions:[o,q,r],endpoint:{url:"https://iam.amazonaws.com",properties:s,headers:n},type:d},{conditions:[o,l,r],endpoint:{url:"https://iam-fips.amazonaws.com",properties:s,headers:n},type:d},{conditions:[{[B]:f,[C]:[p,"aws-cn"]},q,r],endpoint:{url:"https://iam.cn-north-1.amazonaws.com.cn",properties:{[E]:[{name:g,[F]:h,[G]:"cn-north-1"}]},headers:n},type:d},{conditions:[t,q,r],endpoint:u,type:d},{conditions:[t,l,r],endpoint:u,type:d},{conditions:[{[B]:f,[C]:[p,"aws-iso"]},q,r],endpoint:{url:"https://iam.us-iso-east-1.c2s.ic.gov",properties:{[E]:[{name:g,[F]:h,[G]:"us-iso-east-1"}]},headers:n},type:d},{conditions:[{[B]:f,[C]:[p,"aws-iso-b"]},q,r],endpoint:{url:"https://iam.us-isob-east-1.sc2s.sgov.gov",properties:{[E]:[{name:g,[F]:h,[G]:"us-isob-east-1"}]},headers:n},type:d},{conditions:[l,m],type:b,rules:[{conditions:[v,w],type:b,rules:[{endpoint:{url:"https://iam-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:x,type:b,rules:[{conditions:[v],type:b,rules:[{endpoint:{url:"https://iam-fips.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:y,type:b,rules:[{conditions:[w],type:b,rules:[{endpoint:{url:"https://iam.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://iam.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-imagebuilder/src/endpoint/ruleset.ts b/clients/client-imagebuilder/src/endpoint/ruleset.ts index 54536d104c5c4..70da301630ede 100644 --- a/clients/client-imagebuilder/src/endpoint/ruleset.ts +++ b/clients/client-imagebuilder/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, p=[j], q=[k], r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://imagebuilder-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://imagebuilder.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://imagebuilder-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://imagebuilder.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://imagebuilder.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://imagebuilder-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://imagebuilder.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://imagebuilder-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://imagebuilder.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://imagebuilder.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-inspector/src/commands/AddAttributesToFindingsCommand.ts b/clients/client-inspector/src/commands/AddAttributesToFindingsCommand.ts index a845dcff78788..c9acbbd4489fe 100644 --- a/clients/client-inspector/src/commands/AddAttributesToFindingsCommand.ts +++ b/clients/client-inspector/src/commands/AddAttributesToFindingsCommand.ts @@ -60,7 +60,7 @@ export interface AddAttributesToFindingsCommandOutput extends AddAttributesToFin * // { // AddAttributesToFindingsResponse * // failedItems: { // FailedItems // required * // "": { // FailedItemDetails - * // failureCode: "STRING_VALUE", // required + * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required * // retryable: true || false, // required * // }, * // }, diff --git a/clients/client-inspector/src/commands/DescribeAssessmentRunsCommand.ts b/clients/client-inspector/src/commands/DescribeAssessmentRunsCommand.ts index 00efc463d1935..6a271f8a101dc 100644 --- a/clients/client-inspector/src/commands/DescribeAssessmentRunsCommand.ts +++ b/clients/client-inspector/src/commands/DescribeAssessmentRunsCommand.ts @@ -57,7 +57,7 @@ export interface DescribeAssessmentRunsCommandOutput extends DescribeAssessmentR * // arn: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // assessmentTemplateArn: "STRING_VALUE", // required - * // state: "STRING_VALUE", // required + * // state: "CREATED" || "START_DATA_COLLECTION_PENDING" || "START_DATA_COLLECTION_IN_PROGRESS" || "COLLECTING_DATA" || "STOP_DATA_COLLECTION_PENDING" || "DATA_COLLECTED" || "START_EVALUATING_RULES_PENDING" || "EVALUATING_RULES" || "FAILED" || "ERROR" || "COMPLETED" || "COMPLETED_WITH_ERRORS" || "CANCELED", // required * // durationInSeconds: Number("int"), // required * // rulesPackageArns: [ // AssessmentRulesPackageArnList // required * // "STRING_VALUE", @@ -76,17 +76,17 @@ export interface DescribeAssessmentRunsCommandOutput extends DescribeAssessmentR * // stateChanges: [ // AssessmentRunStateChangeList // required * // { // AssessmentRunStateChange * // stateChangedAt: new Date("TIMESTAMP"), // required - * // state: "STRING_VALUE", // required + * // state: "CREATED" || "START_DATA_COLLECTION_PENDING" || "START_DATA_COLLECTION_IN_PROGRESS" || "COLLECTING_DATA" || "STOP_DATA_COLLECTION_PENDING" || "DATA_COLLECTED" || "START_EVALUATING_RULES_PENDING" || "EVALUATING_RULES" || "FAILED" || "ERROR" || "COMPLETED" || "COMPLETED_WITH_ERRORS" || "CANCELED", // required * // }, * // ], * // notifications: [ // AssessmentRunNotificationList // required * // { // AssessmentRunNotification * // date: new Date("TIMESTAMP"), // required - * // event: "STRING_VALUE", // required + * // event: "ASSESSMENT_RUN_STARTED" || "ASSESSMENT_RUN_COMPLETED" || "ASSESSMENT_RUN_STATE_CHANGED" || "FINDING_REPORTED" || "OTHER", // required * // message: "STRING_VALUE", * // error: true || false, // required * // snsTopicArn: "STRING_VALUE", - * // snsPublishStatusCode: "STRING_VALUE", + * // snsPublishStatusCode: "SUCCESS" || "TOPIC_DOES_NOT_EXIST" || "ACCESS_DENIED" || "INTERNAL_ERROR", * // }, * // ], * // findingCounts: { // AssessmentRunFindingCounts // required @@ -96,7 +96,7 @@ export interface DescribeAssessmentRunsCommandOutput extends DescribeAssessmentR * // ], * // failedItems: { // FailedItems // required * // "": { // FailedItemDetails - * // failureCode: "STRING_VALUE", // required + * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required * // retryable: true || false, // required * // }, * // }, diff --git a/clients/client-inspector/src/commands/DescribeAssessmentTargetsCommand.ts b/clients/client-inspector/src/commands/DescribeAssessmentTargetsCommand.ts index 8d3cf39ff05aa..f497cfd12c337 100644 --- a/clients/client-inspector/src/commands/DescribeAssessmentTargetsCommand.ts +++ b/clients/client-inspector/src/commands/DescribeAssessmentTargetsCommand.ts @@ -63,7 +63,7 @@ export interface DescribeAssessmentTargetsCommandOutput extends DescribeAssessme * // ], * // failedItems: { // FailedItems // required * // "": { // FailedItemDetails - * // failureCode: "STRING_VALUE", // required + * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required * // retryable: true || false, // required * // }, * // }, diff --git a/clients/client-inspector/src/commands/DescribeAssessmentTemplatesCommand.ts b/clients/client-inspector/src/commands/DescribeAssessmentTemplatesCommand.ts index 9e8e2a4bacaaf..861b059f498ec 100644 --- a/clients/client-inspector/src/commands/DescribeAssessmentTemplatesCommand.ts +++ b/clients/client-inspector/src/commands/DescribeAssessmentTemplatesCommand.ts @@ -76,7 +76,7 @@ export interface DescribeAssessmentTemplatesCommandOutput * // ], * // failedItems: { // FailedItems // required * // "": { // FailedItemDetails - * // failureCode: "STRING_VALUE", // required + * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required * // retryable: true || false, // required * // }, * // }, diff --git a/clients/client-inspector/src/commands/DescribeExclusionsCommand.ts b/clients/client-inspector/src/commands/DescribeExclusionsCommand.ts index c377891179449..e54066140e4ee 100644 --- a/clients/client-inspector/src/commands/DescribeExclusionsCommand.ts +++ b/clients/client-inspector/src/commands/DescribeExclusionsCommand.ts @@ -47,7 +47,7 @@ export interface DescribeExclusionsCommandOutput extends DescribeExclusionsRespo * exclusionArns: [ // BatchDescribeExclusionsArnList // required * "STRING_VALUE", * ], - * locale: "STRING_VALUE", + * locale: "EN_US", * }; * const command = new DescribeExclusionsCommand(input); * const response = await client.send(command); @@ -60,7 +60,7 @@ export interface DescribeExclusionsCommandOutput extends DescribeExclusionsRespo * // recommendation: "STRING_VALUE", // required * // scopes: [ // ScopeList // required * // { // Scope - * // key: "STRING_VALUE", + * // key: "INSTANCE_ID" || "RULES_PACKAGE_ARN", * // value: "STRING_VALUE", * // }, * // ], @@ -74,7 +74,7 @@ export interface DescribeExclusionsCommandOutput extends DescribeExclusionsRespo * // }, * // failedItems: { // FailedItems // required * // "": { // FailedItemDetails - * // failureCode: "STRING_VALUE", // required + * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required * // retryable: true || false, // required * // }, * // }, diff --git a/clients/client-inspector/src/commands/DescribeFindingsCommand.ts b/clients/client-inspector/src/commands/DescribeFindingsCommand.ts index 2c380e454fb10..f55fd1005e18d 100644 --- a/clients/client-inspector/src/commands/DescribeFindingsCommand.ts +++ b/clients/client-inspector/src/commands/DescribeFindingsCommand.ts @@ -47,7 +47,7 @@ export interface DescribeFindingsCommandOutput extends DescribeFindingsResponse, * findingArns: [ // BatchDescribeArnList // required * "STRING_VALUE", * ], - * locale: "STRING_VALUE", + * locale: "EN_US", * }; * const command = new DescribeFindingsCommand(input); * const response = await client.send(command); @@ -62,7 +62,7 @@ export interface DescribeFindingsCommandOutput extends DescribeFindingsResponse, * // assessmentRunArn: "STRING_VALUE", * // rulesPackageArn: "STRING_VALUE", * // }, - * // assetType: "STRING_VALUE", + * // assetType: "ec2-instance", * // assetAttributes: { // AssetAttributes * // schemaVersion: Number("int"), // required * // agentId: "STRING_VALUE", @@ -109,7 +109,7 @@ export interface DescribeFindingsCommandOutput extends DescribeFindingsResponse, * // title: "STRING_VALUE", * // description: "STRING_VALUE", * // recommendation: "STRING_VALUE", - * // severity: "STRING_VALUE", + * // severity: "Low" || "Medium" || "High" || "Informational" || "Undefined", * // numericSeverity: Number("double"), * // confidence: Number("int"), * // indicatorOfCompromise: true || false, @@ -131,7 +131,7 @@ export interface DescribeFindingsCommandOutput extends DescribeFindingsResponse, * // ], * // failedItems: { // FailedItems // required * // "": { // FailedItemDetails - * // failureCode: "STRING_VALUE", // required + * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required * // retryable: true || false, // required * // }, * // }, diff --git a/clients/client-inspector/src/commands/DescribeResourceGroupsCommand.ts b/clients/client-inspector/src/commands/DescribeResourceGroupsCommand.ts index 23baaf5a572d1..b17da0f316cb7 100644 --- a/clients/client-inspector/src/commands/DescribeResourceGroupsCommand.ts +++ b/clients/client-inspector/src/commands/DescribeResourceGroupsCommand.ts @@ -66,7 +66,7 @@ export interface DescribeResourceGroupsCommandOutput extends DescribeResourceGro * // ], * // failedItems: { // FailedItems // required * // "": { // FailedItemDetails - * // failureCode: "STRING_VALUE", // required + * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required * // retryable: true || false, // required * // }, * // }, diff --git a/clients/client-inspector/src/commands/DescribeRulesPackagesCommand.ts b/clients/client-inspector/src/commands/DescribeRulesPackagesCommand.ts index 3858c93656856..6bc855639a65c 100644 --- a/clients/client-inspector/src/commands/DescribeRulesPackagesCommand.ts +++ b/clients/client-inspector/src/commands/DescribeRulesPackagesCommand.ts @@ -48,7 +48,7 @@ export interface DescribeRulesPackagesCommandOutput extends DescribeRulesPackage * rulesPackageArns: [ // BatchDescribeArnList // required * "STRING_VALUE", * ], - * locale: "STRING_VALUE", + * locale: "EN_US", * }; * const command = new DescribeRulesPackagesCommand(input); * const response = await client.send(command); @@ -64,7 +64,7 @@ export interface DescribeRulesPackagesCommandOutput extends DescribeRulesPackage * // ], * // failedItems: { // FailedItems // required * // "": { // FailedItemDetails - * // failureCode: "STRING_VALUE", // required + * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required * // retryable: true || false, // required * // }, * // }, diff --git a/clients/client-inspector/src/commands/GetAssessmentReportCommand.ts b/clients/client-inspector/src/commands/GetAssessmentReportCommand.ts index 63a199ce52af5..520e5ab016dd9 100644 --- a/clients/client-inspector/src/commands/GetAssessmentReportCommand.ts +++ b/clients/client-inspector/src/commands/GetAssessmentReportCommand.ts @@ -46,13 +46,13 @@ export interface GetAssessmentReportCommandOutput extends GetAssessmentReportRes * const client = new InspectorClient(config); * const input = { // GetAssessmentReportRequest * assessmentRunArn: "STRING_VALUE", // required - * reportFileFormat: "STRING_VALUE", // required - * reportType: "STRING_VALUE", // required + * reportFileFormat: "HTML" || "PDF", // required + * reportType: "FINDING" || "FULL", // required * }; * const command = new GetAssessmentReportCommand(input); * const response = await client.send(command); * // { // GetAssessmentReportResponse - * // status: "STRING_VALUE", // required + * // status: "WORK_IN_PROGRESS" || "FAILED" || "COMPLETED", // required * // url: "STRING_VALUE", * // }; * diff --git a/clients/client-inspector/src/commands/GetExclusionsPreviewCommand.ts b/clients/client-inspector/src/commands/GetExclusionsPreviewCommand.ts index 45984afdd7b18..049bb806864cb 100644 --- a/clients/client-inspector/src/commands/GetExclusionsPreviewCommand.ts +++ b/clients/client-inspector/src/commands/GetExclusionsPreviewCommand.ts @@ -50,12 +50,12 @@ export interface GetExclusionsPreviewCommandOutput extends GetExclusionsPreviewR * previewToken: "STRING_VALUE", // required * nextToken: "STRING_VALUE", * maxResults: Number("int"), - * locale: "STRING_VALUE", + * locale: "EN_US", * }; * const command = new GetExclusionsPreviewCommand(input); * const response = await client.send(command); * // { // GetExclusionsPreviewResponse - * // previewStatus: "STRING_VALUE", // required + * // previewStatus: "WORK_IN_PROGRESS" || "COMPLETED", // required * // exclusionPreviews: [ // ExclusionPreviewList * // { // ExclusionPreview * // title: "STRING_VALUE", // required @@ -63,7 +63,7 @@ export interface GetExclusionsPreviewCommandOutput extends GetExclusionsPreviewR * // recommendation: "STRING_VALUE", // required * // scopes: [ // ScopeList // required * // { // Scope - * // key: "STRING_VALUE", + * // key: "INSTANCE_ID" || "RULES_PACKAGE_ARN", * // value: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-inspector/src/commands/ListAssessmentRunAgentsCommand.ts b/clients/client-inspector/src/commands/ListAssessmentRunAgentsCommand.ts index ae514d7f14787..28c197bb50819 100644 --- a/clients/client-inspector/src/commands/ListAssessmentRunAgentsCommand.ts +++ b/clients/client-inspector/src/commands/ListAssessmentRunAgentsCommand.ts @@ -48,10 +48,10 @@ export interface ListAssessmentRunAgentsCommandOutput extends ListAssessmentRunA * assessmentRunArn: "STRING_VALUE", // required * filter: { // AgentFilter * agentHealths: [ // AgentHealthList // required - * "STRING_VALUE", + * "HEALTHY" || "UNHEALTHY" || "UNKNOWN", * ], * agentHealthCodes: [ // AgentHealthCodeList // required - * "STRING_VALUE", + * "IDLE" || "RUNNING" || "SHUTDOWN" || "UNHEALTHY" || "THROTTLED" || "UNKNOWN", * ], * }, * nextToken: "STRING_VALUE", @@ -64,8 +64,8 @@ export interface ListAssessmentRunAgentsCommandOutput extends ListAssessmentRunA * // { // AssessmentRunAgent * // agentId: "STRING_VALUE", // required * // assessmentRunArn: "STRING_VALUE", // required - * // agentHealth: "STRING_VALUE", // required - * // agentHealthCode: "STRING_VALUE", // required + * // agentHealth: "HEALTHY" || "UNHEALTHY" || "UNKNOWN", // required + * // agentHealthCode: "IDLE" || "RUNNING" || "SHUTDOWN" || "UNHEALTHY" || "THROTTLED" || "UNKNOWN", // required * // agentHealthDetails: "STRING_VALUE", * // autoScalingGroup: "STRING_VALUE", * // telemetryMetadata: [ // TelemetryMetadataList // required diff --git a/clients/client-inspector/src/commands/ListAssessmentRunsCommand.ts b/clients/client-inspector/src/commands/ListAssessmentRunsCommand.ts index 3d37471c1137a..ee025f84b38e4 100644 --- a/clients/client-inspector/src/commands/ListAssessmentRunsCommand.ts +++ b/clients/client-inspector/src/commands/ListAssessmentRunsCommand.ts @@ -51,7 +51,7 @@ export interface ListAssessmentRunsCommandOutput extends ListAssessmentRunsRespo * filter: { // AssessmentRunFilter * namePattern: "STRING_VALUE", * states: [ // AssessmentRunStateList - * "STRING_VALUE", + * "CREATED" || "START_DATA_COLLECTION_PENDING" || "START_DATA_COLLECTION_IN_PROGRESS" || "COLLECTING_DATA" || "STOP_DATA_COLLECTION_PENDING" || "DATA_COLLECTED" || "START_EVALUATING_RULES_PENDING" || "EVALUATING_RULES" || "FAILED" || "ERROR" || "COMPLETED" || "COMPLETED_WITH_ERRORS" || "CANCELED", * ], * durationRange: { // DurationRange * minSeconds: Number("int"), diff --git a/clients/client-inspector/src/commands/ListEventSubscriptionsCommand.ts b/clients/client-inspector/src/commands/ListEventSubscriptionsCommand.ts index 7c12f21025826..efc952f602908 100644 --- a/clients/client-inspector/src/commands/ListEventSubscriptionsCommand.ts +++ b/clients/client-inspector/src/commands/ListEventSubscriptionsCommand.ts @@ -58,7 +58,7 @@ export interface ListEventSubscriptionsCommandOutput extends ListEventSubscripti * // topicArn: "STRING_VALUE", // required * // eventSubscriptions: [ // EventSubscriptionList // required * // { // EventSubscription - * // event: "STRING_VALUE", // required + * // event: "ASSESSMENT_RUN_STARTED" || "ASSESSMENT_RUN_COMPLETED" || "ASSESSMENT_RUN_STATE_CHANGED" || "FINDING_REPORTED" || "OTHER", // required * // subscribedAt: new Date("TIMESTAMP"), // required * // }, * // ], diff --git a/clients/client-inspector/src/commands/ListFindingsCommand.ts b/clients/client-inspector/src/commands/ListFindingsCommand.ts index cd43a05d9a6c9..2820f7968b253 100644 --- a/clients/client-inspector/src/commands/ListFindingsCommand.ts +++ b/clients/client-inspector/src/commands/ListFindingsCommand.ts @@ -59,7 +59,7 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad * "STRING_VALUE", * ], * severities: [ // SeverityList - * "STRING_VALUE", + * "Low" || "Medium" || "High" || "Informational" || "Undefined", * ], * rulesPackageArns: [ // FilterRulesPackageArnList * "STRING_VALUE", diff --git a/clients/client-inspector/src/commands/PreviewAgentsCommand.ts b/clients/client-inspector/src/commands/PreviewAgentsCommand.ts index b84b9716540f6..0362cfe3e68e8 100644 --- a/clients/client-inspector/src/commands/PreviewAgentsCommand.ts +++ b/clients/client-inspector/src/commands/PreviewAgentsCommand.ts @@ -57,7 +57,7 @@ export interface PreviewAgentsCommandOutput extends PreviewAgentsResponse, __Met * // hostname: "STRING_VALUE", * // agentId: "STRING_VALUE", // required * // autoScalingGroup: "STRING_VALUE", - * // agentHealth: "STRING_VALUE", + * // agentHealth: "HEALTHY" || "UNHEALTHY" || "UNKNOWN", * // agentVersion: "STRING_VALUE", * // operatingSystem: "STRING_VALUE", * // kernelVersion: "STRING_VALUE", diff --git a/clients/client-inspector/src/commands/RemoveAttributesFromFindingsCommand.ts b/clients/client-inspector/src/commands/RemoveAttributesFromFindingsCommand.ts index 3e840d76e8c78..53487650b461e 100644 --- a/clients/client-inspector/src/commands/RemoveAttributesFromFindingsCommand.ts +++ b/clients/client-inspector/src/commands/RemoveAttributesFromFindingsCommand.ts @@ -62,7 +62,7 @@ export interface RemoveAttributesFromFindingsCommandOutput * // { // RemoveAttributesFromFindingsResponse * // failedItems: { // FailedItems // required * // "": { // FailedItemDetails - * // failureCode: "STRING_VALUE", // required + * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required * // retryable: true || false, // required * // }, * // }, diff --git a/clients/client-inspector/src/commands/StopAssessmentRunCommand.ts b/clients/client-inspector/src/commands/StopAssessmentRunCommand.ts index e65adde8ddc42..12e32510d8550 100644 --- a/clients/client-inspector/src/commands/StopAssessmentRunCommand.ts +++ b/clients/client-inspector/src/commands/StopAssessmentRunCommand.ts @@ -46,7 +46,7 @@ export interface StopAssessmentRunCommandOutput extends __MetadataBearer {} * const client = new InspectorClient(config); * const input = { // StopAssessmentRunRequest * assessmentRunArn: "STRING_VALUE", // required - * stopAction: "STRING_VALUE", + * stopAction: "START_EVALUATION" || "SKIP_EVALUATION", * }; * const command = new StopAssessmentRunCommand(input); * const response = await client.send(command); diff --git a/clients/client-inspector/src/commands/SubscribeToEventCommand.ts b/clients/client-inspector/src/commands/SubscribeToEventCommand.ts index e603adb70cfff..2e03d98a757eb 100644 --- a/clients/client-inspector/src/commands/SubscribeToEventCommand.ts +++ b/clients/client-inspector/src/commands/SubscribeToEventCommand.ts @@ -46,7 +46,7 @@ export interface SubscribeToEventCommandOutput extends __MetadataBearer {} * const client = new InspectorClient(config); * const input = { // SubscribeToEventRequest * resourceArn: "STRING_VALUE", // required - * event: "STRING_VALUE", // required + * event: "ASSESSMENT_RUN_STARTED" || "ASSESSMENT_RUN_COMPLETED" || "ASSESSMENT_RUN_STATE_CHANGED" || "FINDING_REPORTED" || "OTHER", // required * topicArn: "STRING_VALUE", // required * }; * const command = new SubscribeToEventCommand(input); diff --git a/clients/client-inspector/src/commands/UnsubscribeFromEventCommand.ts b/clients/client-inspector/src/commands/UnsubscribeFromEventCommand.ts index 9cfe6847f8b65..65715ecf2a259 100644 --- a/clients/client-inspector/src/commands/UnsubscribeFromEventCommand.ts +++ b/clients/client-inspector/src/commands/UnsubscribeFromEventCommand.ts @@ -46,7 +46,7 @@ export interface UnsubscribeFromEventCommandOutput extends __MetadataBearer {} * const client = new InspectorClient(config); * const input = { // UnsubscribeFromEventRequest * resourceArn: "STRING_VALUE", // required - * event: "STRING_VALUE", // required + * event: "ASSESSMENT_RUN_STARTED" || "ASSESSMENT_RUN_COMPLETED" || "ASSESSMENT_RUN_STATE_CHANGED" || "FINDING_REPORTED" || "OTHER", // required * topicArn: "STRING_VALUE", // required * }; * const command = new UnsubscribeFromEventCommand(input); diff --git a/clients/client-inspector/src/endpoint/ruleset.ts b/clients/client-inspector/src/endpoint/ruleset.ts index b6912a3d7d453..d18fd58596c40 100644 --- a/clients/client-inspector/src/endpoint/ruleset.ts +++ b/clients/client-inspector/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/inspector.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://inspector-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://inspector-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://inspector.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://inspector.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://inspector-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://inspector-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://inspector.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://inspector.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-iot-1click-devices-service/src/endpoint/ruleset.ts b/clients/client-iot-1click-devices-service/src/endpoint/ruleset.ts index cd8bd6da25e69..90062c048abff 100644 --- a/clients/client-iot-1click-devices-service/src/endpoint/ruleset.ts +++ b/clients/client-iot-1click-devices-service/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/iot-1click-devices-service.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://devices.iot1click-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://devices.iot1click-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://devices.iot1click.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://devices.iot1click.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://devices.iot1click-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://devices.iot1click-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://devices.iot1click.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://devices.iot1click.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-iot-1click-projects/src/endpoint/ruleset.ts b/clients/client-iot-1click-projects/src/endpoint/ruleset.ts index 4d8aac2578d89..d30466682223c 100644 --- a/clients/client-iot-1click-projects/src/endpoint/ruleset.ts +++ b/clients/client-iot-1click-projects/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/iot-1click-projects.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://projects.iot1click-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://projects.iot1click-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://projects.iot1click.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://projects.iot1click.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://projects.iot1click-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://projects.iot1click-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://projects.iot1click.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://projects.iot1click.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-iot-data-plane/src/endpoint/ruleset.ts b/clients/client-iot-data-plane/src/endpoint/ruleset.ts index 07a060bcd49a2..fd38c424006f3 100644 --- a/clients/client-iot-data-plane/src/endpoint/ruleset.ts +++ b/clients/client-iot-data-plane/src/endpoint/ruleset.ts @@ -30,5 +30,5 @@ q={"url":"https://data-ats.iot.{Region}.amazonaws.com","properties":{},"headers" r=[j], s=[k], t=[m]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[v]:a,[w]:[i]}],type:b,rules:[{conditions:r,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:s,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[v]:a,[w]:t}],type:b,rules:[{conditions:[{[v]:"aws.partition",[w]:t,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[n,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://data-ats.iot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:r,type:b,rules:[{conditions:[n],type:b,rules:[{type:b,rules:[{conditions:[{[v]:f,[w]:[m,"ca-central-1"]}],endpoint:{url:"https://data.iot-fips.ca-central-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:[m,"us-east-1"]}],endpoint:{url:"https://data.iot-fips.us-east-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:[m,"us-east-2"]}],endpoint:{url:"https://data.iot-fips.us-east-2.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:[m,"us-west-1"]}],endpoint:{url:"https://data.iot-fips.us-west-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:[m,"us-west-2"]}],endpoint:{url:"https://data.iot-fips.us-west-2.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:[m,"us-gov-east-1"]}],endpoint:{url:"https://data.iot-fips.us-gov-east-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:[m,"us-gov-west-1"]}],endpoint:{url:"https://data.iot-fips.us-gov-west-1.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://data-ats.iot-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:s,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://data-ats.iot.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{conditions:[{[v]:f,[w]:[m,"cn-north-1"]}],endpoint:{url:"https://data.ats.iot.cn-north-1.amazonaws.com.cn",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:["aws",p]}],endpoint:q,type:d},{conditions:[{[v]:f,[w]:["aws-cn",p]}],endpoint:{url:"https://data-ats.iot.{Region}.amazonaws.com.cn",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:["aws-us-gov",p]}],endpoint:q,type:d},{endpoint:{url:"https://data-ats.iot.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[v]:a,[w]:[i]}],type:b,rules:[{conditions:r,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:s,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[v]:a,[w]:t}],type:b,rules:[{conditions:[{[v]:"aws.partition",[w]:t,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[n,o],type:b,rules:[{endpoint:{url:"https://data-ats.iot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:r,type:b,rules:[{conditions:[n],type:b,rules:[{conditions:[{[v]:f,[w]:[m,"ca-central-1"]}],endpoint:{url:"https://data.iot-fips.ca-central-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:[m,"us-east-1"]}],endpoint:{url:"https://data.iot-fips.us-east-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:[m,"us-east-2"]}],endpoint:{url:"https://data.iot-fips.us-east-2.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:[m,"us-west-1"]}],endpoint:{url:"https://data.iot-fips.us-west-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:[m,"us-west-2"]}],endpoint:{url:"https://data.iot-fips.us-west-2.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:[m,"us-gov-east-1"]}],endpoint:{url:"https://data.iot-fips.us-gov-east-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:[m,"us-gov-west-1"]}],endpoint:{url:"https://data.iot-fips.us-gov-west-1.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://data-ats.iot-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:s,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://data-ats.iot.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{conditions:[{[v]:f,[w]:[m,"cn-north-1"]}],endpoint:{url:"https://data.ats.iot.cn-north-1.amazonaws.com.cn",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:["aws",p]}],endpoint:q,type:d},{conditions:[{[v]:f,[w]:["aws-cn",p]}],endpoint:{url:"https://data-ats.iot.{Region}.amazonaws.com.cn",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:["aws-us-gov",p]}],endpoint:q,type:d},{endpoint:{url:"https://data-ats.iot.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-iot-events-data/src/commands/BatchAcknowledgeAlarmCommand.ts b/clients/client-iot-events-data/src/commands/BatchAcknowledgeAlarmCommand.ts index 23bd3a110cfaa..29c0c95d41a96 100644 --- a/clients/client-iot-events-data/src/commands/BatchAcknowledgeAlarmCommand.ts +++ b/clients/client-iot-events-data/src/commands/BatchAcknowledgeAlarmCommand.ts @@ -60,7 +60,7 @@ export interface BatchAcknowledgeAlarmCommandOutput extends BatchAcknowledgeAlar * // errorEntries: [ // BatchAlarmActionErrorEntries * // { // BatchAlarmActionErrorEntry * // requestId: "STRING_VALUE", - * // errorCode: "STRING_VALUE", + * // errorCode: "ResourceNotFoundException" || "InvalidRequestException" || "InternalFailureException" || "ServiceUnavailableException" || "ThrottlingException", * // errorMessage: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-iot-events-data/src/commands/BatchDeleteDetectorCommand.ts b/clients/client-iot-events-data/src/commands/BatchDeleteDetectorCommand.ts index 0026bb3e9694a..35d6aef361ca0 100644 --- a/clients/client-iot-events-data/src/commands/BatchDeleteDetectorCommand.ts +++ b/clients/client-iot-events-data/src/commands/BatchDeleteDetectorCommand.ts @@ -58,7 +58,7 @@ export interface BatchDeleteDetectorCommandOutput extends BatchDeleteDetectorRes * // batchDeleteDetectorErrorEntries: [ // BatchDeleteDetectorErrorEntries * // { // BatchDeleteDetectorErrorEntry * // messageId: "STRING_VALUE", - * // errorCode: "STRING_VALUE", + * // errorCode: "ResourceNotFoundException" || "InvalidRequestException" || "InternalFailureException" || "ServiceUnavailableException" || "ThrottlingException", * // errorMessage: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-iot-events-data/src/commands/BatchDisableAlarmCommand.ts b/clients/client-iot-events-data/src/commands/BatchDisableAlarmCommand.ts index 8801adbf81391..7ad31a1073751 100644 --- a/clients/client-iot-events-data/src/commands/BatchDisableAlarmCommand.ts +++ b/clients/client-iot-events-data/src/commands/BatchDisableAlarmCommand.ts @@ -60,7 +60,7 @@ export interface BatchDisableAlarmCommandOutput extends BatchDisableAlarmRespons * // errorEntries: [ // BatchAlarmActionErrorEntries * // { // BatchAlarmActionErrorEntry * // requestId: "STRING_VALUE", - * // errorCode: "STRING_VALUE", + * // errorCode: "ResourceNotFoundException" || "InvalidRequestException" || "InternalFailureException" || "ServiceUnavailableException" || "ThrottlingException", * // errorMessage: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-iot-events-data/src/commands/BatchEnableAlarmCommand.ts b/clients/client-iot-events-data/src/commands/BatchEnableAlarmCommand.ts index 6657fc2935c93..1c5ad71e978c7 100644 --- a/clients/client-iot-events-data/src/commands/BatchEnableAlarmCommand.ts +++ b/clients/client-iot-events-data/src/commands/BatchEnableAlarmCommand.ts @@ -60,7 +60,7 @@ export interface BatchEnableAlarmCommandOutput extends BatchEnableAlarmResponse, * // errorEntries: [ // BatchAlarmActionErrorEntries * // { // BatchAlarmActionErrorEntry * // requestId: "STRING_VALUE", - * // errorCode: "STRING_VALUE", + * // errorCode: "ResourceNotFoundException" || "InvalidRequestException" || "InternalFailureException" || "ServiceUnavailableException" || "ThrottlingException", * // errorMessage: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-iot-events-data/src/commands/BatchPutMessageCommand.ts b/clients/client-iot-events-data/src/commands/BatchPutMessageCommand.ts index a41e353c05db8..efb1e16511eb7 100644 --- a/clients/client-iot-events-data/src/commands/BatchPutMessageCommand.ts +++ b/clients/client-iot-events-data/src/commands/BatchPutMessageCommand.ts @@ -65,7 +65,7 @@ export interface BatchPutMessageCommandOutput extends BatchPutMessageResponse, _ * // BatchPutMessageErrorEntries: [ // BatchPutMessageErrorEntries * // { // BatchPutMessageErrorEntry * // messageId: "STRING_VALUE", - * // errorCode: "STRING_VALUE", + * // errorCode: "ResourceNotFoundException" || "InvalidRequestException" || "InternalFailureException" || "ServiceUnavailableException" || "ThrottlingException", * // errorMessage: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-iot-events-data/src/commands/BatchResetAlarmCommand.ts b/clients/client-iot-events-data/src/commands/BatchResetAlarmCommand.ts index 554bea285c070..33a92d68de691 100644 --- a/clients/client-iot-events-data/src/commands/BatchResetAlarmCommand.ts +++ b/clients/client-iot-events-data/src/commands/BatchResetAlarmCommand.ts @@ -60,7 +60,7 @@ export interface BatchResetAlarmCommandOutput extends BatchResetAlarmResponse, _ * // errorEntries: [ // BatchAlarmActionErrorEntries * // { // BatchAlarmActionErrorEntry * // requestId: "STRING_VALUE", - * // errorCode: "STRING_VALUE", + * // errorCode: "ResourceNotFoundException" || "InvalidRequestException" || "InternalFailureException" || "ServiceUnavailableException" || "ThrottlingException", * // errorMessage: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-iot-events-data/src/commands/BatchSnoozeAlarmCommand.ts b/clients/client-iot-events-data/src/commands/BatchSnoozeAlarmCommand.ts index 98cfca5d3ba5f..fb056071aea39 100644 --- a/clients/client-iot-events-data/src/commands/BatchSnoozeAlarmCommand.ts +++ b/clients/client-iot-events-data/src/commands/BatchSnoozeAlarmCommand.ts @@ -61,7 +61,7 @@ export interface BatchSnoozeAlarmCommandOutput extends BatchSnoozeAlarmResponse, * // errorEntries: [ // BatchAlarmActionErrorEntries * // { // BatchAlarmActionErrorEntry * // requestId: "STRING_VALUE", - * // errorCode: "STRING_VALUE", + * // errorCode: "ResourceNotFoundException" || "InvalidRequestException" || "InternalFailureException" || "ServiceUnavailableException" || "ThrottlingException", * // errorMessage: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-iot-events-data/src/commands/BatchUpdateDetectorCommand.ts b/clients/client-iot-events-data/src/commands/BatchUpdateDetectorCommand.ts index 5589da7f2a197..5cff0d778c4b9 100644 --- a/clients/client-iot-events-data/src/commands/BatchUpdateDetectorCommand.ts +++ b/clients/client-iot-events-data/src/commands/BatchUpdateDetectorCommand.ts @@ -74,7 +74,7 @@ export interface BatchUpdateDetectorCommandOutput extends BatchUpdateDetectorRes * // batchUpdateDetectorErrorEntries: [ // BatchUpdateDetectorErrorEntries * // { // BatchUpdateDetectorErrorEntry * // messageId: "STRING_VALUE", - * // errorCode: "STRING_VALUE", + * // errorCode: "ResourceNotFoundException" || "InvalidRequestException" || "InternalFailureException" || "ServiceUnavailableException" || "ThrottlingException", * // errorMessage: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-iot-events-data/src/commands/DescribeAlarmCommand.ts b/clients/client-iot-events-data/src/commands/DescribeAlarmCommand.ts index 24cb0a58149bf..bc7ba9d591e5b 100644 --- a/clients/client-iot-events-data/src/commands/DescribeAlarmCommand.ts +++ b/clients/client-iot-events-data/src/commands/DescribeAlarmCommand.ts @@ -55,16 +55,16 @@ export interface DescribeAlarmCommandOutput extends DescribeAlarmResponse, __Met * // alarmModelVersion: "STRING_VALUE", * // keyValue: "STRING_VALUE", * // alarmState: { // AlarmState - * // stateName: "STRING_VALUE", + * // stateName: "DISABLED" || "NORMAL" || "ACTIVE" || "ACKNOWLEDGED" || "SNOOZE_DISABLED" || "LATCHED", * // ruleEvaluation: { // RuleEvaluation * // simpleRuleEvaluation: { // SimpleRuleEvaluation * // inputPropertyValue: "STRING_VALUE", - * // operator: "STRING_VALUE", + * // operator: "GREATER" || "GREATER_OR_EQUAL" || "LESS" || "LESS_OR_EQUAL" || "EQUAL" || "NOT_EQUAL", * // thresholdValue: "STRING_VALUE", * // }, * // }, * // customerAction: { // CustomerAction - * // actionName: "STRING_VALUE", + * // actionName: "SNOOZE" || "ENABLE" || "DISABLE" || "ACKNOWLEDGE" || "RESET", * // snoozeActionConfiguration: { // SnoozeActionConfiguration * // snoozeDuration: Number("int"), * // note: "STRING_VALUE", @@ -83,9 +83,9 @@ export interface DescribeAlarmCommandOutput extends DescribeAlarmResponse, __Met * // }, * // }, * // systemEvent: { // SystemEvent - * // eventType: "STRING_VALUE", + * // eventType: "STATE_CHANGE", * // stateChangeConfiguration: { // StateChangeConfiguration - * // triggerType: "STRING_VALUE", + * // triggerType: "SNOOZE_TIMEOUT", * // }, * // }, * // }, diff --git a/clients/client-iot-events-data/src/commands/ListAlarmsCommand.ts b/clients/client-iot-events-data/src/commands/ListAlarmsCommand.ts index 5b999ee76b7f6..9667cc6ca2c09 100644 --- a/clients/client-iot-events-data/src/commands/ListAlarmsCommand.ts +++ b/clients/client-iot-events-data/src/commands/ListAlarmsCommand.ts @@ -57,7 +57,7 @@ export interface ListAlarmsCommandOutput extends ListAlarmsResponse, __MetadataB * // alarmModelName: "STRING_VALUE", * // alarmModelVersion: "STRING_VALUE", * // keyValue: "STRING_VALUE", - * // stateName: "STRING_VALUE", + * // stateName: "DISABLED" || "NORMAL" || "ACTIVE" || "ACKNOWLEDGED" || "SNOOZE_DISABLED" || "LATCHED", * // creationTime: new Date("TIMESTAMP"), * // lastUpdateTime: new Date("TIMESTAMP"), * // }, diff --git a/clients/client-iot-events-data/src/endpoint/ruleset.ts b/clients/client-iot-events-data/src/endpoint/ruleset.ts index 614002bba7215..8f7ce21fb0d0b 100644 --- a/clients/client-iot-events-data/src/endpoint/ruleset.ts +++ b/clients/client-iot-events-data/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/iot-events-data.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://data.iotevents-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://data.iotevents-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://data.iotevents.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://data.iotevents.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://data.iotevents-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://data.iotevents-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://data.iotevents.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://data.iotevents.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-iot-events-data/src/models/models_0.ts b/clients/client-iot-events-data/src/models/models_0.ts index 4533926055261..7c860c975829e 100644 --- a/clients/client-iot-events-data/src/models/models_0.ts +++ b/clients/client-iot-events-data/src/models/models_0.ts @@ -127,25 +127,25 @@ export interface CustomerAction { *

                                                                                                                                                                                                                          The name of the action. The action name can be one of the following values:

                                                                                                                                                                                                                          *
                                                                                                                                                                                                                            *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                            * SNOOZE - When you snooze the alarm, the alarm state changes to SNOOZE_DISABLED.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                            * ENABLE - When you enable the alarm, the alarm state changes to NORMAL.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                            * DISABLE - When you disable the alarm, the alarm state changes to DISABLED.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                            * ACKNOWLEDGE - When you acknowledge the alarm, the alarm state changes to ACKNOWLEDGED.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                            * RESET - When you reset the alarm, the alarm state changes to NORMAL.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + * *
                                                                                                                                                                                                                          *

                                                                                                                                                                                                                          For more information, see the AlarmState API.

                                                                                                                                                                                                                          */ @@ -322,38 +322,38 @@ export interface AlarmState { *

                                                                                                                                                                                                                          The name of the alarm state. The state name can be one of the following values:

                                                                                                                                                                                                                          *
                                                                                                                                                                                                                            *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                            * DISABLED - When the alarm is in the DISABLED state, * it isn't ready to evaluate data. To enable the alarm, * you must change the alarm to the NORMAL state.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                            * NORMAL - When the alarm is in the NORMAL state, * it's ready to evaluate data.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                            * ACTIVE - If the alarm is in the ACTIVE state, * the alarm is invoked.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                            * ACKNOWLEDGED - When the alarm is in the ACKNOWLEDGED state, * the alarm was invoked and you acknowledged the alarm.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                            * SNOOZE_DISABLED - When the alarm is in the SNOOZE_DISABLED state, * the alarm is disabled for a specified period of time. After the snooze time, * the alarm automatically changes to the NORMAL state.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                            * LATCHED - When the alarm is in the LATCHED state, * the alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range. * To change the alarm to the NORMAL state, you must acknowledge the alarm.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + * *
                                                                                                                                                                                                                          */ stateName?: AlarmStateName | string; @@ -455,38 +455,38 @@ export interface AlarmSummary { *

                                                                                                                                                                                                                          The name of the alarm state. The state name can be one of the following values:

                                                                                                                                                                                                                          *
                                                                                                                                                                                                                            *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                            * DISABLED - When the alarm is in the DISABLED state, * it isn't ready to evaluate data. To enable the alarm, * you must change the alarm to the NORMAL state.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                            * NORMAL - When the alarm is in the NORMAL state, * it's ready to evaluate data.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                            * ACTIVE - If the alarm is in the ACTIVE state, * the alarm is invoked.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                            * ACKNOWLEDGED - When the alarm is in the ACKNOWLEDGED state, * the alarm was invoked and you acknowledged the alarm.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                            * SNOOZE_DISABLED - When the alarm is in the SNOOZE_DISABLED state, * the alarm is disabled for a specified period of time. After the snooze time, * the alarm automatically changes to the NORMAL state.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                            * LATCHED - When the alarm is in the LATCHED state, * the alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range. * To change the alarm to the NORMAL state, you must acknowledge the alarm.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + * *
                                                                                                                                                                                                                          */ stateName?: AlarmStateName | string; diff --git a/clients/client-iot-events/src/commands/CreateAlarmModelCommand.ts b/clients/client-iot-events/src/commands/CreateAlarmModelCommand.ts index 3e77c31f9b912..181ed09dc976a 100644 --- a/clients/client-iot-events/src/commands/CreateAlarmModelCommand.ts +++ b/clients/client-iot-events/src/commands/CreateAlarmModelCommand.ts @@ -60,7 +60,7 @@ export interface CreateAlarmModelCommandOutput extends CreateAlarmModelResponse, * alarmRule: { // AlarmRule * simpleRule: { // SimpleRule * inputProperty: "STRING_VALUE", // required - * comparisonOperator: "STRING_VALUE", // required + * comparisonOperator: "GREATER" || "GREATER_OR_EQUAL" || "LESS" || "LESS_OR_EQUAL" || "EQUAL" || "NOT_EQUAL", // required * threshold: "STRING_VALUE", // required * }, * }, @@ -72,7 +72,7 @@ export interface CreateAlarmModelCommandOutput extends CreateAlarmModelResponse, * functionArn: "STRING_VALUE", // required * payload: { // Payload * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * }, @@ -119,28 +119,28 @@ export interface CreateAlarmModelCommandOutput extends CreateAlarmModelResponse, * targetArn: "STRING_VALUE", // required * payload: { * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * iotTopicPublish: { // IotTopicPublishAction * mqttTopic: "STRING_VALUE", // required * payload: { * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * lambda: { * functionArn: "STRING_VALUE", // required * payload: { * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * iotEvents: { // IotEventsAction * inputName: "STRING_VALUE", // required * payload: { * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * sqs: { // SqsAction @@ -207,7 +207,7 @@ export interface CreateAlarmModelCommandOutput extends CreateAlarmModelResponse, * // alarmModelArn: "STRING_VALUE", * // alarmModelVersion: "STRING_VALUE", * // lastUpdateTime: new Date("TIMESTAMP"), - * // status: "STRING_VALUE", + * // status: "ACTIVE" || "ACTIVATING" || "INACTIVE" || "FAILED", * // }; * * ``` diff --git a/clients/client-iot-events/src/commands/CreateDetectorModelCommand.ts b/clients/client-iot-events/src/commands/CreateDetectorModelCommand.ts index 6ed9ecdbb7047..30f156b18dd65 100644 --- a/clients/client-iot-events/src/commands/CreateDetectorModelCommand.ts +++ b/clients/client-iot-events/src/commands/CreateDetectorModelCommand.ts @@ -64,14 +64,14 @@ export interface CreateDetectorModelCommandOutput extends CreateDetectorModelRes * targetArn: "STRING_VALUE", // required * payload: { // Payload * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * iotTopicPublish: { // IotTopicPublishAction * mqttTopic: "STRING_VALUE", // required * payload: { * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * setTimer: { // SetTimerAction @@ -89,14 +89,14 @@ export interface CreateDetectorModelCommandOutput extends CreateDetectorModelRes * functionArn: "STRING_VALUE", // required * payload: { * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * iotEvents: { // IotEventsAction * inputName: "STRING_VALUE", // required * payload: { * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * sqs: { // SqsAction @@ -104,7 +104,7 @@ export interface CreateDetectorModelCommandOutput extends CreateDetectorModelRes * useBase64: true || false, * payload: { * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * firehose: { // FirehoseAction @@ -428,7 +428,7 @@ export interface CreateDetectorModelCommandOutput extends CreateDetectorModelRes * value: "STRING_VALUE", // required * }, * ], - * evaluationMethod: "STRING_VALUE", + * evaluationMethod: "BATCH" || "SERIAL", * }; * const command = new CreateDetectorModelCommand(input); * const response = await client.send(command); @@ -441,9 +441,9 @@ export interface CreateDetectorModelCommandOutput extends CreateDetectorModelRes * // roleArn: "STRING_VALUE", * // creationTime: new Date("TIMESTAMP"), * // lastUpdateTime: new Date("TIMESTAMP"), - * // status: "STRING_VALUE", + * // status: "ACTIVE" || "ACTIVATING" || "INACTIVE" || "DEPRECATED" || "DRAFT" || "PAUSED" || "FAILED", * // key: "STRING_VALUE", - * // evaluationMethod: "STRING_VALUE", + * // evaluationMethod: "BATCH" || "SERIAL", * // }, * // }; * diff --git a/clients/client-iot-events/src/commands/CreateInputCommand.ts b/clients/client-iot-events/src/commands/CreateInputCommand.ts index 929ba14294558..e77b65c16b89a 100644 --- a/clients/client-iot-events/src/commands/CreateInputCommand.ts +++ b/clients/client-iot-events/src/commands/CreateInputCommand.ts @@ -69,7 +69,7 @@ export interface CreateInputCommandOutput extends CreateInputResponse, __Metadat * // inputArn: "STRING_VALUE", // required * // creationTime: new Date("TIMESTAMP"), // required * // lastUpdateTime: new Date("TIMESTAMP"), // required - * // status: "STRING_VALUE", // required + * // status: "CREATING" || "UPDATING" || "ACTIVE" || "DELETING", // required * // }, * // }; * diff --git a/clients/client-iot-events/src/commands/DescribeAlarmModelCommand.ts b/clients/client-iot-events/src/commands/DescribeAlarmModelCommand.ts index e23d9d4a434ab..93c9d7706b514 100644 --- a/clients/client-iot-events/src/commands/DescribeAlarmModelCommand.ts +++ b/clients/client-iot-events/src/commands/DescribeAlarmModelCommand.ts @@ -55,7 +55,7 @@ export interface DescribeAlarmModelCommandOutput extends DescribeAlarmModelRespo * // alarmModelArn: "STRING_VALUE", * // alarmModelVersion: "STRING_VALUE", * // lastUpdateTime: new Date("TIMESTAMP"), - * // status: "STRING_VALUE", + * // status: "ACTIVE" || "ACTIVATING" || "INACTIVE" || "FAILED", * // statusMessage: "STRING_VALUE", * // alarmModelName: "STRING_VALUE", * // alarmModelDescription: "STRING_VALUE", @@ -65,7 +65,7 @@ export interface DescribeAlarmModelCommandOutput extends DescribeAlarmModelRespo * // alarmRule: { // AlarmRule * // simpleRule: { // SimpleRule * // inputProperty: "STRING_VALUE", // required - * // comparisonOperator: "STRING_VALUE", // required + * // comparisonOperator: "GREATER" || "GREATER_OR_EQUAL" || "LESS" || "LESS_OR_EQUAL" || "EQUAL" || "NOT_EQUAL", // required * // threshold: "STRING_VALUE", // required * // }, * // }, @@ -77,7 +77,7 @@ export interface DescribeAlarmModelCommandOutput extends DescribeAlarmModelRespo * // functionArn: "STRING_VALUE", // required * // payload: { // Payload * // contentExpression: "STRING_VALUE", // required - * // type: "STRING_VALUE", // required + * // type: "STRING" || "JSON", // required * // }, * // }, * // }, @@ -124,28 +124,28 @@ export interface DescribeAlarmModelCommandOutput extends DescribeAlarmModelRespo * // targetArn: "STRING_VALUE", // required * // payload: { * // contentExpression: "STRING_VALUE", // required - * // type: "STRING_VALUE", // required + * // type: "STRING" || "JSON", // required * // }, * // }, * // iotTopicPublish: { // IotTopicPublishAction * // mqttTopic: "STRING_VALUE", // required * // payload: { * // contentExpression: "STRING_VALUE", // required - * // type: "STRING_VALUE", // required + * // type: "STRING" || "JSON", // required * // }, * // }, * // lambda: { * // functionArn: "STRING_VALUE", // required * // payload: { * // contentExpression: "STRING_VALUE", // required - * // type: "STRING_VALUE", // required + * // type: "STRING" || "JSON", // required * // }, * // }, * // iotEvents: { // IotEventsAction * // inputName: "STRING_VALUE", // required * // payload: { * // contentExpression: "STRING_VALUE", // required - * // type: "STRING_VALUE", // required + * // type: "STRING" || "JSON", // required * // }, * // }, * // sqs: { // SqsAction diff --git a/clients/client-iot-events/src/commands/DescribeDetectorModelAnalysisCommand.ts b/clients/client-iot-events/src/commands/DescribeDetectorModelAnalysisCommand.ts index e6adaaed47c44..7779fe6747005 100644 --- a/clients/client-iot-events/src/commands/DescribeDetectorModelAnalysisCommand.ts +++ b/clients/client-iot-events/src/commands/DescribeDetectorModelAnalysisCommand.ts @@ -57,7 +57,7 @@ export interface DescribeDetectorModelAnalysisCommandOutput * const command = new DescribeDetectorModelAnalysisCommand(input); * const response = await client.send(command); * // { // DescribeDetectorModelAnalysisResponse - * // status: "STRING_VALUE", + * // status: "RUNNING" || "COMPLETE" || "FAILED", * // }; * * ``` diff --git a/clients/client-iot-events/src/commands/DescribeDetectorModelCommand.ts b/clients/client-iot-events/src/commands/DescribeDetectorModelCommand.ts index 2637d350f25fa..de2c546ac7ed4 100644 --- a/clients/client-iot-events/src/commands/DescribeDetectorModelCommand.ts +++ b/clients/client-iot-events/src/commands/DescribeDetectorModelCommand.ts @@ -71,14 +71,14 @@ export interface DescribeDetectorModelCommandOutput extends DescribeDetectorMode * // targetArn: "STRING_VALUE", // required * // payload: { // Payload * // contentExpression: "STRING_VALUE", // required - * // type: "STRING_VALUE", // required + * // type: "STRING" || "JSON", // required * // }, * // }, * // iotTopicPublish: { // IotTopicPublishAction * // mqttTopic: "STRING_VALUE", // required * // payload: { * // contentExpression: "STRING_VALUE", // required - * // type: "STRING_VALUE", // required + * // type: "STRING" || "JSON", // required * // }, * // }, * // setTimer: { // SetTimerAction @@ -96,14 +96,14 @@ export interface DescribeDetectorModelCommandOutput extends DescribeDetectorMode * // functionArn: "STRING_VALUE", // required * // payload: { * // contentExpression: "STRING_VALUE", // required - * // type: "STRING_VALUE", // required + * // type: "STRING" || "JSON", // required * // }, * // }, * // iotEvents: { // IotEventsAction * // inputName: "STRING_VALUE", // required * // payload: { * // contentExpression: "STRING_VALUE", // required - * // type: "STRING_VALUE", // required + * // type: "STRING" || "JSON", // required * // }, * // }, * // sqs: { // SqsAction @@ -111,7 +111,7 @@ export interface DescribeDetectorModelCommandOutput extends DescribeDetectorMode * // useBase64: true || false, * // payload: { * // contentExpression: "STRING_VALUE", // required - * // type: "STRING_VALUE", // required + * // type: "STRING" || "JSON", // required * // }, * // }, * // firehose: { // FirehoseAction @@ -434,9 +434,9 @@ export interface DescribeDetectorModelCommandOutput extends DescribeDetectorMode * // roleArn: "STRING_VALUE", * // creationTime: new Date("TIMESTAMP"), * // lastUpdateTime: new Date("TIMESTAMP"), - * // status: "STRING_VALUE", + * // status: "ACTIVE" || "ACTIVATING" || "INACTIVE" || "DEPRECATED" || "DRAFT" || "PAUSED" || "FAILED", * // key: "STRING_VALUE", - * // evaluationMethod: "STRING_VALUE", + * // evaluationMethod: "BATCH" || "SERIAL", * // }, * // }, * // }; diff --git a/clients/client-iot-events/src/commands/DescribeInputCommand.ts b/clients/client-iot-events/src/commands/DescribeInputCommand.ts index 51307ca21df6c..dff6c2e79c0d7 100644 --- a/clients/client-iot-events/src/commands/DescribeInputCommand.ts +++ b/clients/client-iot-events/src/commands/DescribeInputCommand.ts @@ -56,7 +56,7 @@ export interface DescribeInputCommandOutput extends DescribeInputResponse, __Met * // inputArn: "STRING_VALUE", // required * // creationTime: new Date("TIMESTAMP"), // required * // lastUpdateTime: new Date("TIMESTAMP"), // required - * // status: "STRING_VALUE", // required + * // status: "CREATING" || "UPDATING" || "ACTIVE" || "DELETING", // required * // }, * // inputDefinition: { // InputDefinition * // attributes: [ // Attributes // required diff --git a/clients/client-iot-events/src/commands/DescribeLoggingOptionsCommand.ts b/clients/client-iot-events/src/commands/DescribeLoggingOptionsCommand.ts index ae20d72021a50..ea0b5fbd37b37 100644 --- a/clients/client-iot-events/src/commands/DescribeLoggingOptionsCommand.ts +++ b/clients/client-iot-events/src/commands/DescribeLoggingOptionsCommand.ts @@ -49,7 +49,7 @@ export interface DescribeLoggingOptionsCommandOutput extends DescribeLoggingOpti * // { // DescribeLoggingOptionsResponse * // loggingOptions: { // LoggingOptions * // roleArn: "STRING_VALUE", // required - * // level: "STRING_VALUE", // required + * // level: "ERROR" || "INFO" || "DEBUG", // required * // enabled: true || false, // required * // detectorDebugOptions: [ // DetectorDebugOptions * // { // DetectorDebugOption diff --git a/clients/client-iot-events/src/commands/GetDetectorModelAnalysisResultsCommand.ts b/clients/client-iot-events/src/commands/GetDetectorModelAnalysisResultsCommand.ts index 0a893c15ac3c7..88e2ebf04907a 100644 --- a/clients/client-iot-events/src/commands/GetDetectorModelAnalysisResultsCommand.ts +++ b/clients/client-iot-events/src/commands/GetDetectorModelAnalysisResultsCommand.ts @@ -62,7 +62,7 @@ export interface GetDetectorModelAnalysisResultsCommandOutput * // analysisResults: [ // AnalysisResults * // { // AnalysisResult * // type: "STRING_VALUE", - * // level: "STRING_VALUE", + * // level: "INFO" || "WARNING" || "ERROR", * // message: "STRING_VALUE", * // locations: [ // AnalysisResultLocations * // { // AnalysisResultLocation diff --git a/clients/client-iot-events/src/commands/ListAlarmModelVersionsCommand.ts b/clients/client-iot-events/src/commands/ListAlarmModelVersionsCommand.ts index b52303aacb57c..d53ec094a43a5 100644 --- a/clients/client-iot-events/src/commands/ListAlarmModelVersionsCommand.ts +++ b/clients/client-iot-events/src/commands/ListAlarmModelVersionsCommand.ts @@ -60,7 +60,7 @@ export interface ListAlarmModelVersionsCommandOutput extends ListAlarmModelVersi * // roleArn: "STRING_VALUE", * // creationTime: new Date("TIMESTAMP"), * // lastUpdateTime: new Date("TIMESTAMP"), - * // status: "STRING_VALUE", + * // status: "ACTIVE" || "ACTIVATING" || "INACTIVE" || "FAILED", * // statusMessage: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-iot-events/src/commands/ListDetectorModelVersionsCommand.ts b/clients/client-iot-events/src/commands/ListDetectorModelVersionsCommand.ts index 0094b0044c0c2..0a13e5f9208be 100644 --- a/clients/client-iot-events/src/commands/ListDetectorModelVersionsCommand.ts +++ b/clients/client-iot-events/src/commands/ListDetectorModelVersionsCommand.ts @@ -60,8 +60,8 @@ export interface ListDetectorModelVersionsCommandOutput extends ListDetectorMode * // roleArn: "STRING_VALUE", * // creationTime: new Date("TIMESTAMP"), * // lastUpdateTime: new Date("TIMESTAMP"), - * // status: "STRING_VALUE", - * // evaluationMethod: "STRING_VALUE", + * // status: "ACTIVE" || "ACTIVATING" || "INACTIVE" || "DEPRECATED" || "DRAFT" || "PAUSED" || "FAILED", + * // evaluationMethod: "BATCH" || "SERIAL", * // }, * // ], * // nextToken: "STRING_VALUE", diff --git a/clients/client-iot-events/src/commands/ListInputsCommand.ts b/clients/client-iot-events/src/commands/ListInputsCommand.ts index 27d8010b3deda..c13105c44afd3 100644 --- a/clients/client-iot-events/src/commands/ListInputsCommand.ts +++ b/clients/client-iot-events/src/commands/ListInputsCommand.ts @@ -57,7 +57,7 @@ export interface ListInputsCommandOutput extends ListInputsResponse, __MetadataB * // inputArn: "STRING_VALUE", * // creationTime: new Date("TIMESTAMP"), * // lastUpdateTime: new Date("TIMESTAMP"), - * // status: "STRING_VALUE", + * // status: "CREATING" || "UPDATING" || "ACTIVE" || "DELETING", * // }, * // ], * // nextToken: "STRING_VALUE", diff --git a/clients/client-iot-events/src/commands/PutLoggingOptionsCommand.ts b/clients/client-iot-events/src/commands/PutLoggingOptionsCommand.ts index f42cf7917a6e3..e9382b653f288 100644 --- a/clients/client-iot-events/src/commands/PutLoggingOptionsCommand.ts +++ b/clients/client-iot-events/src/commands/PutLoggingOptionsCommand.ts @@ -50,7 +50,7 @@ export interface PutLoggingOptionsCommandOutput extends __MetadataBearer {} * const input = { // PutLoggingOptionsRequest * loggingOptions: { // LoggingOptions * roleArn: "STRING_VALUE", // required - * level: "STRING_VALUE", // required + * level: "ERROR" || "INFO" || "DEBUG", // required * enabled: true || false, // required * detectorDebugOptions: [ // DetectorDebugOptions * { // DetectorDebugOption diff --git a/clients/client-iot-events/src/commands/StartDetectorModelAnalysisCommand.ts b/clients/client-iot-events/src/commands/StartDetectorModelAnalysisCommand.ts index 6fae39cef9419..3f4c7758545cc 100644 --- a/clients/client-iot-events/src/commands/StartDetectorModelAnalysisCommand.ts +++ b/clients/client-iot-events/src/commands/StartDetectorModelAnalysisCommand.ts @@ -65,14 +65,14 @@ export interface StartDetectorModelAnalysisCommandOutput extends StartDetectorMo * targetArn: "STRING_VALUE", // required * payload: { // Payload * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * iotTopicPublish: { // IotTopicPublishAction * mqttTopic: "STRING_VALUE", // required * payload: { * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * setTimer: { // SetTimerAction @@ -90,14 +90,14 @@ export interface StartDetectorModelAnalysisCommandOutput extends StartDetectorMo * functionArn: "STRING_VALUE", // required * payload: { * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * iotEvents: { // IotEventsAction * inputName: "STRING_VALUE", // required * payload: { * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * sqs: { // SqsAction @@ -105,7 +105,7 @@ export interface StartDetectorModelAnalysisCommandOutput extends StartDetectorMo * useBase64: true || false, * payload: { * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * firehose: { // FirehoseAction diff --git a/clients/client-iot-events/src/commands/UpdateAlarmModelCommand.ts b/clients/client-iot-events/src/commands/UpdateAlarmModelCommand.ts index b5db5c207574a..ab40114a1d0c2 100644 --- a/clients/client-iot-events/src/commands/UpdateAlarmModelCommand.ts +++ b/clients/client-iot-events/src/commands/UpdateAlarmModelCommand.ts @@ -52,7 +52,7 @@ export interface UpdateAlarmModelCommandOutput extends UpdateAlarmModelResponse, * alarmRule: { // AlarmRule * simpleRule: { // SimpleRule * inputProperty: "STRING_VALUE", // required - * comparisonOperator: "STRING_VALUE", // required + * comparisonOperator: "GREATER" || "GREATER_OR_EQUAL" || "LESS" || "LESS_OR_EQUAL" || "EQUAL" || "NOT_EQUAL", // required * threshold: "STRING_VALUE", // required * }, * }, @@ -64,7 +64,7 @@ export interface UpdateAlarmModelCommandOutput extends UpdateAlarmModelResponse, * functionArn: "STRING_VALUE", // required * payload: { // Payload * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * }, @@ -111,28 +111,28 @@ export interface UpdateAlarmModelCommandOutput extends UpdateAlarmModelResponse, * targetArn: "STRING_VALUE", // required * payload: { * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * iotTopicPublish: { // IotTopicPublishAction * mqttTopic: "STRING_VALUE", // required * payload: { * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * lambda: { * functionArn: "STRING_VALUE", // required * payload: { * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * iotEvents: { // IotEventsAction * inputName: "STRING_VALUE", // required * payload: { * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * sqs: { // SqsAction @@ -199,7 +199,7 @@ export interface UpdateAlarmModelCommandOutput extends UpdateAlarmModelResponse, * // alarmModelArn: "STRING_VALUE", * // alarmModelVersion: "STRING_VALUE", * // lastUpdateTime: new Date("TIMESTAMP"), - * // status: "STRING_VALUE", + * // status: "ACTIVE" || "ACTIVATING" || "INACTIVE" || "FAILED", * // }; * * ``` diff --git a/clients/client-iot-events/src/commands/UpdateDetectorModelCommand.ts b/clients/client-iot-events/src/commands/UpdateDetectorModelCommand.ts index 7ce28f49ef603..b5257fa1a8fcf 100644 --- a/clients/client-iot-events/src/commands/UpdateDetectorModelCommand.ts +++ b/clients/client-iot-events/src/commands/UpdateDetectorModelCommand.ts @@ -65,14 +65,14 @@ export interface UpdateDetectorModelCommandOutput extends UpdateDetectorModelRes * targetArn: "STRING_VALUE", // required * payload: { // Payload * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * iotTopicPublish: { // IotTopicPublishAction * mqttTopic: "STRING_VALUE", // required * payload: { * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * setTimer: { // SetTimerAction @@ -90,14 +90,14 @@ export interface UpdateDetectorModelCommandOutput extends UpdateDetectorModelRes * functionArn: "STRING_VALUE", // required * payload: { * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * iotEvents: { // IotEventsAction * inputName: "STRING_VALUE", // required * payload: { * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * sqs: { // SqsAction @@ -105,7 +105,7 @@ export interface UpdateDetectorModelCommandOutput extends UpdateDetectorModelRes * useBase64: true || false, * payload: { * contentExpression: "STRING_VALUE", // required - * type: "STRING_VALUE", // required + * type: "STRING" || "JSON", // required * }, * }, * firehose: { // FirehoseAction @@ -422,7 +422,7 @@ export interface UpdateDetectorModelCommandOutput extends UpdateDetectorModelRes * }, * detectorModelDescription: "STRING_VALUE", * roleArn: "STRING_VALUE", // required - * evaluationMethod: "STRING_VALUE", + * evaluationMethod: "BATCH" || "SERIAL", * }; * const command = new UpdateDetectorModelCommand(input); * const response = await client.send(command); @@ -435,9 +435,9 @@ export interface UpdateDetectorModelCommandOutput extends UpdateDetectorModelRes * // roleArn: "STRING_VALUE", * // creationTime: new Date("TIMESTAMP"), * // lastUpdateTime: new Date("TIMESTAMP"), - * // status: "STRING_VALUE", + * // status: "ACTIVE" || "ACTIVATING" || "INACTIVE" || "DEPRECATED" || "DRAFT" || "PAUSED" || "FAILED", * // key: "STRING_VALUE", - * // evaluationMethod: "STRING_VALUE", + * // evaluationMethod: "BATCH" || "SERIAL", * // }, * // }; * diff --git a/clients/client-iot-events/src/commands/UpdateInputCommand.ts b/clients/client-iot-events/src/commands/UpdateInputCommand.ts index fdc39f04ec3ea..834fd30b86407 100644 --- a/clients/client-iot-events/src/commands/UpdateInputCommand.ts +++ b/clients/client-iot-events/src/commands/UpdateInputCommand.ts @@ -63,7 +63,7 @@ export interface UpdateInputCommandOutput extends UpdateInputResponse, __Metadat * // inputArn: "STRING_VALUE", // required * // creationTime: new Date("TIMESTAMP"), // required * // lastUpdateTime: new Date("TIMESTAMP"), // required - * // status: "STRING_VALUE", // required + * // status: "CREATING" || "UPDATING" || "ACTIVE" || "DELETING", // required * // }, * // }; * diff --git a/clients/client-iot-events/src/endpoint/ruleset.ts b/clients/client-iot-events/src/endpoint/ruleset.ts index 0a9fef835a760..ed9287c6b501c 100644 --- a/clients/client-iot-events/src/endpoint/ruleset.ts +++ b/clients/client-iot-events/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/iot-events.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://iotevents-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iotevents-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://iotevents.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://iotevents.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://iotevents-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://iotevents-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://iotevents.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://iotevents.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-iot-jobs-data-plane/src/commands/DescribeJobExecutionCommand.ts b/clients/client-iot-jobs-data-plane/src/commands/DescribeJobExecutionCommand.ts index d554ec8ac5384..1b0398e7266a4 100644 --- a/clients/client-iot-jobs-data-plane/src/commands/DescribeJobExecutionCommand.ts +++ b/clients/client-iot-jobs-data-plane/src/commands/DescribeJobExecutionCommand.ts @@ -55,7 +55,7 @@ export interface DescribeJobExecutionCommandOutput extends DescribeJobExecutionR * // execution: { // JobExecution * // jobId: "STRING_VALUE", * // thingName: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "QUEUED" || "IN_PROGRESS" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "REJECTED" || "REMOVED" || "CANCELED", * // statusDetails: { // DetailsMap * // "": "STRING_VALUE", * // }, diff --git a/clients/client-iot-jobs-data-plane/src/commands/StartNextPendingJobExecutionCommand.ts b/clients/client-iot-jobs-data-plane/src/commands/StartNextPendingJobExecutionCommand.ts index a813d18c499cb..3f6d80baf7acf 100644 --- a/clients/client-iot-jobs-data-plane/src/commands/StartNextPendingJobExecutionCommand.ts +++ b/clients/client-iot-jobs-data-plane/src/commands/StartNextPendingJobExecutionCommand.ts @@ -61,7 +61,7 @@ export interface StartNextPendingJobExecutionCommandOutput * // execution: { // JobExecution * // jobId: "STRING_VALUE", * // thingName: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "QUEUED" || "IN_PROGRESS" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "REJECTED" || "REMOVED" || "CANCELED", * // statusDetails: { // DetailsMap * // "": "STRING_VALUE", * // }, diff --git a/clients/client-iot-jobs-data-plane/src/commands/UpdateJobExecutionCommand.ts b/clients/client-iot-jobs-data-plane/src/commands/UpdateJobExecutionCommand.ts index bd69ea86be344..a18d2007a65de 100644 --- a/clients/client-iot-jobs-data-plane/src/commands/UpdateJobExecutionCommand.ts +++ b/clients/client-iot-jobs-data-plane/src/commands/UpdateJobExecutionCommand.ts @@ -46,7 +46,7 @@ export interface UpdateJobExecutionCommandOutput extends UpdateJobExecutionRespo * const input = { // UpdateJobExecutionRequest * jobId: "STRING_VALUE", // required * thingName: "STRING_VALUE", // required - * status: "STRING_VALUE", // required + * status: "QUEUED" || "IN_PROGRESS" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "REJECTED" || "REMOVED" || "CANCELED", // required * statusDetails: { // DetailsMap * "": "STRING_VALUE", * }, @@ -60,7 +60,7 @@ export interface UpdateJobExecutionCommandOutput extends UpdateJobExecutionRespo * const response = await client.send(command); * // { // UpdateJobExecutionResponse * // executionState: { // JobExecutionState - * // status: "STRING_VALUE", + * // status: "QUEUED" || "IN_PROGRESS" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "REJECTED" || "REMOVED" || "CANCELED", * // statusDetails: { // DetailsMap * // "": "STRING_VALUE", * // }, diff --git a/clients/client-iot-jobs-data-plane/src/endpoint/ruleset.ts b/clients/client-iot-jobs-data-plane/src/endpoint/ruleset.ts index 541ee30737349..eac5296f71f3c 100644 --- a/clients/client-iot-jobs-data-plane/src/endpoint/ruleset.ts +++ b/clients/client-iot-jobs-data-plane/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/iot-jobs-data-plane.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://data.jobs.iot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://data.jobs.iot-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://data.jobs.iot.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://data.jobs.iot.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://data.jobs.iot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://data.jobs.iot-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://data.jobs.iot.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://data.jobs.iot.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-iot-roborunner/src/endpoint/ruleset.ts b/clients/client-iot-roborunner/src/endpoint/ruleset.ts index 7bfa4eb82b376..8c8f8b45b7ec8 100644 --- a/clients/client-iot-roborunner/src/endpoint/ruleset.ts +++ b/clients/client-iot-roborunner/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/iot-roborunner.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://iotroborunner-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://iotroborunner-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://iotroborunner.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://iotroborunner.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iotroborunner-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iotroborunner-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iotroborunner.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://iotroborunner.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-iot-wireless/src/endpoint/ruleset.ts b/clients/client-iot-wireless/src/endpoint/ruleset.ts index 6d16772e03675..9e494bee94ce2 100644 --- a/clients/client-iot-wireless/src/endpoint/ruleset.ts +++ b/clients/client-iot-wireless/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://api.iotwireless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://api.iotwireless-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://api.iotwireless.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://api.iotwireless.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://api.iotwireless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://api.iotwireless-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://api.iotwireless.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://api.iotwireless.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-iot/src/endpoint/ruleset.ts b/clients/client-iot/src/endpoint/ruleset.ts index b88b6a262f4b5..7fee06ab40399 100644 --- a/clients/client-iot/src/endpoint/ruleset.ts +++ b/clients/client-iot/src/endpoint/ruleset.ts @@ -29,5 +29,5 @@ p={"url":"https://iot.{Region}.amazonaws.com","properties":{},"headers":{}}, q=[j], r=[k], s=[{[w]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[u]:a,[v]:[i]}],type:b,rules:[{conditions:q,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:r,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[u]:a,[v]:s}],type:b,rules:[{conditions:[{[u]:"aws.partition",[v]:s,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,n],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:q,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iot-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:r,type:b,rules:[{conditions:[n],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iot.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{conditions:[{[u]:f,[v]:["aws",o]}],endpoint:p,type:d},{conditions:[{[u]:f,[v]:["aws-cn",o]}],endpoint:{url:"https://iot.{Region}.amazonaws.com.cn",properties:l,headers:l},type:d},{conditions:[{[u]:f,[v]:["aws-us-gov",o]}],endpoint:p,type:d},{endpoint:{url:"https://iot.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[u]:a,[v]:[i]}],type:b,rules:[{conditions:q,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:r,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[u]:a,[v]:s}],type:b,rules:[{conditions:[{[u]:"aws.partition",[v]:s,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,n],type:b,rules:[{endpoint:{url:"https://iot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:q,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://iot-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:r,type:b,rules:[{conditions:[n],type:b,rules:[{endpoint:{url:"https://iot.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{conditions:[{[u]:f,[v]:["aws",o]}],endpoint:p,type:d},{conditions:[{[u]:f,[v]:["aws-cn",o]}],endpoint:{url:"https://iot.{Region}.amazonaws.com.cn",properties:l,headers:l},type:d},{conditions:[{[u]:f,[v]:["aws-us-gov",o]}],endpoint:p,type:d},{endpoint:{url:"https://iot.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-iotanalytics/README.md b/clients/client-iotanalytics/README.md index 41c4f326c5ad2..1060a4b6dfb3f 100644 --- a/clients/client-iotanalytics/README.md +++ b/clients/client-iotanalytics/README.md @@ -10,13 +10,11 @@ AWS SDK for JavaScript IoTAnalytics Client for Node.js, Browser and React Native You can then query the data and run sophisticated analytics on it. IoT Analytics enables advanced data exploration through integration with Jupyter Notebooks and data visualization through integration with Amazon QuickSight.

                                                                                                                                                                                                                          -

                                                                                                                                                                                                                          Traditional analytics and business intelligence tools are designed to process structured data. IoT data often comes from devices that record noisy processes (such as temperature, motion, or sound). As a result the data from these devices can have significant gaps, corrupted messages, and false readings that must be cleaned up before analysis can occur. Also, IoT data is often only meaningful in the context of other data from external sources.

                                                                                                                                                                                                                          -

                                                                                                                                                                                                                          IoT Analytics automates the steps required to analyze data from IoT devices. IoT Analytics filters, transforms, and enriches IoT data before storing it in a time-series data store for analysis. You can set up the service to collect only the data you need from your devices, apply mathematical transforms diff --git a/clients/client-iotanalytics/src/IoTAnalytics.ts b/clients/client-iotanalytics/src/IoTAnalytics.ts index 41ace1bfd6b1e..a210ab9692e5b 100644 --- a/clients/client-iotanalytics/src/IoTAnalytics.ts +++ b/clients/client-iotanalytics/src/IoTAnalytics.ts @@ -697,13 +697,11 @@ export interface IoTAnalytics { * You can then query the data and run sophisticated analytics on it. IoT Analytics enables advanced * data exploration through integration with Jupyter Notebooks and data visualization through integration * with Amazon QuickSight.

                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                          Traditional analytics and business intelligence tools are designed to process structured data. IoT data * often comes from devices that record noisy processes (such as temperature, motion, or sound). As a result * the data from these devices can have significant gaps, corrupted messages, and false readings that must be * cleaned up before analysis can occur. Also, IoT data is often only meaningful in the context of other data * from external sources.

                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                          IoT Analytics automates the steps required to analyze data from IoT devices. IoT Analytics * filters, transforms, and enriches IoT data before storing it in a time-series data store for analysis. You * can set up the service to collect only the data you need from your devices, apply mathematical transforms diff --git a/clients/client-iotanalytics/src/IoTAnalyticsClient.ts b/clients/client-iotanalytics/src/IoTAnalyticsClient.ts index b50f01ed6adce..fad1e0739160f 100644 --- a/clients/client-iotanalytics/src/IoTAnalyticsClient.ts +++ b/clients/client-iotanalytics/src/IoTAnalyticsClient.ts @@ -371,13 +371,11 @@ export interface IoTAnalyticsClientResolvedConfig extends IoTAnalyticsClientReso * You can then query the data and run sophisticated analytics on it. IoT Analytics enables advanced * data exploration through integration with Jupyter Notebooks and data visualization through integration * with Amazon QuickSight.

                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                          Traditional analytics and business intelligence tools are designed to process structured data. IoT data * often comes from devices that record noisy processes (such as temperature, motion, or sound). As a result * the data from these devices can have significant gaps, corrupted messages, and false readings that must be * cleaned up before analysis can occur. Also, IoT data is often only meaningful in the context of other data * from external sources.

                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                          IoT Analytics automates the steps required to analyze data from IoT devices. IoT Analytics * filters, transforms, and enriches IoT data before storing it in a time-series data store for analysis. You * can set up the service to collect only the data you need from your devices, apply mathematical transforms diff --git a/clients/client-iotanalytics/src/commands/CreateDatasetCommand.ts b/clients/client-iotanalytics/src/commands/CreateDatasetCommand.ts index 4062721ef5f87..199b9c8483710 100644 --- a/clients/client-iotanalytics/src/commands/CreateDatasetCommand.ts +++ b/clients/client-iotanalytics/src/commands/CreateDatasetCommand.ts @@ -67,7 +67,7 @@ export interface CreateDatasetCommandOutput extends CreateDatasetResponse, __Met * image: "STRING_VALUE", // required * executionRoleArn: "STRING_VALUE", // required * resourceConfiguration: { // ResourceConfiguration - * computeType: "STRING_VALUE", // required + * computeType: "ACU_1" || "ACU_2", // required * volumeSizeInGB: Number("int"), // required * }, * variables: [ // Variables diff --git a/clients/client-iotanalytics/src/commands/DescribeChannelCommand.ts b/clients/client-iotanalytics/src/commands/DescribeChannelCommand.ts index 7d8651215d32c..6e15bb9108079 100644 --- a/clients/client-iotanalytics/src/commands/DescribeChannelCommand.ts +++ b/clients/client-iotanalytics/src/commands/DescribeChannelCommand.ts @@ -61,7 +61,7 @@ export interface DescribeChannelCommandOutput extends DescribeChannelResponse, _ * // }, * // }, * // arn: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "CREATING" || "ACTIVE" || "DELETING", * // retentionPeriod: { // RetentionPeriod * // unlimited: true || false, * // numberOfDays: Number("int"), diff --git a/clients/client-iotanalytics/src/commands/DescribeDatasetCommand.ts b/clients/client-iotanalytics/src/commands/DescribeDatasetCommand.ts index 3c1c1275f6df2..ff300f7aeac39 100644 --- a/clients/client-iotanalytics/src/commands/DescribeDatasetCommand.ts +++ b/clients/client-iotanalytics/src/commands/DescribeDatasetCommand.ts @@ -70,7 +70,7 @@ export interface DescribeDatasetCommandOutput extends DescribeDatasetResponse, _ * // image: "STRING_VALUE", // required * // executionRoleArn: "STRING_VALUE", // required * // resourceConfiguration: { // ResourceConfiguration - * // computeType: "STRING_VALUE", // required + * // computeType: "ACU_1" || "ACU_2", // required * // volumeSizeInGB: Number("int"), // required * // }, * // variables: [ // Variables @@ -119,7 +119,7 @@ export interface DescribeDatasetCommandOutput extends DescribeDatasetResponse, _ * // }, * // }, * // ], - * // status: "STRING_VALUE", + * // status: "CREATING" || "ACTIVE" || "DELETING", * // creationTime: new Date("TIMESTAMP"), * // lastUpdateTime: new Date("TIMESTAMP"), * // retentionPeriod: { // RetentionPeriod diff --git a/clients/client-iotanalytics/src/commands/DescribeDatastoreCommand.ts b/clients/client-iotanalytics/src/commands/DescribeDatastoreCommand.ts index 336db002e1545..d02134a37a5be 100644 --- a/clients/client-iotanalytics/src/commands/DescribeDatastoreCommand.ts +++ b/clients/client-iotanalytics/src/commands/DescribeDatastoreCommand.ts @@ -67,7 +67,7 @@ export interface DescribeDatastoreCommandOutput extends DescribeDatastoreRespons * // }, * // }, * // arn: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "CREATING" || "ACTIVE" || "DELETING", * // retentionPeriod: { // RetentionPeriod * // unlimited: true || false, * // numberOfDays: Number("int"), diff --git a/clients/client-iotanalytics/src/commands/DescribeLoggingOptionsCommand.ts b/clients/client-iotanalytics/src/commands/DescribeLoggingOptionsCommand.ts index 95d5d5643d2a1..03c98080be2cf 100644 --- a/clients/client-iotanalytics/src/commands/DescribeLoggingOptionsCommand.ts +++ b/clients/client-iotanalytics/src/commands/DescribeLoggingOptionsCommand.ts @@ -49,7 +49,7 @@ export interface DescribeLoggingOptionsCommandOutput extends DescribeLoggingOpti * // { // DescribeLoggingOptionsResponse * // loggingOptions: { // LoggingOptions * // roleArn: "STRING_VALUE", // required - * // level: "STRING_VALUE", // required + * // level: "ERROR", // required * // enabled: true || false, // required * // }, * // }; diff --git a/clients/client-iotanalytics/src/commands/DescribePipelineCommand.ts b/clients/client-iotanalytics/src/commands/DescribePipelineCommand.ts index 7367a766979dc..210baab81c16a 100644 --- a/clients/client-iotanalytics/src/commands/DescribePipelineCommand.ts +++ b/clients/client-iotanalytics/src/commands/DescribePipelineCommand.ts @@ -120,7 +120,7 @@ export interface DescribePipelineCommandOutput extends DescribePipelineResponse, * // reprocessingSummaries: [ // ReprocessingSummaries * // { // ReprocessingSummary * // id: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "RUNNING" || "SUCCEEDED" || "CANCELLED" || "FAILED", * // creationTime: new Date("TIMESTAMP"), * // }, * // ], diff --git a/clients/client-iotanalytics/src/commands/GetDatasetContentCommand.ts b/clients/client-iotanalytics/src/commands/GetDatasetContentCommand.ts index 1e19b2eb497e1..9321e9e16ca95 100644 --- a/clients/client-iotanalytics/src/commands/GetDatasetContentCommand.ts +++ b/clients/client-iotanalytics/src/commands/GetDatasetContentCommand.ts @@ -58,7 +58,7 @@ export interface GetDatasetContentCommandOutput extends GetDatasetContentRespons * // ], * // timestamp: new Date("TIMESTAMP"), * // status: { // DatasetContentStatus - * // state: "STRING_VALUE", + * // state: "CREATING" || "SUCCEEDED" || "FAILED", * // reason: "STRING_VALUE", * // }, * // }; diff --git a/clients/client-iotanalytics/src/commands/ListChannelsCommand.ts b/clients/client-iotanalytics/src/commands/ListChannelsCommand.ts index 7ca6d9329e9f7..cb22b2d375609 100644 --- a/clients/client-iotanalytics/src/commands/ListChannelsCommand.ts +++ b/clients/client-iotanalytics/src/commands/ListChannelsCommand.ts @@ -61,7 +61,7 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad * // roleArn: "STRING_VALUE", * // }, * // }, - * // status: "STRING_VALUE", + * // status: "CREATING" || "ACTIVE" || "DELETING", * // creationTime: new Date("TIMESTAMP"), * // lastUpdateTime: new Date("TIMESTAMP"), * // lastMessageArrivalTime: new Date("TIMESTAMP"), diff --git a/clients/client-iotanalytics/src/commands/ListDatasetContentsCommand.ts b/clients/client-iotanalytics/src/commands/ListDatasetContentsCommand.ts index bad2344001099..13e4bbcc61c79 100644 --- a/clients/client-iotanalytics/src/commands/ListDatasetContentsCommand.ts +++ b/clients/client-iotanalytics/src/commands/ListDatasetContentsCommand.ts @@ -57,7 +57,7 @@ export interface ListDatasetContentsCommandOutput extends ListDatasetContentsRes * // { // DatasetContentSummary * // version: "STRING_VALUE", * // status: { // DatasetContentStatus - * // state: "STRING_VALUE", + * // state: "CREATING" || "SUCCEEDED" || "FAILED", * // reason: "STRING_VALUE", * // }, * // creationTime: new Date("TIMESTAMP"), diff --git a/clients/client-iotanalytics/src/commands/ListDatasetsCommand.ts b/clients/client-iotanalytics/src/commands/ListDatasetsCommand.ts index ae0206568fb8c..8694559f260a5 100644 --- a/clients/client-iotanalytics/src/commands/ListDatasetsCommand.ts +++ b/clients/client-iotanalytics/src/commands/ListDatasetsCommand.ts @@ -53,7 +53,7 @@ export interface ListDatasetsCommandOutput extends ListDatasetsResponse, __Metad * // datasetSummaries: [ // DatasetSummaries * // { // DatasetSummary * // datasetName: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "CREATING" || "ACTIVE" || "DELETING", * // creationTime: new Date("TIMESTAMP"), * // lastUpdateTime: new Date("TIMESTAMP"), * // triggers: [ // DatasetTriggers @@ -69,7 +69,7 @@ export interface ListDatasetsCommandOutput extends ListDatasetsResponse, __Metad * // actions: [ // DatasetActionSummaries * // { // DatasetActionSummary * // actionName: "STRING_VALUE", - * // actionType: "STRING_VALUE", + * // actionType: "QUERY" || "CONTAINER", * // }, * // ], * // }, diff --git a/clients/client-iotanalytics/src/commands/ListDatastoresCommand.ts b/clients/client-iotanalytics/src/commands/ListDatastoresCommand.ts index f3deb0c3773d3..78c922c66e010 100644 --- a/clients/client-iotanalytics/src/commands/ListDatastoresCommand.ts +++ b/clients/client-iotanalytics/src/commands/ListDatastoresCommand.ts @@ -67,11 +67,11 @@ export interface ListDatastoresCommandOutput extends ListDatastoresResponse, __M * // }, * // }, * // }, - * // status: "STRING_VALUE", + * // status: "CREATING" || "ACTIVE" || "DELETING", * // creationTime: new Date("TIMESTAMP"), * // lastUpdateTime: new Date("TIMESTAMP"), * // lastMessageArrivalTime: new Date("TIMESTAMP"), - * // fileFormatType: "STRING_VALUE", + * // fileFormatType: "JSON" || "PARQUET", * // datastorePartitions: { // DatastorePartitions * // partitions: [ // Partitions * // { // DatastorePartition diff --git a/clients/client-iotanalytics/src/commands/ListPipelinesCommand.ts b/clients/client-iotanalytics/src/commands/ListPipelinesCommand.ts index cca467869e6f2..c62ddfca9a040 100644 --- a/clients/client-iotanalytics/src/commands/ListPipelinesCommand.ts +++ b/clients/client-iotanalytics/src/commands/ListPipelinesCommand.ts @@ -56,7 +56,7 @@ export interface ListPipelinesCommandOutput extends ListPipelinesResponse, __Met * // reprocessingSummaries: [ // ReprocessingSummaries * // { // ReprocessingSummary * // id: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "RUNNING" || "SUCCEEDED" || "CANCELLED" || "FAILED", * // creationTime: new Date("TIMESTAMP"), * // }, * // ], diff --git a/clients/client-iotanalytics/src/commands/PutLoggingOptionsCommand.ts b/clients/client-iotanalytics/src/commands/PutLoggingOptionsCommand.ts index e7e78edd75a6f..5b14e040889a8 100644 --- a/clients/client-iotanalytics/src/commands/PutLoggingOptionsCommand.ts +++ b/clients/client-iotanalytics/src/commands/PutLoggingOptionsCommand.ts @@ -50,7 +50,7 @@ export interface PutLoggingOptionsCommandOutput extends __MetadataBearer {} * const input = { // PutLoggingOptionsRequest * loggingOptions: { // LoggingOptions * roleArn: "STRING_VALUE", // required - * level: "STRING_VALUE", // required + * level: "ERROR", // required * enabled: true || false, // required * }, * }; diff --git a/clients/client-iotanalytics/src/commands/UpdateDatasetCommand.ts b/clients/client-iotanalytics/src/commands/UpdateDatasetCommand.ts index 1af4c5a677a35..b023961c9edc6 100644 --- a/clients/client-iotanalytics/src/commands/UpdateDatasetCommand.ts +++ b/clients/client-iotanalytics/src/commands/UpdateDatasetCommand.ts @@ -63,7 +63,7 @@ export interface UpdateDatasetCommandOutput extends __MetadataBearer {} * image: "STRING_VALUE", // required * executionRoleArn: "STRING_VALUE", // required * resourceConfiguration: { // ResourceConfiguration - * computeType: "STRING_VALUE", // required + * computeType: "ACU_1" || "ACU_2", // required * volumeSizeInGB: Number("int"), // required * }, * variables: [ // Variables diff --git a/clients/client-iotanalytics/src/endpoint/ruleset.ts b/clients/client-iotanalytics/src/endpoint/ruleset.ts index f3cdc4fce7881..14d7e281970fe 100644 --- a/clients/client-iotanalytics/src/endpoint/ruleset.ts +++ b/clients/client-iotanalytics/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/iotanalytics.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://iotanalytics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iotanalytics-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://iotanalytics.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://iotanalytics.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://iotanalytics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://iotanalytics-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://iotanalytics.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://iotanalytics.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-iotanalytics/src/index.ts b/clients/client-iotanalytics/src/index.ts index 7113efd6ed4f1..d35cbceebead3 100644 --- a/clients/client-iotanalytics/src/index.ts +++ b/clients/client-iotanalytics/src/index.ts @@ -5,13 +5,11 @@ * You can then query the data and run sophisticated analytics on it. IoT Analytics enables advanced * data exploration through integration with Jupyter Notebooks and data visualization through integration * with Amazon QuickSight.

                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                          Traditional analytics and business intelligence tools are designed to process structured data. IoT data * often comes from devices that record noisy processes (such as temperature, motion, or sound). As a result * the data from these devices can have significant gaps, corrupted messages, and false readings that must be * cleaned up before analysis can occur. Also, IoT data is often only meaningful in the context of other data * from external sources.

                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                          IoT Analytics automates the steps required to analyze data from IoT devices. IoT Analytics * filters, transforms, and enriches IoT data before storing it in a time-series data store for analysis. You * can set up the service to collect only the data you need from your devices, apply mathematical transforms diff --git a/clients/client-iotanalytics/src/models/models_0.ts b/clients/client-iotanalytics/src/models/models_0.ts index f9358a4f03b8f..85ad25559a716 100644 --- a/clients/client-iotanalytics/src/models/models_0.ts +++ b/clients/client-iotanalytics/src/models/models_0.ts @@ -68,7 +68,7 @@ export interface BatchPutMessageRequest { *

                                                                                                                                                                                                                          The list of messages to be sent. Each message has the format: \{ "messageId": "string", * "payload": "string"\}.

                                                                                                                                                                                                                          *

                                                                                                                                                                                                                          The field names of message payloads (data) that you send to IoT Analytics:

                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                              *
                                                                                                                                                                                                                            • *

                                                                                                                                                                                                                              Must contain only alphanumeric characters and undescores (_). No other special characters are * allowed.

                                                                                                                                                                                                                              diff --git a/clients/client-iotdeviceadvisor/src/endpoint/ruleset.ts b/clients/client-iotdeviceadvisor/src/endpoint/ruleset.ts index d5a9ae765d40f..dab014befec53 100644 --- a/clients/client-iotdeviceadvisor/src/endpoint/ruleset.ts +++ b/clients/client-iotdeviceadvisor/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://api.iotdeviceadvisor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://api.iotdeviceadvisor-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://api.iotdeviceadvisor.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://api.iotdeviceadvisor.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://api.iotdeviceadvisor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://api.iotdeviceadvisor-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://api.iotdeviceadvisor.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://api.iotdeviceadvisor.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-iotfleethub/src/commands/DescribeApplicationCommand.ts b/clients/client-iotfleethub/src/commands/DescribeApplicationCommand.ts index 145333a7c5bd9..9d34a105bd04e 100644 --- a/clients/client-iotfleethub/src/commands/DescribeApplicationCommand.ts +++ b/clients/client-iotfleethub/src/commands/DescribeApplicationCommand.ts @@ -57,7 +57,7 @@ export interface DescribeApplicationCommandOutput extends DescribeApplicationRes * // applicationName: "STRING_VALUE", // required * // applicationDescription: "STRING_VALUE", * // applicationUrl: "STRING_VALUE", // required - * // applicationState: "STRING_VALUE", // required + * // applicationState: "CREATING" || "DELETING" || "ACTIVE" || "CREATE_FAILED" || "DELETE_FAILED", // required * // applicationCreationDate: Number("long"), // required * // applicationLastUpdateDate: Number("long"), // required * // roleArn: "STRING_VALUE", // required diff --git a/clients/client-iotfleethub/src/commands/ListApplicationsCommand.ts b/clients/client-iotfleethub/src/commands/ListApplicationsCommand.ts index 5002e3a3aa622..e1d68e152bbc7 100644 --- a/clients/client-iotfleethub/src/commands/ListApplicationsCommand.ts +++ b/clients/client-iotfleethub/src/commands/ListApplicationsCommand.ts @@ -60,7 +60,7 @@ export interface ListApplicationsCommandOutput extends ListApplicationsResponse, * // applicationUrl: "STRING_VALUE", // required * // applicationCreationDate: Number("long"), * // applicationLastUpdateDate: Number("long"), - * // applicationState: "STRING_VALUE", + * // applicationState: "CREATING" || "DELETING" || "ACTIVE" || "CREATE_FAILED" || "DELETE_FAILED", * // }, * // ], * // nextToken: "STRING_VALUE", diff --git a/clients/client-iotfleethub/src/endpoint/ruleset.ts b/clients/client-iotfleethub/src/endpoint/ruleset.ts index 36375776dbdbd..f8c53cb81750c 100644 --- a/clients/client-iotfleethub/src/endpoint/ruleset.ts +++ b/clients/client-iotfleethub/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/iotfleethub.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://api.fleethub.iot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://api.fleethub.iot-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://api.fleethub.iot.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://api.fleethub.iot.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://api.fleethub.iot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://api.fleethub.iot-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://api.fleethub.iot.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://api.fleethub.iot.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-iotfleetwise/src/endpoint/ruleset.ts b/clients/client-iotfleetwise/src/endpoint/ruleset.ts index 12c9e9fad0db8..1f78038c1c97a 100644 --- a/clients/client-iotfleetwise/src/endpoint/ruleset.ts +++ b/clients/client-iotfleetwise/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iotfleetwise-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iotfleetwise-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iotfleetwise.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://iotfleetwise.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://iotfleetwise-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://iotfleetwise-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://iotfleetwise.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://iotfleetwise.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-iotsecuretunneling/src/IoTSecureTunneling.ts b/clients/client-iotsecuretunneling/src/IoTSecureTunneling.ts index ab96941d97aec..32875349acbc3 100644 --- a/clients/client-iotsecuretunneling/src/IoTSecureTunneling.ts +++ b/clients/client-iotsecuretunneling/src/IoTSecureTunneling.ts @@ -147,9 +147,9 @@ export interface IoTSecureTunneling { /** * @public * IoT Secure Tunneling - *

                                                                                                                                                                                                                              IoT Secure Tunneling creates remote connections to devices deployed in the + *

                                                                                                                                                                                                                              IoT Secure Tunneling creates remote connections to devices deployed in the * field.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              For more information about how IoT Secure Tunneling works, see IoT + *

                                                                                                                                                                                                                              For more information about how IoT Secure Tunneling works, see IoT * Secure Tunneling.

                                                                                                                                                                                                                              */ export class IoTSecureTunneling extends IoTSecureTunnelingClient implements IoTSecureTunneling {} diff --git a/clients/client-iotsecuretunneling/src/IoTSecureTunnelingClient.ts b/clients/client-iotsecuretunneling/src/IoTSecureTunnelingClient.ts index 0d05162ce27fd..eb2ed39a4c115 100644 --- a/clients/client-iotsecuretunneling/src/IoTSecureTunnelingClient.ts +++ b/clients/client-iotsecuretunneling/src/IoTSecureTunnelingClient.ts @@ -272,9 +272,9 @@ export interface IoTSecureTunnelingClientResolvedConfig extends IoTSecureTunneli /** * @public * IoT Secure Tunneling - *

                                                                                                                                                                                                                              IoT Secure Tunneling creates remote connections to devices deployed in the + *

                                                                                                                                                                                                                              IoT Secure Tunneling creates remote connections to devices deployed in the * field.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              For more information about how IoT Secure Tunneling works, see IoT + *

                                                                                                                                                                                                                              For more information about how IoT Secure Tunneling works, see IoT * Secure Tunneling.

                                                                                                                                                                                                                              */ export class IoTSecureTunnelingClient extends __Client< diff --git a/clients/client-iotsecuretunneling/src/commands/CloseTunnelCommand.ts b/clients/client-iotsecuretunneling/src/commands/CloseTunnelCommand.ts index a66d84645c1de..dea0e543fb9e9 100644 --- a/clients/client-iotsecuretunneling/src/commands/CloseTunnelCommand.ts +++ b/clients/client-iotsecuretunneling/src/commands/CloseTunnelCommand.ts @@ -43,7 +43,7 @@ export interface CloseTunnelCommandOutput extends CloseTunnelResponse, __Metadat *

                                                                                                                                                                                                                              Closes a tunnel identified by the unique tunnel id. When a CloseTunnel * request is received, we close the WebSocket connections between the client and proxy * server so no data can be transmitted.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              Requires permission to access the CloseTunnel action.

                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                              Requires permission to access the CloseTunnel action.

                                                                                                                                                                                                                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-iotsecuretunneling/src/commands/DescribeTunnelCommand.ts b/clients/client-iotsecuretunneling/src/commands/DescribeTunnelCommand.ts index dd3f7dfe855e7..a07be5c857567 100644 --- a/clients/client-iotsecuretunneling/src/commands/DescribeTunnelCommand.ts +++ b/clients/client-iotsecuretunneling/src/commands/DescribeTunnelCommand.ts @@ -41,7 +41,7 @@ export interface DescribeTunnelCommandOutput extends DescribeTunnelResponse, __M /** * @public *

                                                                                                                                                                                                                              Gets information about a tunnel identified by the unique tunnel id.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              Requires permission to access the DescribeTunnel action.

                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                              Requires permission to access the DescribeTunnel action.

                                                                                                                                                                                                                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -57,13 +57,13 @@ export interface DescribeTunnelCommandOutput extends DescribeTunnelResponse, __M * // tunnel: { // Tunnel * // tunnelId: "STRING_VALUE", * // tunnelArn: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "OPEN" || "CLOSED", * // sourceConnectionState: { // ConnectionState - * // status: "STRING_VALUE", + * // status: "CONNECTED" || "DISCONNECTED", * // lastUpdatedAt: new Date("TIMESTAMP"), * // }, * // destinationConnectionState: { - * // status: "STRING_VALUE", + * // status: "CONNECTED" || "DISCONNECTED", * // lastUpdatedAt: new Date("TIMESTAMP"), * // }, * // description: "STRING_VALUE", diff --git a/clients/client-iotsecuretunneling/src/commands/ListTunnelsCommand.ts b/clients/client-iotsecuretunneling/src/commands/ListTunnelsCommand.ts index 74809ceee710b..2915f3bdfec89 100644 --- a/clients/client-iotsecuretunneling/src/commands/ListTunnelsCommand.ts +++ b/clients/client-iotsecuretunneling/src/commands/ListTunnelsCommand.ts @@ -42,7 +42,7 @@ export interface ListTunnelsCommandOutput extends ListTunnelsResponse, __Metadat * @public *

                                                                                                                                                                                                                              List all tunnels for an Amazon Web Services account. Tunnels are listed by creation time in * descending order, newer tunnels will be listed before older tunnels.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              Requires permission to access the ListTunnels action.

                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                              Requires permission to access the ListTunnels action.

                                                                                                                                                                                                                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -61,7 +61,7 @@ export interface ListTunnelsCommandOutput extends ListTunnelsResponse, __Metadat * // { // TunnelSummary * // tunnelId: "STRING_VALUE", * // tunnelArn: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "OPEN" || "CLOSED", * // description: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), * // lastUpdatedAt: new Date("TIMESTAMP"), diff --git a/clients/client-iotsecuretunneling/src/commands/OpenTunnelCommand.ts b/clients/client-iotsecuretunneling/src/commands/OpenTunnelCommand.ts index da508b60f111f..8991c5a22cc11 100644 --- a/clients/client-iotsecuretunneling/src/commands/OpenTunnelCommand.ts +++ b/clients/client-iotsecuretunneling/src/commands/OpenTunnelCommand.ts @@ -42,7 +42,7 @@ export interface OpenTunnelCommandOutput extends OpenTunnelResponse, __MetadataB * @public *

                                                                                                                                                                                                                              Creates a new tunnel, and returns two client access tokens for clients to use to * connect to the IoT Secure Tunneling proxy server.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              Requires permission to access the OpenTunnel action.

                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                              Requires permission to access the OpenTunnel action.

                                                                                                                                                                                                                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-iotsecuretunneling/src/commands/RotateTunnelAccessTokenCommand.ts b/clients/client-iotsecuretunneling/src/commands/RotateTunnelAccessTokenCommand.ts index b52b0c9936720..f21cafdb8194b 100644 --- a/clients/client-iotsecuretunneling/src/commands/RotateTunnelAccessTokenCommand.ts +++ b/clients/client-iotsecuretunneling/src/commands/RotateTunnelAccessTokenCommand.ts @@ -46,13 +46,13 @@ export interface RotateTunnelAccessTokenCommandOutput extends RotateTunnelAccess * @public *

                                                                                                                                                                                                                              Revokes the current client access token (CAT) and returns new CAT for clients to * use when reconnecting to secure tunneling to access the same tunnel.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              Requires permission to access the RotateTunnelAccessToken action.

                                                                                                                                                                                                                              - * - *

                                                                                                                                                                                                                              Rotating the CAT doesn't extend the tunnel duration. For example, say the tunnel + *

                                                                                                                                                                                                                              Requires permission to access the RotateTunnelAccessToken action.

                                                                                                                                                                                                                              + * + *

                                                                                                                                                                                                                              Rotating the CAT doesn't extend the tunnel duration. For example, say the tunnel * duration is 12 hours and the tunnel has already been open for 4 hours. When you * rotate the access tokens, the new tokens that are generated can only be used for the * remaining 8 hours.

                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -61,7 +61,7 @@ export interface RotateTunnelAccessTokenCommandOutput extends RotateTunnelAccess * const client = new IoTSecureTunnelingClient(config); * const input = { // RotateTunnelAccessTokenRequest * tunnelId: "STRING_VALUE", // required - * clientMode: "STRING_VALUE", // required + * clientMode: "SOURCE" || "DESTINATION" || "ALL", // required * destinationConfig: { // DestinationConfig * thingName: "STRING_VALUE", * services: [ // ServiceList // required diff --git a/clients/client-iotsecuretunneling/src/endpoint/ruleset.ts b/clients/client-iotsecuretunneling/src/endpoint/ruleset.ts index 542c8ef622627..b14e45ac4cf35 100644 --- a/clients/client-iotsecuretunneling/src/endpoint/ruleset.ts +++ b/clients/client-iotsecuretunneling/src/endpoint/ruleset.ts @@ -6,27 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/iotsecuretunneling.json */ -const s="required", -t="fn", -u="argv", -v="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e="stringEquals", -f={[s]:false,"type":"String"}, -g={[s]:true,"default":false,"type":"Boolean"}, -h={[v]:"Endpoint"}, -i={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, -j={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, k={}, -l={[t]:"booleanEquals",[u]:[true,{[t]:"getAttr",[u]:[{[v]:a},"supportsFIPS"]}]}, -m={[t]:"booleanEquals",[u]:[true,{[t]:"getAttr",[u]:[{[v]:a},"supportsDualStack"]}]}, -n={[t]:"getAttr",[u]:[{[v]:a},"name"]}, -o={"url":"https://api.tunneling.iot-fips.{Region}.{PartitionResult#dnsSuffix}","properties":{},"headers":{}}, -p=[h], -q=[i], -r=[j]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[t]:"aws.partition",[u]:[{[v]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[t]:"isSet",[u]:p},{[t]:"parseURL",[u]:p,assign:"url"}],type:b,rules:[{conditions:q,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:r,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://api.tunneling.iot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:q,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{conditions:[{[t]:e,[u]:["aws",n]}],endpoint:o,type:d},{conditions:[{[t]:e,[u]:["aws-us-gov",n]}],endpoint:o,type:d},{endpoint:o,type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:r,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://api.tunneling.iot.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://api.tunneling.iot.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}; +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://api.tunneling.iot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://api.tunneling.iot-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://api.tunneling.iot.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://api.tunneling.iot.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-iotsecuretunneling/src/index.ts b/clients/client-iotsecuretunneling/src/index.ts index 916e054e5099d..130a748159d5c 100644 --- a/clients/client-iotsecuretunneling/src/index.ts +++ b/clients/client-iotsecuretunneling/src/index.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * IoT Secure Tunneling - *

                                                                                                                                                                                                                              IoT Secure Tunneling creates remote connections to devices deployed in the + *

                                                                                                                                                                                                                              IoT Secure Tunneling creates remote connections to devices deployed in the * field.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              For more information about how IoT Secure Tunneling works, see IoT + *

                                                                                                                                                                                                                              For more information about how IoT Secure Tunneling works, see IoT * Secure Tunneling.

                                                                                                                                                                                                                              * * @packageDocumentation diff --git a/clients/client-iotsitewise/src/endpoint/ruleset.ts b/clients/client-iotsitewise/src/endpoint/ruleset.ts index b3557fc39613e..a74bfc8e4caa8 100644 --- a/clients/client-iotsitewise/src/endpoint/ruleset.ts +++ b/clients/client-iotsitewise/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iotsitewise-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iotsitewise-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iotsitewise.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://iotsitewise.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://iotsitewise-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://iotsitewise-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://iotsitewise.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://iotsitewise.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-iotthingsgraph/README.md b/clients/client-iotthingsgraph/README.md index 15c81dd9381b2..2aba814b96764 100644 --- a/clients/client-iotthingsgraph/README.md +++ b/clients/client-iotthingsgraph/README.md @@ -12,7 +12,6 @@ AWS SDK for JavaScript IoTThingsGraph Client for Node.js, Browser and React Nati such as units of measure and communication protocols. AWS IoT Things Graph makes it possible to build IoT applications with little to no code by connecting devices and services and defining how they interact at an abstract level.

                                                                                                                                                                                                                              For more information about how AWS IoT Things Graph works, see the User Guide.

                                                                                                                                                                                                                              -

                                                                                                                                                                                                                              The AWS IoT Things Graph service is discontinued.

                                                                                                                                                                                                                              ## Installing diff --git a/clients/client-iotthingsgraph/src/IoTThingsGraph.ts b/clients/client-iotthingsgraph/src/IoTThingsGraph.ts index 50aa79710554c..32261f1a8fe10 100644 --- a/clients/client-iotthingsgraph/src/IoTThingsGraph.ts +++ b/clients/client-iotthingsgraph/src/IoTThingsGraph.ts @@ -777,7 +777,6 @@ export interface IoTThingsGraph { * such as units of measure and communication protocols. AWS IoT Things Graph makes it possible to build IoT applications with little to no code by connecting devices and services * and defining how they interact at an abstract level.

                                                                                                                                                                                                                              *

                                                                                                                                                                                                                              For more information about how AWS IoT Things Graph works, see the User Guide.

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              The AWS IoT Things Graph service is discontinued.

                                                                                                                                                                                                                              */ export class IoTThingsGraph extends IoTThingsGraphClient implements IoTThingsGraph {} diff --git a/clients/client-iotthingsgraph/src/IoTThingsGraphClient.ts b/clients/client-iotthingsgraph/src/IoTThingsGraphClient.ts index a4e52f1e6bbcf..7d8c68737b6b3 100644 --- a/clients/client-iotthingsgraph/src/IoTThingsGraphClient.ts +++ b/clients/client-iotthingsgraph/src/IoTThingsGraphClient.ts @@ -414,7 +414,6 @@ export interface IoTThingsGraphClientResolvedConfig extends IoTThingsGraphClient * such as units of measure and communication protocols. AWS IoT Things Graph makes it possible to build IoT applications with little to no code by connecting devices and services * and defining how they interact at an abstract level.

                                                                                                                                                                                                                              *

                                                                                                                                                                                                                              For more information about how AWS IoT Things Graph works, see the User Guide.

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              The AWS IoT Things Graph service is discontinued.

                                                                                                                                                                                                                              */ export class IoTThingsGraphClient extends __Client< diff --git a/clients/client-iotthingsgraph/src/commands/CreateFlowTemplateCommand.ts b/clients/client-iotthingsgraph/src/commands/CreateFlowTemplateCommand.ts index 71424016671da..9548bda7b8556 100644 --- a/clients/client-iotthingsgraph/src/commands/CreateFlowTemplateCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/CreateFlowTemplateCommand.ts @@ -49,7 +49,7 @@ export interface CreateFlowTemplateCommandOutput extends CreateFlowTemplateRespo * const client = new IoTThingsGraphClient(config); * const input = { // CreateFlowTemplateRequest * definition: { // DefinitionDocument - * language: "STRING_VALUE", // required + * language: "GRAPHQL", // required * text: "STRING_VALUE", // required * }, * compatibleNamespaceVersion: Number("long"), diff --git a/clients/client-iotthingsgraph/src/commands/CreateSystemInstanceCommand.ts b/clients/client-iotthingsgraph/src/commands/CreateSystemInstanceCommand.ts index fc7d0eebcb115..fea02ec411eab 100644 --- a/clients/client-iotthingsgraph/src/commands/CreateSystemInstanceCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/CreateSystemInstanceCommand.ts @@ -61,10 +61,10 @@ export interface CreateSystemInstanceCommandOutput extends CreateSystemInstanceR * }, * ], * definition: { // DefinitionDocument - * language: "STRING_VALUE", // required + * language: "GRAPHQL", // required * text: "STRING_VALUE", // required * }, - * target: "STRING_VALUE", // required + * target: "GREENGRASS" || "CLOUD", // required * greengrassGroupName: "STRING_VALUE", * s3BucketName: "STRING_VALUE", * metricsConfiguration: { // MetricsConfiguration @@ -79,8 +79,8 @@ export interface CreateSystemInstanceCommandOutput extends CreateSystemInstanceR * // summary: { // SystemInstanceSummary * // id: "STRING_VALUE", * // arn: "STRING_VALUE", - * // status: "STRING_VALUE", - * // target: "STRING_VALUE", + * // status: "NOT_DEPLOYED" || "BOOTSTRAP" || "DEPLOY_IN_PROGRESS" || "DEPLOYED_IN_TARGET" || "UNDEPLOY_IN_PROGRESS" || "FAILED" || "PENDING_DELETE" || "DELETED_IN_TARGET", + * // target: "GREENGRASS" || "CLOUD", * // greengrassGroupName: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), * // updatedAt: new Date("TIMESTAMP"), diff --git a/clients/client-iotthingsgraph/src/commands/CreateSystemTemplateCommand.ts b/clients/client-iotthingsgraph/src/commands/CreateSystemTemplateCommand.ts index dfa1669a2c2b0..c641ab9629119 100644 --- a/clients/client-iotthingsgraph/src/commands/CreateSystemTemplateCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/CreateSystemTemplateCommand.ts @@ -48,7 +48,7 @@ export interface CreateSystemTemplateCommandOutput extends CreateSystemTemplateR * const client = new IoTThingsGraphClient(config); * const input = { // CreateSystemTemplateRequest * definition: { // DefinitionDocument - * language: "STRING_VALUE", // required + * language: "GRAPHQL", // required * text: "STRING_VALUE", // required * }, * compatibleNamespaceVersion: Number("long"), diff --git a/clients/client-iotthingsgraph/src/commands/DeploySystemInstanceCommand.ts b/clients/client-iotthingsgraph/src/commands/DeploySystemInstanceCommand.ts index d64538c60cc5c..d729635244b0f 100644 --- a/clients/client-iotthingsgraph/src/commands/DeploySystemInstanceCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/DeploySystemInstanceCommand.ts @@ -65,8 +65,8 @@ export interface DeploySystemInstanceCommandOutput extends DeploySystemInstanceR * // summary: { // SystemInstanceSummary * // id: "STRING_VALUE", * // arn: "STRING_VALUE", - * // status: "STRING_VALUE", - * // target: "STRING_VALUE", + * // status: "NOT_DEPLOYED" || "BOOTSTRAP" || "DEPLOY_IN_PROGRESS" || "DEPLOYED_IN_TARGET" || "UNDEPLOY_IN_PROGRESS" || "FAILED" || "PENDING_DELETE" || "DELETED_IN_TARGET", + * // target: "GREENGRASS" || "CLOUD", * // greengrassGroupName: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), * // updatedAt: new Date("TIMESTAMP"), diff --git a/clients/client-iotthingsgraph/src/commands/DissociateEntityFromThingCommand.ts b/clients/client-iotthingsgraph/src/commands/DissociateEntityFromThingCommand.ts index 5201acf00c2e4..cdddcf618d8f0 100644 --- a/clients/client-iotthingsgraph/src/commands/DissociateEntityFromThingCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/DissociateEntityFromThingCommand.ts @@ -48,7 +48,7 @@ export interface DissociateEntityFromThingCommandOutput extends DissociateEntity * const client = new IoTThingsGraphClient(config); * const input = { // DissociateEntityFromThingRequest * thingName: "STRING_VALUE", // required - * entityType: "STRING_VALUE", // required + * entityType: "DEVICE" || "SERVICE" || "DEVICE_MODEL" || "CAPABILITY" || "STATE" || "ACTION" || "EVENT" || "PROPERTY" || "MAPPING" || "ENUM", // required * }; * const command = new DissociateEntityFromThingCommand(input); * const response = await client.send(command); diff --git a/clients/client-iotthingsgraph/src/commands/GetEntitiesCommand.ts b/clients/client-iotthingsgraph/src/commands/GetEntitiesCommand.ts index b59f564653607..befdce7fd892b 100644 --- a/clients/client-iotthingsgraph/src/commands/GetEntitiesCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/GetEntitiesCommand.ts @@ -89,10 +89,10 @@ export interface GetEntitiesCommandOutput extends GetEntitiesResponse, __Metadat * // { // EntityDescription * // id: "STRING_VALUE", * // arn: "STRING_VALUE", - * // type: "STRING_VALUE", + * // type: "DEVICE" || "SERVICE" || "DEVICE_MODEL" || "CAPABILITY" || "STATE" || "ACTION" || "EVENT" || "PROPERTY" || "MAPPING" || "ENUM", * // createdAt: new Date("TIMESTAMP"), * // definition: { // DefinitionDocument - * // language: "STRING_VALUE", // required + * // language: "GRAPHQL", // required * // text: "STRING_VALUE", // required * // }, * // }, diff --git a/clients/client-iotthingsgraph/src/commands/GetFlowTemplateCommand.ts b/clients/client-iotthingsgraph/src/commands/GetFlowTemplateCommand.ts index e030933bb866e..9fd8845ae5af5 100644 --- a/clients/client-iotthingsgraph/src/commands/GetFlowTemplateCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/GetFlowTemplateCommand.ts @@ -60,7 +60,7 @@ export interface GetFlowTemplateCommandOutput extends GetFlowTemplateResponse, _ * // createdAt: new Date("TIMESTAMP"), * // }, * // definition: { // DefinitionDocument - * // language: "STRING_VALUE", // required + * // language: "GRAPHQL", // required * // text: "STRING_VALUE", // required * // }, * // validatedNamespaceVersion: Number("long"), diff --git a/clients/client-iotthingsgraph/src/commands/GetNamespaceDeletionStatusCommand.ts b/clients/client-iotthingsgraph/src/commands/GetNamespaceDeletionStatusCommand.ts index e4ec347196bb5..87111832236bf 100644 --- a/clients/client-iotthingsgraph/src/commands/GetNamespaceDeletionStatusCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/GetNamespaceDeletionStatusCommand.ts @@ -51,8 +51,8 @@ export interface GetNamespaceDeletionStatusCommandOutput extends GetNamespaceDel * // { // GetNamespaceDeletionStatusResponse * // namespaceArn: "STRING_VALUE", * // namespaceName: "STRING_VALUE", - * // status: "STRING_VALUE", - * // errorCode: "STRING_VALUE", + * // status: "IN_PROGRESS" || "SUCCEEDED" || "FAILED", + * // errorCode: "VALIDATION_FAILED", * // errorMessage: "STRING_VALUE", * // }; * diff --git a/clients/client-iotthingsgraph/src/commands/GetSystemInstanceCommand.ts b/clients/client-iotthingsgraph/src/commands/GetSystemInstanceCommand.ts index 88c6ad3ee2a09..f5af376dc449c 100644 --- a/clients/client-iotthingsgraph/src/commands/GetSystemInstanceCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/GetSystemInstanceCommand.ts @@ -55,8 +55,8 @@ export interface GetSystemInstanceCommandOutput extends GetSystemInstanceRespons * // summary: { // SystemInstanceSummary * // id: "STRING_VALUE", * // arn: "STRING_VALUE", - * // status: "STRING_VALUE", - * // target: "STRING_VALUE", + * // status: "NOT_DEPLOYED" || "BOOTSTRAP" || "DEPLOY_IN_PROGRESS" || "DEPLOYED_IN_TARGET" || "UNDEPLOY_IN_PROGRESS" || "FAILED" || "PENDING_DELETE" || "DELETED_IN_TARGET", + * // target: "GREENGRASS" || "CLOUD", * // greengrassGroupName: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), * // updatedAt: new Date("TIMESTAMP"), @@ -64,7 +64,7 @@ export interface GetSystemInstanceCommandOutput extends GetSystemInstanceRespons * // greengrassGroupVersionId: "STRING_VALUE", * // }, * // definition: { // DefinitionDocument - * // language: "STRING_VALUE", // required + * // language: "GRAPHQL", // required * // text: "STRING_VALUE", // required * // }, * // s3BucketName: "STRING_VALUE", diff --git a/clients/client-iotthingsgraph/src/commands/GetSystemTemplateCommand.ts b/clients/client-iotthingsgraph/src/commands/GetSystemTemplateCommand.ts index 843ea013ee5b4..211c9c27145f9 100644 --- a/clients/client-iotthingsgraph/src/commands/GetSystemTemplateCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/GetSystemTemplateCommand.ts @@ -60,7 +60,7 @@ export interface GetSystemTemplateCommandOutput extends GetSystemTemplateRespons * // createdAt: new Date("TIMESTAMP"), * // }, * // definition: { // DefinitionDocument - * // language: "STRING_VALUE", // required + * // language: "GRAPHQL", // required * // text: "STRING_VALUE", // required * // }, * // validatedNamespaceVersion: Number("long"), diff --git a/clients/client-iotthingsgraph/src/commands/GetUploadStatusCommand.ts b/clients/client-iotthingsgraph/src/commands/GetUploadStatusCommand.ts index 53123bbf912e9..df0ef2cd5f642 100644 --- a/clients/client-iotthingsgraph/src/commands/GetUploadStatusCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/GetUploadStatusCommand.ts @@ -52,7 +52,7 @@ export interface GetUploadStatusCommandOutput extends GetUploadStatusResponse, _ * const response = await client.send(command); * // { // GetUploadStatusResponse * // uploadId: "STRING_VALUE", // required - * // uploadStatus: "STRING_VALUE", // required + * // uploadStatus: "IN_PROGRESS" || "SUCCEEDED" || "FAILED", // required * // namespaceArn: "STRING_VALUE", * // namespaceName: "STRING_VALUE", * // namespaceVersion: Number("long"), diff --git a/clients/client-iotthingsgraph/src/commands/ListFlowExecutionMessagesCommand.ts b/clients/client-iotthingsgraph/src/commands/ListFlowExecutionMessagesCommand.ts index 5a4a53822af42..9abf81ab9e838 100644 --- a/clients/client-iotthingsgraph/src/commands/ListFlowExecutionMessagesCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/ListFlowExecutionMessagesCommand.ts @@ -56,7 +56,7 @@ export interface ListFlowExecutionMessagesCommandOutput extends ListFlowExecutio * // messages: [ // FlowExecutionMessages * // { // FlowExecutionMessage * // messageId: "STRING_VALUE", - * // eventType: "STRING_VALUE", + * // eventType: "EXECUTION_STARTED" || "EXECUTION_FAILED" || "EXECUTION_ABORTED" || "EXECUTION_SUCCEEDED" || "STEP_STARTED" || "STEP_FAILED" || "STEP_SUCCEEDED" || "ACTIVITY_SCHEDULED" || "ACTIVITY_STARTED" || "ACTIVITY_FAILED" || "ACTIVITY_SUCCEEDED" || "START_FLOW_EXECUTION_TASK" || "SCHEDULE_NEXT_READY_STEPS_TASK" || "THING_ACTION_TASK" || "THING_ACTION_TASK_FAILED" || "THING_ACTION_TASK_SUCCEEDED" || "ACKNOWLEDGE_TASK_MESSAGE", * // timestamp: new Date("TIMESTAMP"), * // payload: "STRING_VALUE", * // }, diff --git a/clients/client-iotthingsgraph/src/commands/SearchEntitiesCommand.ts b/clients/client-iotthingsgraph/src/commands/SearchEntitiesCommand.ts index b5a29114510b1..0a6dd6c2550a3 100644 --- a/clients/client-iotthingsgraph/src/commands/SearchEntitiesCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/SearchEntitiesCommand.ts @@ -47,11 +47,11 @@ export interface SearchEntitiesCommandOutput extends SearchEntitiesResponse, __M * const client = new IoTThingsGraphClient(config); * const input = { // SearchEntitiesRequest * entityTypes: [ // EntityTypes // required - * "STRING_VALUE", + * "DEVICE" || "SERVICE" || "DEVICE_MODEL" || "CAPABILITY" || "STATE" || "ACTION" || "EVENT" || "PROPERTY" || "MAPPING" || "ENUM", * ], * filters: [ // EntityFilters * { // EntityFilter - * name: "STRING_VALUE", + * name: "NAME" || "NAMESPACE" || "SEMANTIC_TYPE_PATH" || "REFERENCED_ENTITY_ID", * value: [ // EntityFilterValues * "STRING_VALUE", * ], @@ -68,10 +68,10 @@ export interface SearchEntitiesCommandOutput extends SearchEntitiesResponse, __M * // { // EntityDescription * // id: "STRING_VALUE", * // arn: "STRING_VALUE", - * // type: "STRING_VALUE", + * // type: "DEVICE" || "SERVICE" || "DEVICE_MODEL" || "CAPABILITY" || "STATE" || "ACTION" || "EVENT" || "PROPERTY" || "MAPPING" || "ENUM", * // createdAt: new Date("TIMESTAMP"), * // definition: { // DefinitionDocument - * // language: "STRING_VALUE", // required + * // language: "GRAPHQL", // required * // text: "STRING_VALUE", // required * // }, * // }, diff --git a/clients/client-iotthingsgraph/src/commands/SearchFlowExecutionsCommand.ts b/clients/client-iotthingsgraph/src/commands/SearchFlowExecutionsCommand.ts index ced3041cb5620..92665e70e1c71 100644 --- a/clients/client-iotthingsgraph/src/commands/SearchFlowExecutionsCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/SearchFlowExecutionsCommand.ts @@ -59,7 +59,7 @@ export interface SearchFlowExecutionsCommandOutput extends SearchFlowExecutionsR * // summaries: [ // FlowExecutionSummaries * // { // FlowExecutionSummary * // flowExecutionId: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "RUNNING" || "ABORTED" || "SUCCEEDED" || "FAILED", * // systemInstanceId: "STRING_VALUE", * // flowTemplateId: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), diff --git a/clients/client-iotthingsgraph/src/commands/SearchFlowTemplatesCommand.ts b/clients/client-iotthingsgraph/src/commands/SearchFlowTemplatesCommand.ts index aa201b43b11a0..de05942c9d3f4 100644 --- a/clients/client-iotthingsgraph/src/commands/SearchFlowTemplatesCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/SearchFlowTemplatesCommand.ts @@ -48,7 +48,7 @@ export interface SearchFlowTemplatesCommandOutput extends SearchFlowTemplatesRes * const input = { // SearchFlowTemplatesRequest * filters: [ // FlowTemplateFilters * { // FlowTemplateFilter - * name: "STRING_VALUE", // required + * name: "DEVICE_MODEL_ID", // required * value: [ // FlowTemplateFilterValues // required * "STRING_VALUE", * ], diff --git a/clients/client-iotthingsgraph/src/commands/SearchSystemInstancesCommand.ts b/clients/client-iotthingsgraph/src/commands/SearchSystemInstancesCommand.ts index 53d6e76f3b224..cbe8f297045c3 100644 --- a/clients/client-iotthingsgraph/src/commands/SearchSystemInstancesCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/SearchSystemInstancesCommand.ts @@ -48,7 +48,7 @@ export interface SearchSystemInstancesCommandOutput extends SearchSystemInstance * const input = { // SearchSystemInstancesRequest * filters: [ // SystemInstanceFilters * { // SystemInstanceFilter - * name: "STRING_VALUE", + * name: "SYSTEM_TEMPLATE_ID" || "STATUS" || "GREENGRASS_GROUP_NAME", * value: [ // SystemInstanceFilterValues * "STRING_VALUE", * ], @@ -64,8 +64,8 @@ export interface SearchSystemInstancesCommandOutput extends SearchSystemInstance * // { // SystemInstanceSummary * // id: "STRING_VALUE", * // arn: "STRING_VALUE", - * // status: "STRING_VALUE", - * // target: "STRING_VALUE", + * // status: "NOT_DEPLOYED" || "BOOTSTRAP" || "DEPLOY_IN_PROGRESS" || "DEPLOYED_IN_TARGET" || "UNDEPLOY_IN_PROGRESS" || "FAILED" || "PENDING_DELETE" || "DELETED_IN_TARGET", + * // target: "GREENGRASS" || "CLOUD", * // greengrassGroupName: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), * // updatedAt: new Date("TIMESTAMP"), diff --git a/clients/client-iotthingsgraph/src/commands/SearchSystemTemplatesCommand.ts b/clients/client-iotthingsgraph/src/commands/SearchSystemTemplatesCommand.ts index 2ee45479a3300..b26a9a040f919 100644 --- a/clients/client-iotthingsgraph/src/commands/SearchSystemTemplatesCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/SearchSystemTemplatesCommand.ts @@ -48,7 +48,7 @@ export interface SearchSystemTemplatesCommandOutput extends SearchSystemTemplate * const input = { // SearchSystemTemplatesRequest * filters: [ // SystemTemplateFilters * { // SystemTemplateFilter - * name: "STRING_VALUE", // required + * name: "FLOW_TEMPLATE_ID", // required * value: [ // SystemTemplateFilterValues // required * "STRING_VALUE", * ], diff --git a/clients/client-iotthingsgraph/src/commands/UndeploySystemInstanceCommand.ts b/clients/client-iotthingsgraph/src/commands/UndeploySystemInstanceCommand.ts index 892016f610232..5183d0673b63b 100644 --- a/clients/client-iotthingsgraph/src/commands/UndeploySystemInstanceCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/UndeploySystemInstanceCommand.ts @@ -54,8 +54,8 @@ export interface UndeploySystemInstanceCommandOutput extends UndeploySystemInsta * // summary: { // SystemInstanceSummary * // id: "STRING_VALUE", * // arn: "STRING_VALUE", - * // status: "STRING_VALUE", - * // target: "STRING_VALUE", + * // status: "NOT_DEPLOYED" || "BOOTSTRAP" || "DEPLOY_IN_PROGRESS" || "DEPLOYED_IN_TARGET" || "UNDEPLOY_IN_PROGRESS" || "FAILED" || "PENDING_DELETE" || "DELETED_IN_TARGET", + * // target: "GREENGRASS" || "CLOUD", * // greengrassGroupName: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), * // updatedAt: new Date("TIMESTAMP"), diff --git a/clients/client-iotthingsgraph/src/commands/UpdateFlowTemplateCommand.ts b/clients/client-iotthingsgraph/src/commands/UpdateFlowTemplateCommand.ts index 49441b40cda28..1d68075d9fd7e 100644 --- a/clients/client-iotthingsgraph/src/commands/UpdateFlowTemplateCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/UpdateFlowTemplateCommand.ts @@ -49,7 +49,7 @@ export interface UpdateFlowTemplateCommandOutput extends UpdateFlowTemplateRespo * const input = { // UpdateFlowTemplateRequest * id: "STRING_VALUE", // required * definition: { // DefinitionDocument - * language: "STRING_VALUE", // required + * language: "GRAPHQL", // required * text: "STRING_VALUE", // required * }, * compatibleNamespaceVersion: Number("long"), diff --git a/clients/client-iotthingsgraph/src/commands/UpdateSystemTemplateCommand.ts b/clients/client-iotthingsgraph/src/commands/UpdateSystemTemplateCommand.ts index df8d7683c4fbf..040bf83f3294d 100644 --- a/clients/client-iotthingsgraph/src/commands/UpdateSystemTemplateCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/UpdateSystemTemplateCommand.ts @@ -48,7 +48,7 @@ export interface UpdateSystemTemplateCommandOutput extends UpdateSystemTemplateR * const input = { // UpdateSystemTemplateRequest * id: "STRING_VALUE", // required * definition: { // DefinitionDocument - * language: "STRING_VALUE", // required + * language: "GRAPHQL", // required * text: "STRING_VALUE", // required * }, * compatibleNamespaceVersion: Number("long"), diff --git a/clients/client-iotthingsgraph/src/commands/UploadEntityDefinitionsCommand.ts b/clients/client-iotthingsgraph/src/commands/UploadEntityDefinitionsCommand.ts index 450bc55c8ace8..14ac427f668a0 100644 --- a/clients/client-iotthingsgraph/src/commands/UploadEntityDefinitionsCommand.ts +++ b/clients/client-iotthingsgraph/src/commands/UploadEntityDefinitionsCommand.ts @@ -57,7 +57,7 @@ export interface UploadEntityDefinitionsCommandOutput extends UploadEntityDefini * const client = new IoTThingsGraphClient(config); * const input = { // UploadEntityDefinitionsRequest * document: { // DefinitionDocument - * language: "STRING_VALUE", // required + * language: "GRAPHQL", // required * text: "STRING_VALUE", // required * }, * syncWithPublicNamespace: true || false, diff --git a/clients/client-iotthingsgraph/src/endpoint/ruleset.ts b/clients/client-iotthingsgraph/src/endpoint/ruleset.ts index 08e8c0e5f968b..28167deddbbfa 100644 --- a/clients/client-iotthingsgraph/src/endpoint/ruleset.ts +++ b/clients/client-iotthingsgraph/src/endpoint/ruleset.ts @@ -6,24 +6,27 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/iotthingsgraph.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const s="required", +t="fn", +u="argv", +v="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://iotthingsgraph-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iotthingsgraph-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://iotthingsgraph.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://iotthingsgraph.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f="getAttr", +g={[s]:false,"type":"String"}, +h={[s]:true,"default":false,"type":"Boolean"}, +i={[v]:"Endpoint"}, +j={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, +k={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, +l={}, +m={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[{[v]:e},"supportsFIPS"]}]}, +n={[v]:e}, +o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, +p=[j], +q=[k], +r=[{[v]:"Region"}]; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://iotthingsgraph-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://iotthingsgraph-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://iotthingsgraph.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{conditions:[{[t]:"stringEquals",[u]:["aws",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://iotthingsgraph.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://iotthingsgraph.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-iotthingsgraph/src/index.ts b/clients/client-iotthingsgraph/src/index.ts index 9b2fbad476cfa..6253d61723e4f 100644 --- a/clients/client-iotthingsgraph/src/index.ts +++ b/clients/client-iotthingsgraph/src/index.ts @@ -6,7 +6,6 @@ * such as units of measure and communication protocols. AWS IoT Things Graph makes it possible to build IoT applications with little to no code by connecting devices and services * and defining how they interact at an abstract level.

                                                                                                                                                                                                                              *

                                                                                                                                                                                                                              For more information about how AWS IoT Things Graph works, see the User Guide.

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              The AWS IoT Things Graph service is discontinued.

                                                                                                                                                                                                                              * * @packageDocumentation diff --git a/clients/client-iottwinmaker/src/endpoint/ruleset.ts b/clients/client-iottwinmaker/src/endpoint/ruleset.ts index 610eb88f939fe..489e1e9a59b0f 100644 --- a/clients/client-iottwinmaker/src/endpoint/ruleset.ts +++ b/clients/client-iottwinmaker/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iottwinmaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iottwinmaker-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://iottwinmaker.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://iottwinmaker.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://iottwinmaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://iottwinmaker-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://iottwinmaker.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://iottwinmaker.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-ivschat/src/endpoint/ruleset.ts b/clients/client-ivschat/src/endpoint/ruleset.ts index 55f3737866aa8..0afae97b80a9d 100644 --- a/clients/client-ivschat/src/endpoint/ruleset.ts +++ b/clients/client-ivschat/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ivschat-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ivschat-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ivschat.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://ivschat.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://ivschat-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://ivschat-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://ivschat.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://ivschat.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-kafka/src/endpoint/ruleset.ts b/clients/client-kafka/src/endpoint/ruleset.ts index 1526f7330d7ac..0e6c83cc536fc 100644 --- a/clients/client-kafka/src/endpoint/ruleset.ts +++ b/clients/client-kafka/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, p=[j], q=[k], r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://kafka-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://kafka.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://kafka-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://kafka.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://kafka.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://kafka-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://kafka.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://kafka-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://kafka.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://kafka.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-kendra-ranking/src/endpoint/EndpointParameters.ts b/clients/client-kendra-ranking/src/endpoint/EndpointParameters.ts index a58911edc7ff2..78086eb303764 100644 --- a/clients/client-kendra-ranking/src/endpoint/EndpointParameters.ts +++ b/clients/client-kendra-ranking/src/endpoint/EndpointParameters.ts @@ -25,7 +25,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseFIPS?: boolean; Endpoint?: string; } diff --git a/clients/client-kendra-ranking/src/endpoint/ruleset.ts b/clients/client-kendra-ranking/src/endpoint/ruleset.ts index 89454052fc1ee..6addcbca5a6d2 100644 --- a/clients/client-kendra-ranking/src/endpoint/ruleset.ts +++ b/clients/client-kendra-ranking/src/endpoint/ruleset.ts @@ -6,22 +6,24 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/kendra-ranking.json */ -const p="argv", -q="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="booleanEquals", -g="error", -h="endpoint", +const r="argv", +s="ref"; +const a=false, +b=true, +c="isSet", +d="tree", +e="booleanEquals", +f="error", +g="endpoint", +h="PartitionResult", i="getAttr", -j={[q]:"Endpoint"}, -k={}, -l={[q]:d}, -m={[g]:"FIPS is enabled but this partition does not support FIPS","type":g}, -n=[{"fn":f,[p]:[{[q]:"UseFIPS"},true]}], -o=[{"fn":f,[p]:[true,{"fn":i,[p]:[l,"supportsFIPS"]}]}]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseFIPS:{required:a,default:b,type:"Boolean"},Endpoint:{required:b,type:c}},rules:[{conditions:[{fn:"aws.partition",[p]:[{[q]:"Region"}],assign:d}],type:e,rules:[{conditions:[{fn:"isSet",[p]:[j]}],type:e,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:g},{endpoint:{url:j,properties:k,headers:k},type:h}]},{type:e,rules:[{conditions:[{fn:f,[p]:[a,{fn:i,[p]:[l,"supportsDualStack"]}]}],type:e,rules:[{conditions:n,type:e,rules:[{conditions:o,type:e,rules:[{endpoint:{url:"https://kendra-ranking-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:h}]},m]},{endpoint:{url:"https://kendra-ranking.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:h}]},{type:e,rules:[{conditions:n,type:e,rules:[{conditions:o,type:e,rules:[{endpoint:{url:"https://kendra-ranking-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:h}]},m]},{endpoint:{url:"https://kendra-ranking.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:h}]}]}]}]}; +j={"required":false,"type":"String"}, +k={[s]:"Endpoint"}, +l={}, +m={[s]:h}, +n={[f]:"FIPS is enabled but this partition does not support FIPS","type":f}, +o=[{"fn":e,[r]:[{[s]:"UseFIPS"},true]}], +p=[{[s]:"Region"}], +q=[{"fn":e,[r]:[true,{"fn":i,[r]:[m,"supportsFIPS"]}]}]; +const _data={version:"1.0",parameters:{Region:j,UseFIPS:{required:b,default:a,type:"Boolean"},Endpoint:j},rules:[{conditions:[{fn:c,[r]:[k]}],type:d,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{endpoint:{url:k,properties:l,headers:l},type:g}]},{conditions:[{fn:c,[r]:p}],type:d,rules:[{conditions:[{fn:"aws.partition",[r]:p,assign:h}],type:d,rules:[{conditions:[{fn:e,[r]:[b,{fn:i,[r]:[m,"supportsDualStack"]}]}],type:d,rules:[{conditions:o,type:d,rules:[{conditions:q,type:d,rules:[{endpoint:{url:"https://kendra-ranking-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},n]},{endpoint:{url:"https://kendra-ranking.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{conditions:o,type:d,rules:[{conditions:q,type:d,rules:[{endpoint:{url:"https://kendra-ranking-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]},n]},{endpoint:{url:"https://kendra-ranking.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"Invalid Configuration: Missing Region",type:f}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-kendra/src/endpoint/ruleset.ts b/clients/client-kendra/src/endpoint/ruleset.ts index 0beb78c87a017..31b574aa9e09d 100644 --- a/clients/client-kendra/src/endpoint/ruleset.ts +++ b/clients/client-kendra/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://kendra-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://kendra-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://kendra.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://kendra.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://kendra-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://kendra-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://kendra.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://kendra.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-keyspaces/src/endpoint/ruleset.ts b/clients/client-keyspaces/src/endpoint/ruleset.ts index 10923afe369ce..c8869974df735 100644 --- a/clients/client-keyspaces/src/endpoint/ruleset.ts +++ b/clients/client-keyspaces/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, p=[j], q=[k], r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cassandra-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://cassandra.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://cassandra-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cassandra.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://cassandra.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://cassandra-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://cassandra.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://cassandra-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://cassandra.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://cassandra.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-kinesis-analytics-v2/src/endpoint/ruleset.ts b/clients/client-kinesis-analytics-v2/src/endpoint/ruleset.ts index a8803059c0b85..4dfcb583ab8b5 100644 --- a/clients/client-kinesis-analytics-v2/src/endpoint/ruleset.ts +++ b/clients/client-kinesis-analytics-v2/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://kinesisanalytics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://kinesisanalytics-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://kinesisanalytics.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://kinesisanalytics.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://kinesisanalytics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://kinesisanalytics-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://kinesisanalytics.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://kinesisanalytics.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-kinesis-analytics/src/commands/AddApplicationInputCommand.ts b/clients/client-kinesis-analytics/src/commands/AddApplicationInputCommand.ts index c0a3469b02f5b..0276b2a5889c5 100644 --- a/clients/client-kinesis-analytics/src/commands/AddApplicationInputCommand.ts +++ b/clients/client-kinesis-analytics/src/commands/AddApplicationInputCommand.ts @@ -83,7 +83,7 @@ export interface AddApplicationInputCommandOutput extends AddApplicationInputRes * }, * InputSchema: { // SourceSchema * RecordFormat: { // RecordFormat - * RecordFormatType: "STRING_VALUE", // required + * RecordFormatType: "JSON" || "CSV", // required * MappingParameters: { // MappingParameters * JSONMappingParameters: { // JSONMappingParameters * RecordRowPath: "STRING_VALUE", // required diff --git a/clients/client-kinesis-analytics/src/commands/AddApplicationOutputCommand.ts b/clients/client-kinesis-analytics/src/commands/AddApplicationOutputCommand.ts index 1c1258c01a5b8..7571f5cb7a44b 100644 --- a/clients/client-kinesis-analytics/src/commands/AddApplicationOutputCommand.ts +++ b/clients/client-kinesis-analytics/src/commands/AddApplicationOutputCommand.ts @@ -80,7 +80,7 @@ export interface AddApplicationOutputCommandOutput extends AddApplicationOutputR * RoleARN: "STRING_VALUE", // required * }, * DestinationSchema: { // DestinationSchema - * RecordFormatType: "STRING_VALUE", // required + * RecordFormatType: "JSON" || "CSV", // required * }, * }, * }; diff --git a/clients/client-kinesis-analytics/src/commands/AddApplicationReferenceDataSourceCommand.ts b/clients/client-kinesis-analytics/src/commands/AddApplicationReferenceDataSourceCommand.ts index 70db3494898e6..d2607e4cfb882 100644 --- a/clients/client-kinesis-analytics/src/commands/AddApplicationReferenceDataSourceCommand.ts +++ b/clients/client-kinesis-analytics/src/commands/AddApplicationReferenceDataSourceCommand.ts @@ -76,7 +76,7 @@ export interface AddApplicationReferenceDataSourceCommandOutput * }, * ReferenceSchema: { // SourceSchema * RecordFormat: { // RecordFormat - * RecordFormatType: "STRING_VALUE", // required + * RecordFormatType: "JSON" || "CSV", // required * MappingParameters: { // MappingParameters * JSONMappingParameters: { // JSONMappingParameters * RecordRowPath: "STRING_VALUE", // required diff --git a/clients/client-kinesis-analytics/src/commands/CreateApplicationCommand.ts b/clients/client-kinesis-analytics/src/commands/CreateApplicationCommand.ts index ea8a08a203f7d..2bb2ab20e3545 100644 --- a/clients/client-kinesis-analytics/src/commands/CreateApplicationCommand.ts +++ b/clients/client-kinesis-analytics/src/commands/CreateApplicationCommand.ts @@ -94,7 +94,7 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons * }, * InputSchema: { // SourceSchema * RecordFormat: { // RecordFormat - * RecordFormatType: "STRING_VALUE", // required + * RecordFormatType: "JSON" || "CSV", // required * MappingParameters: { // MappingParameters * JSONMappingParameters: { // JSONMappingParameters * RecordRowPath: "STRING_VALUE", // required @@ -132,7 +132,7 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons * RoleARN: "STRING_VALUE", // required * }, * DestinationSchema: { // DestinationSchema - * RecordFormatType: "STRING_VALUE", // required + * RecordFormatType: "JSON" || "CSV", // required * }, * }, * ], @@ -156,7 +156,7 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons * // ApplicationSummary: { // ApplicationSummary * // ApplicationName: "STRING_VALUE", // required * // ApplicationARN: "STRING_VALUE", // required - * // ApplicationStatus: "STRING_VALUE", // required + * // ApplicationStatus: "DELETING" || "STARTING" || "STOPPING" || "READY" || "RUNNING" || "UPDATING", // required * // }, * // }; * diff --git a/clients/client-kinesis-analytics/src/commands/DescribeApplicationCommand.ts b/clients/client-kinesis-analytics/src/commands/DescribeApplicationCommand.ts index 95ee071b2ef40..4296154150d29 100644 --- a/clients/client-kinesis-analytics/src/commands/DescribeApplicationCommand.ts +++ b/clients/client-kinesis-analytics/src/commands/DescribeApplicationCommand.ts @@ -62,7 +62,7 @@ export interface DescribeApplicationCommandOutput extends DescribeApplicationRes * // ApplicationName: "STRING_VALUE", // required * // ApplicationDescription: "STRING_VALUE", * // ApplicationARN: "STRING_VALUE", // required - * // ApplicationStatus: "STRING_VALUE", // required + * // ApplicationStatus: "DELETING" || "STARTING" || "STOPPING" || "READY" || "RUNNING" || "UPDATING", // required * // CreateTimestamp: new Date("TIMESTAMP"), * // LastUpdateTimestamp: new Date("TIMESTAMP"), * // InputDescriptions: [ // InputDescriptions @@ -88,7 +88,7 @@ export interface DescribeApplicationCommandOutput extends DescribeApplicationRes * // }, * // InputSchema: { // SourceSchema * // RecordFormat: { // RecordFormat - * // RecordFormatType: "STRING_VALUE", // required + * // RecordFormatType: "JSON" || "CSV", // required * // MappingParameters: { // MappingParameters * // JSONMappingParameters: { // JSONMappingParameters * // RecordRowPath: "STRING_VALUE", // required @@ -112,7 +112,7 @@ export interface DescribeApplicationCommandOutput extends DescribeApplicationRes * // Count: Number("int"), * // }, * // InputStartingPositionConfiguration: { // InputStartingPositionConfiguration - * // InputStartingPosition: "STRING_VALUE", + * // InputStartingPosition: "NOW" || "TRIM_HORIZON" || "LAST_STOPPED_POINT", * // }, * // }, * // ], @@ -133,7 +133,7 @@ export interface DescribeApplicationCommandOutput extends DescribeApplicationRes * // RoleARN: "STRING_VALUE", * // }, * // DestinationSchema: { // DestinationSchema - * // RecordFormatType: "STRING_VALUE", // required + * // RecordFormatType: "JSON" || "CSV", // required * // }, * // }, * // ], @@ -148,7 +148,7 @@ export interface DescribeApplicationCommandOutput extends DescribeApplicationRes * // }, * // ReferenceSchema: { * // RecordFormat: { - * // RecordFormatType: "STRING_VALUE", // required + * // RecordFormatType: "JSON" || "CSV", // required * // MappingParameters: { * // JSONMappingParameters: { * // RecordRowPath: "STRING_VALUE", // required diff --git a/clients/client-kinesis-analytics/src/commands/DiscoverInputSchemaCommand.ts b/clients/client-kinesis-analytics/src/commands/DiscoverInputSchemaCommand.ts index 79a81af7e15b4..70a1780cd6458 100644 --- a/clients/client-kinesis-analytics/src/commands/DiscoverInputSchemaCommand.ts +++ b/clients/client-kinesis-analytics/src/commands/DiscoverInputSchemaCommand.ts @@ -61,7 +61,7 @@ export interface DiscoverInputSchemaCommandOutput extends DiscoverInputSchemaRes * ResourceARN: "STRING_VALUE", * RoleARN: "STRING_VALUE", * InputStartingPositionConfiguration: { // InputStartingPositionConfiguration - * InputStartingPosition: "STRING_VALUE", + * InputStartingPosition: "NOW" || "TRIM_HORIZON" || "LAST_STOPPED_POINT", * }, * S3Configuration: { // S3Configuration * RoleARN: "STRING_VALUE", // required @@ -80,7 +80,7 @@ export interface DiscoverInputSchemaCommandOutput extends DiscoverInputSchemaRes * // { // DiscoverInputSchemaResponse * // InputSchema: { // SourceSchema * // RecordFormat: { // RecordFormat - * // RecordFormatType: "STRING_VALUE", // required + * // RecordFormatType: "JSON" || "CSV", // required * // MappingParameters: { // MappingParameters * // JSONMappingParameters: { // JSONMappingParameters * // RecordRowPath: "STRING_VALUE", // required diff --git a/clients/client-kinesis-analytics/src/commands/ListApplicationsCommand.ts b/clients/client-kinesis-analytics/src/commands/ListApplicationsCommand.ts index 5cee2af5bbe98..3d2671d421fb4 100644 --- a/clients/client-kinesis-analytics/src/commands/ListApplicationsCommand.ts +++ b/clients/client-kinesis-analytics/src/commands/ListApplicationsCommand.ts @@ -70,7 +70,7 @@ export interface ListApplicationsCommandOutput extends ListApplicationsResponse, * // { // ApplicationSummary * // ApplicationName: "STRING_VALUE", // required * // ApplicationARN: "STRING_VALUE", // required - * // ApplicationStatus: "STRING_VALUE", // required + * // ApplicationStatus: "DELETING" || "STARTING" || "STOPPING" || "READY" || "RUNNING" || "UPDATING", // required * // }, * // ], * // HasMoreApplications: true || false, // required diff --git a/clients/client-kinesis-analytics/src/commands/StartApplicationCommand.ts b/clients/client-kinesis-analytics/src/commands/StartApplicationCommand.ts index d4328379e54dc..1b9ab10e7b87a 100644 --- a/clients/client-kinesis-analytics/src/commands/StartApplicationCommand.ts +++ b/clients/client-kinesis-analytics/src/commands/StartApplicationCommand.ts @@ -60,7 +60,7 @@ export interface StartApplicationCommandOutput extends StartApplicationResponse, * { // InputConfiguration * Id: "STRING_VALUE", // required * InputStartingPositionConfiguration: { // InputStartingPositionConfiguration - * InputStartingPosition: "STRING_VALUE", + * InputStartingPosition: "NOW" || "TRIM_HORIZON" || "LAST_STOPPED_POINT", * }, * }, * ], diff --git a/clients/client-kinesis-analytics/src/commands/UpdateApplicationCommand.ts b/clients/client-kinesis-analytics/src/commands/UpdateApplicationCommand.ts index e0575ef6c6606..719518fce1a01 100644 --- a/clients/client-kinesis-analytics/src/commands/UpdateApplicationCommand.ts +++ b/clients/client-kinesis-analytics/src/commands/UpdateApplicationCommand.ts @@ -76,7 +76,7 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons * }, * InputSchemaUpdate: { // InputSchemaUpdate * RecordFormatUpdate: { // RecordFormat - * RecordFormatType: "STRING_VALUE", // required + * RecordFormatType: "JSON" || "CSV", // required * MappingParameters: { // MappingParameters * JSONMappingParameters: { // JSONMappingParameters * RecordRowPath: "STRING_VALUE", // required @@ -119,7 +119,7 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons * RoleARNUpdate: "STRING_VALUE", * }, * DestinationSchemaUpdate: { // DestinationSchema - * RecordFormatType: "STRING_VALUE", // required + * RecordFormatType: "JSON" || "CSV", // required * }, * }, * ], @@ -134,7 +134,7 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons * }, * ReferenceSchemaUpdate: { // SourceSchema * RecordFormat: { - * RecordFormatType: "STRING_VALUE", // required + * RecordFormatType: "JSON" || "CSV", // required * MappingParameters: { * JSONMappingParameters: { * RecordRowPath: "STRING_VALUE", // required diff --git a/clients/client-kinesis-analytics/src/endpoint/ruleset.ts b/clients/client-kinesis-analytics/src/endpoint/ruleset.ts index 58745c3e2eacf..fe5c47cb7c68d 100644 --- a/clients/client-kinesis-analytics/src/endpoint/ruleset.ts +++ b/clients/client-kinesis-analytics/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/kinesis-analytics.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://kinesisanalytics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://kinesisanalytics-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://kinesisanalytics.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://kinesisanalytics.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://kinesisanalytics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://kinesisanalytics-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://kinesisanalytics.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://kinesisanalytics.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-kinesis-video-archived-media/src/endpoint/ruleset.ts b/clients/client-kinesis-video-archived-media/src/endpoint/ruleset.ts index d5e450b542fb9..795ec048da07e 100644 --- a/clients/client-kinesis-video-archived-media/src/endpoint/ruleset.ts +++ b/clients/client-kinesis-video-archived-media/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://kinesisvideo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://kinesisvideo-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://kinesisvideo.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://kinesisvideo.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://kinesisvideo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://kinesisvideo-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://kinesisvideo.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://kinesisvideo.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-kinesis-video-media/src/commands/GetMediaCommand.ts b/clients/client-kinesis-video-media/src/commands/GetMediaCommand.ts index 932a86b1124c9..d8c4d030f13b5 100644 --- a/clients/client-kinesis-video-media/src/commands/GetMediaCommand.ts +++ b/clients/client-kinesis-video-media/src/commands/GetMediaCommand.ts @@ -100,7 +100,7 @@ export interface GetMediaCommandOutput extends Omit, * StreamName: "STRING_VALUE", * StreamARN: "STRING_VALUE", * StartSelector: { // StartSelector - * StartSelectorType: "STRING_VALUE", // required + * StartSelectorType: "FRAGMENT_NUMBER" || "SERVER_TIMESTAMP" || "PRODUCER_TIMESTAMP" || "NOW" || "EARLIEST" || "CONTINUATION_TOKEN", // required * AfterFragmentNumber: "STRING_VALUE", * StartTimestamp: new Date("TIMESTAMP"), * ContinuationToken: "STRING_VALUE", diff --git a/clients/client-kinesis-video-media/src/endpoint/ruleset.ts b/clients/client-kinesis-video-media/src/endpoint/ruleset.ts index fb5d235512fbf..080a425bb26a2 100644 --- a/clients/client-kinesis-video-media/src/endpoint/ruleset.ts +++ b/clients/client-kinesis-video-media/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/kinesis-video-media.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://kinesisvideo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://kinesisvideo-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://kinesisvideo.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://kinesisvideo.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://kinesisvideo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://kinesisvideo-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://kinesisvideo.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://kinesisvideo.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-kinesis-video-signaling/src/commands/GetIceServerConfigCommand.ts b/clients/client-kinesis-video-signaling/src/commands/GetIceServerConfigCommand.ts index 3d4146339e327..b1c0da87684b5 100644 --- a/clients/client-kinesis-video-signaling/src/commands/GetIceServerConfigCommand.ts +++ b/clients/client-kinesis-video-signaling/src/commands/GetIceServerConfigCommand.ts @@ -63,7 +63,7 @@ export interface GetIceServerConfigCommandOutput extends GetIceServerConfigRespo * const input = { // GetIceServerConfigRequest * ChannelARN: "STRING_VALUE", // required * ClientId: "STRING_VALUE", - * Service: "STRING_VALUE", + * Service: "TURN", * Username: "STRING_VALUE", * }; * const command = new GetIceServerConfigCommand(input); diff --git a/clients/client-kinesis-video-signaling/src/endpoint/ruleset.ts b/clients/client-kinesis-video-signaling/src/endpoint/ruleset.ts index a23b6fcc037f9..c108c012230a5 100644 --- a/clients/client-kinesis-video-signaling/src/endpoint/ruleset.ts +++ b/clients/client-kinesis-video-signaling/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/kinesis-video-signaling.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://kinesisvideo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://kinesisvideo-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://kinesisvideo.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://kinesisvideo.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://kinesisvideo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://kinesisvideo-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://kinesisvideo.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://kinesisvideo.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-kinesis-video-webrtc-storage/src/endpoint/EndpointParameters.ts b/clients/client-kinesis-video-webrtc-storage/src/endpoint/EndpointParameters.ts index 8a2e6eab897bb..5a9d4ef1f7f5d 100644 --- a/clients/client-kinesis-video-webrtc-storage/src/endpoint/EndpointParameters.ts +++ b/clients/client-kinesis-video-webrtc-storage/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-kinesis-video-webrtc-storage/src/endpoint/ruleset.ts b/clients/client-kinesis-video-webrtc-storage/src/endpoint/ruleset.ts index ad276a355d83e..c396d43ef1772 100644 --- a/clients/client-kinesis-video-webrtc-storage/src/endpoint/ruleset.ts +++ b/clients/client-kinesis-video-webrtc-storage/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/kinesis-video-webrtc-storage.json */ -const q="fn", -r="argv", -s="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h={"required":true,"default":false,"type":"Boolean"}, -i={[s]:"Endpoint"}, -j={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -k={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -l={}, -m={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsFIPS"]}]}, -n={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsDualStack"]}]}, +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], o=[j], -p=[k]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[q]:"isSet",[r]:[i]}],type:e,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{endpoint:{url:"https://kinesisvideo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:o,type:e,rules:[{conditions:[m],type:e,rules:[{endpoint:{url:"https://kinesisvideo-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:p,type:e,rules:[{conditions:[n],type:e,rules:[{endpoint:{url:"https://kinesisvideo.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{endpoint:{url:"https://kinesisvideo.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]}; +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://kinesisvideo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://kinesisvideo-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://kinesisvideo.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://kinesisvideo.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-kinesis/src/endpoint/EndpointParameters.ts b/clients/client-kinesis/src/endpoint/EndpointParameters.ts index e1b9e344c442d..22f50033e47e8 100644 --- a/clients/client-kinesis/src/endpoint/EndpointParameters.ts +++ b/clients/client-kinesis/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-kinesis/src/endpoint/ruleset.ts b/clients/client-kinesis/src/endpoint/ruleset.ts index 80127fac58704..01508b626259a 100644 --- a/clients/client-kinesis/src/endpoint/ruleset.ts +++ b/clients/client-kinesis/src/endpoint/ruleset.ts @@ -6,46 +6,45 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/kinesis.json */ -const F="required", -G="type", -H="rules", -I="conditions", -J="fn", -K="argv", -L="ref", -M="url", -N="properties", -O="headers"; -const a=true, -b="String", -c="PartitionResult", -d="tree", -e="isSet", -f="stringEquals", -g="aws.parseArn", -h="arn", -i="endpoint", -j="error", -k={[F]:true,"default":false,[G]:"Boolean"}, -l={[F]:false,[G]:b}, -m={[L]:"Region"}, -n={[J]:"not",[K]:[{[J]:e,[K]:[{[L]:"Endpoint"}]}]}, -o={[L]:"Endpoint"}, -p={[J]:"not",[K]:[{[J]:f,[K]:[{[J]:"getAttr",[K]:[{[L]:c},"name"]},"aws-iso"]}]}, -q={[J]:"getAttr",[K]:[{[L]:c},"name"]}, -r={[J]:"not",[K]:[{[J]:f,[K]:[q,"aws-iso-b"]}]}, -s={}, -t={[j]:"FIPS is enabled but this partition does not support FIPS",[G]:j}, -u={[j]:"DualStack is enabled but this partition does not support DualStack",[G]:j}, -v={[j]:"Invalid ARN: Failed to parse ARN.",[G]:j}, -w={[J]:"booleanEquals",[K]:[true,{[J]:"getAttr",[K]:[{[L]:c},"supportsFIPS"]}]}, -x={[J]:"booleanEquals",[K]:[true,{[J]:"getAttr",[K]:[{[L]:c},"supportsDualStack"]}]}, -y=[{[L]:"StreamARN"}], -z=[{[J]:e,[K]:[o]}], -A=[{[G]:d,[H]:[{[I]:[{[J]:"isValidHostLabel",[K]:[{[J]:"getAttr",[K]:[{[L]:h},"accountId"]},false]}],[G]:d,[H]:[{[G]:d,[H]:[{[I]:[{[J]:"isValidHostLabel",[K]:[{[J]:"getAttr",[K]:[{[L]:h},"region"]},false]}],[G]:d,[H]:[{[G]:d,[H]:[{[I]:[{[J]:f,[K]:[{[J]:"getAttr",[K]:[{[L]:h},"service"]},"kinesis"]}],[G]:d,[H]:[{[G]:d,[H]:[{[I]:[{[J]:"getAttr",[K]:[{[L]:h},"resourceId[0]"],"assign":"arnType"},{[J]:"not",[K]:[{[J]:f,[K]:[{[L]:"arnType"},""]}]}],[G]:d,[H]:[{[G]:d,[H]:[{[I]:[{[J]:f,[K]:[{[L]:"arnType"},"stream"]}],[G]:d,[H]:[{[G]:d,[H]:[{[I]:[{[J]:f,[K]:[q,"{arn#partition}"]}],[G]:d,[H]:[{[G]:d,[H]:[{[I]:[{[J]:e,[K]:[{[L]:"OperationType"}]}],[G]:d,[H]:[{[G]:d,[H]:[{[I]:[{[J]:"booleanEquals",[K]:[{[L]:"UseFIPS"},true]},{[J]:"booleanEquals",[K]:[{[L]:"UseDualStack"},true]}],[G]:d,[H]:[{[I]:[{[J]:"booleanEquals",[K]:[{[J]:"getAttr",[K]:[{[L]:c},"supportsFIPS"]},true]}],[G]:d,[H]:[{[G]:d,[H]:[{[I]:[{[J]:"booleanEquals",[K]:[{[J]:"getAttr",[K]:[{[L]:c},"supportsDualStack"]},true]}],[G]:d,[H]:[{[i]:{[M]:"https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",[N]:{},[O]:{}},[G]:i}]},{[j]:"DualStack is enabled, but this partition does not support DualStack.",[G]:j}]}]},{[j]:"FIPS is enabled, but this partition does not support FIPS.",[G]:j}]},{[I]:[{[J]:"booleanEquals",[K]:[{[L]:"UseFIPS"},true]}],[G]:d,[H]:[{[I]:[{[J]:"booleanEquals",[K]:[{[J]:"getAttr",[K]:[{[L]:c},"supportsFIPS"]},true]}],[G]:d,[H]:[{[i]:{[M]:"https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}",[N]:{},[O]:{}},[G]:i}]},t]},{[I]:[{[J]:"booleanEquals",[K]:[{[L]:"UseDualStack"},true]}],[G]:d,[H]:[{[I]:[{[J]:"booleanEquals",[K]:[{[J]:"getAttr",[K]:[{[L]:c},"supportsDualStack"]},true]}],[G]:d,[H]:[{[i]:{[M]:"https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}",[N]:{},[O]:{}},[G]:i}]},u]},{[i]:{[M]:"https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}",[N]:{},[O]:{}},[G]:i}]}]},{[j]:"Operation Type is not set. Please contact service team for resolution.",[G]:j}]}]},{[j]:"Partition: {arn#partition} from ARN doesn't match with partition name: {PartitionResult#name}.",[G]:j}]}]},{[j]:"Invalid ARN: Kinesis ARNs don't support `{arnType}` arn types.",[G]:j}]}]},{[j]:"Invalid ARN: No ARN type specified",[G]:j}]}]},{[j]:"Invalid ARN: The ARN was not for the Kinesis service, found: {arn#service}.",[G]:j}]}]},{[j]:"Invalid ARN: Invalid region.",[G]:j}]}]},{[j]:"Invalid ARN: Invalid account id.",[G]:j}]}], -B=[{[J]:"booleanEquals",[K]:[{[L]:"UseFIPS"},true]},{[J]:"booleanEquals",[K]:[{[L]:"UseDualStack"},true]}], -C=[{[J]:"booleanEquals",[K]:[{[L]:"UseFIPS"},true]}], -D=[{[J]:"booleanEquals",[K]:[{[L]:"UseDualStack"},true]}], -E=[{[L]:"ConsumerARN"}]; -const _data={version:"1.3",parameters:{Region:{[F]:a,[G]:b},UseDualStack:k,UseFIPS:k,Endpoint:l,StreamARN:l,OperationType:l,ConsumerARN:l},[H]:[{[I]:[{[J]:"aws.partition",[K]:[m],assign:c}],[G]:d,[H]:[{[I]:[{[J]:e,[K]:y},n,p,r],[G]:d,[H]:[{[I]:[{[J]:g,[K]:y,assign:h}],[G]:d,[H]:A},v]},{[I]:[{[J]:e,[K]:E},n,p,r],[G]:d,[H]:[{[I]:[{[J]:g,[K]:E,assign:h}],[G]:d,[H]:A},v]},{[I]:z,[G]:d,[H]:[{[I]:C,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[G]:j},{[G]:d,[H]:[{[I]:D,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[G]:j},{endpoint:{[M]:o,[N]:s,[O]:s},[G]:i}]}]},{[I]:B,[G]:d,[H]:[{[I]:[w,x],[G]:d,[H]:[{[G]:d,[H]:[{endpoint:{[M]:"https://kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",[N]:s,[O]:s},[G]:i}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[G]:j}]},{[I]:C,[G]:d,[H]:[{[I]:[w],[G]:d,[H]:[{[G]:d,[H]:[{[I]:[{[J]:f,[K]:["aws-us-gov",q]}],endpoint:{[M]:"https://kinesis.{Region}.amazonaws.com",[N]:s,[O]:s},[G]:i},{endpoint:{[M]:"https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}",[N]:s,[O]:s},[G]:i}]}]},t]},{[I]:D,[G]:d,[H]:[{[I]:[x],[G]:d,[H]:[{[G]:d,[H]:[{endpoint:{[M]:"https://kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}",[N]:s,[O]:s},[G]:i}]}]},u]},{[G]:d,[H]:[{[I]:[{[J]:f,[K]:[m,"us-gov-east-1"]}],endpoint:{[M]:"https://kinesis.us-gov-east-1.amazonaws.com",[N]:s,[O]:s},[G]:i},{[I]:[{[J]:f,[K]:[m,"us-gov-west-1"]}],endpoint:{[M]:"https://kinesis.us-gov-west-1.amazonaws.com",[N]:s,[O]:s},[G]:i},{endpoint:{[M]:"https://kinesis.{Region}.{PartitionResult#dnsSuffix}",[N]:s,[O]:s},[G]:i}]}]}]}; +const D="required", +E="type", +F="rules", +G="conditions", +H="fn", +I="argv", +J="ref", +K="assign", +L="url", +M="properties", +N="headers"; +const a="isSet", +b="stringEquals", +c="tree", +d="aws.parseArn", +e="arn", +f="endpoint", +g="error", +h={[D]:false,[E]:"String"}, +i={[D]:true,"default":false,[E]:"Boolean"}, +j={[H]:"not",[I]:[{[H]:a,[I]:[{[J]:"Endpoint"}]}]}, +k={[J]:"Endpoint"}, +l={[H]:a,[I]:[{[J]:"Region"}]}, +m={[H]:"aws.partition",[I]:[{[J]:"Region"}],[K]:"PartitionResult"}, +n={[H]:"not",[I]:[{[H]:b,[I]:[{[H]:"getAttr",[I]:[{[J]:"PartitionResult"},"name"]},"aws-iso"]}]}, +o={[H]:"getAttr",[I]:[{[J]:"PartitionResult"},"name"]}, +p={[H]:"not",[I]:[{[H]:b,[I]:[o,"aws-iso-b"]}]}, +q={}, +r={[g]:"FIPS is enabled but this partition does not support FIPS",[E]:g}, +s={[g]:"DualStack is enabled but this partition does not support DualStack",[E]:g}, +t={[g]:"Invalid ARN: Failed to parse ARN.",[E]:g}, +u={[H]:"booleanEquals",[I]:[true,{[H]:"getAttr",[I]:[{[J]:"PartitionResult"},"supportsFIPS"]}]}, +v={[H]:"booleanEquals",[I]:[true,{[H]:"getAttr",[I]:[{[J]:"PartitionResult"},"supportsDualStack"]}]}, +w=[{[J]:"StreamARN"}], +x=[{[H]:a,[I]:[k]}], +y=[{[G]:[{[H]:"isValidHostLabel",[I]:[{[H]:"getAttr",[I]:[{[J]:e},"accountId"]},false]}],[E]:c,[F]:[{[G]:[{[H]:"isValidHostLabel",[I]:[{[H]:"getAttr",[I]:[{[J]:e},"region"]},false]}],[E]:c,[F]:[{[G]:[{[H]:b,[I]:[{[H]:"getAttr",[I]:[{[J]:e},"service"]},"kinesis"]}],[E]:c,[F]:[{[G]:[{[H]:"getAttr",[I]:[{[J]:e},"resourceId[0]"],[K]:"arnType"},{[H]:"not",[I]:[{[H]:b,[I]:[{[J]:"arnType"},""]}]}],[E]:c,[F]:[{[G]:[{[H]:b,[I]:[{[J]:"arnType"},"stream"]}],[E]:c,[F]:[{[G]:[{[H]:b,[I]:[o,"{arn#partition}"]}],[E]:c,[F]:[{[G]:[{[H]:a,[I]:[{[J]:"OperationType"}]}],[E]:c,[F]:[{[G]:[{[H]:"booleanEquals",[I]:[{[J]:"UseFIPS"},true]},{[H]:"booleanEquals",[I]:[{[J]:"UseDualStack"},true]}],[E]:c,[F]:[{[G]:[{[H]:"booleanEquals",[I]:[{[H]:"getAttr",[I]:[{[J]:"PartitionResult"},"supportsFIPS"]},true]}],[E]:c,[F]:[{[G]:[{[H]:"booleanEquals",[I]:[{[H]:"getAttr",[I]:[{[J]:"PartitionResult"},"supportsDualStack"]},true]}],[E]:c,[F]:[{[f]:{[L]:"https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",[M]:{},[N]:{}},[E]:f}]},{[g]:"DualStack is enabled, but this partition does not support DualStack.",[E]:g}]},{[g]:"FIPS is enabled, but this partition does not support FIPS.",[E]:g}]},{[G]:[{[H]:"booleanEquals",[I]:[{[J]:"UseFIPS"},true]}],[E]:c,[F]:[{[G]:[{[H]:"booleanEquals",[I]:[{[H]:"getAttr",[I]:[{[J]:"PartitionResult"},"supportsFIPS"]},true]}],[E]:c,[F]:[{[f]:{[L]:"https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}",[M]:{},[N]:{}},[E]:f}]},r]},{[G]:[{[H]:"booleanEquals",[I]:[{[J]:"UseDualStack"},true]}],[E]:c,[F]:[{[G]:[{[H]:"booleanEquals",[I]:[{[H]:"getAttr",[I]:[{[J]:"PartitionResult"},"supportsDualStack"]},true]}],[E]:c,[F]:[{[f]:{[L]:"https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}",[M]:{},[N]:{}},[E]:f}]},s]},{[f]:{[L]:"https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}",[M]:{},[N]:{}},[E]:f}]},{[g]:"Operation Type is not set. Please contact service team for resolution.",[E]:g}]},{[g]:"Partition: {arn#partition} from ARN doesn't match with partition name: {PartitionResult#name}.",[E]:g}]},{[g]:"Invalid ARN: Kinesis ARNs don't support `{arnType}` arn types.",[E]:g}]},{[g]:"Invalid ARN: No ARN type specified",[E]:g}]},{[g]:"Invalid ARN: The ARN was not for the Kinesis service, found: {arn#service}.",[E]:g}]},{[g]:"Invalid ARN: Invalid region.",[E]:g}]},{[g]:"Invalid ARN: Invalid account id.",[E]:g}], +z=[{[H]:"booleanEquals",[I]:[{[J]:"UseFIPS"},true]},{[H]:"booleanEquals",[I]:[{[J]:"UseDualStack"},true]}], +A=[{[H]:"booleanEquals",[I]:[{[J]:"UseFIPS"},true]}], +B=[{[H]:"booleanEquals",[I]:[{[J]:"UseDualStack"},true]}], +C=[{[J]:"ConsumerARN"}]; +const _data={version:"1.0",parameters:{Region:h,UseDualStack:i,UseFIPS:i,Endpoint:h,StreamARN:h,OperationType:h,ConsumerARN:h},[F]:[{[G]:[{[H]:a,[I]:w},j,l,m,n,p],[E]:c,[F]:[{[G]:[{[H]:d,[I]:w,[K]:e}],[E]:c,[F]:y},t]},{[G]:[{[H]:a,[I]:C},j,l,m,n,p],[E]:c,[F]:[{[G]:[{[H]:d,[I]:C,[K]:e}],[E]:c,[F]:y},t]},{[G]:x,[E]:c,[F]:[{[G]:A,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[E]:g},{[G]:B,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[E]:g},{endpoint:{[L]:k,[M]:q,[N]:q},[E]:f}]},{[G]:[l],[E]:c,[F]:[{[G]:[m],[E]:c,[F]:[{[G]:z,[E]:c,[F]:[{[G]:[u,v],[E]:c,[F]:[{endpoint:{[L]:"https://kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",[M]:q,[N]:q},[E]:f}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[E]:g}]},{[G]:A,[E]:c,[F]:[{[G]:[u],[E]:c,[F]:[{[G]:[{[H]:b,[I]:["aws-us-gov",o]}],endpoint:{[L]:"https://kinesis.{Region}.amazonaws.com",[M]:q,[N]:q},[E]:f},{endpoint:{[L]:"https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}",[M]:q,[N]:q},[E]:f}]},r]},{[G]:B,[E]:c,[F]:[{[G]:[v],[E]:c,[F]:[{endpoint:{[L]:"https://kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}",[M]:q,[N]:q},[E]:f}]},s]},{endpoint:{[L]:"https://kinesis.{Region}.{PartitionResult#dnsSuffix}",[M]:q,[N]:q},[E]:f}]}]},{error:"Invalid Configuration: Missing Region",[E]:g}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-kms/src/endpoint/ruleset.ts b/clients/client-kms/src/endpoint/ruleset.ts index 58614d1b6757f..f4be1875caf72 100644 --- a/clients/client-kms/src/endpoint/ruleset.ts +++ b/clients/client-kms/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://kms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://kms-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://kms.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://kms.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://kms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://kms-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://kms.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://kms.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-lakeformation/src/endpoint/ruleset.ts b/clients/client-lakeformation/src/endpoint/ruleset.ts index 1e313ef67074d..8daa07c33ea83 100644 --- a/clients/client-lakeformation/src/endpoint/ruleset.ts +++ b/clients/client-lakeformation/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://lakeformation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://lakeformation-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://lakeformation.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://lakeformation.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://lakeformation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://lakeformation-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://lakeformation.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://lakeformation.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-lambda/src/endpoint/ruleset.ts b/clients/client-lambda/src/endpoint/ruleset.ts index 755a6e471dd02..4ac57e6973137 100644 --- a/clients/client-lambda/src/endpoint/ruleset.ts +++ b/clients/client-lambda/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://lambda-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://lambda-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://lambda.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://lambda.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://lambda-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://lambda-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://lambda.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://lambda.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-lex-model-building-service/src/commands/CreateBotVersionCommand.ts b/clients/client-lex-model-building-service/src/commands/CreateBotVersionCommand.ts index ea8377f684899..47739266597c5 100644 --- a/clients/client-lex-model-building-service/src/commands/CreateBotVersionCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/CreateBotVersionCommand.ts @@ -77,7 +77,7 @@ export interface CreateBotVersionCommandOutput extends CreateBotVersionResponse, * // clarificationPrompt: { // Prompt * // messages: [ // MessageList // required * // { // Message - * // contentType: "STRING_VALUE", // required + * // contentType: "PlainText" || "SSML" || "CustomPayload", // required * // content: "STRING_VALUE", // required * // groupNumber: Number("int"), * // }, @@ -88,14 +88,14 @@ export interface CreateBotVersionCommandOutput extends CreateBotVersionResponse, * // abortStatement: { // Statement * // messages: [ // required * // { - * // contentType: "STRING_VALUE", // required + * // contentType: "PlainText" || "SSML" || "CustomPayload", // required * // content: "STRING_VALUE", // required * // groupNumber: Number("int"), * // }, * // ], * // responseCard: "STRING_VALUE", * // }, - * // status: "STRING_VALUE", + * // status: "BUILDING" || "READY" || "READY_BASIC_TESTING" || "FAILED" || "NOT_BUILT", * // failureReason: "STRING_VALUE", * // lastUpdatedDate: new Date("TIMESTAMP"), * // createdDate: new Date("TIMESTAMP"), @@ -103,7 +103,7 @@ export interface CreateBotVersionCommandOutput extends CreateBotVersionResponse, * // voiceId: "STRING_VALUE", * // checksum: "STRING_VALUE", * // version: "STRING_VALUE", - * // locale: "STRING_VALUE", + * // locale: "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR", * // childDirected: true || false, * // enableModelImprovements: true || false, * // detectSentiment: true || false, diff --git a/clients/client-lex-model-building-service/src/commands/CreateIntentVersionCommand.ts b/clients/client-lex-model-building-service/src/commands/CreateIntentVersionCommand.ts index 654d2641a7263..fec9d16591a46 100644 --- a/clients/client-lex-model-building-service/src/commands/CreateIntentVersionCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/CreateIntentVersionCommand.ts @@ -73,13 +73,13 @@ export interface CreateIntentVersionCommandOutput extends CreateIntentVersionRes * // { // Slot * // name: "STRING_VALUE", // required * // description: "STRING_VALUE", - * // slotConstraint: "STRING_VALUE", // required + * // slotConstraint: "Required" || "Optional", // required * // slotType: "STRING_VALUE", * // slotTypeVersion: "STRING_VALUE", * // valueElicitationPrompt: { // Prompt * // messages: [ // MessageList // required * // { // Message - * // contentType: "STRING_VALUE", // required + * // contentType: "PlainText" || "SSML" || "CustomPayload", // required * // content: "STRING_VALUE", // required * // groupNumber: Number("int"), * // }, @@ -92,7 +92,7 @@ export interface CreateIntentVersionCommandOutput extends CreateIntentVersionRes * // "STRING_VALUE", * // ], * // responseCard: "STRING_VALUE", - * // obfuscationSetting: "STRING_VALUE", + * // obfuscationSetting: "NONE" || "DEFAULT_OBFUSCATION", * // defaultValueSpec: { // SlotDefaultValueSpec * // defaultValueList: [ // SlotDefaultValueList // required * // { // SlotDefaultValue @@ -108,7 +108,7 @@ export interface CreateIntentVersionCommandOutput extends CreateIntentVersionRes * // confirmationPrompt: { * // messages: [ // required * // { - * // contentType: "STRING_VALUE", // required + * // contentType: "PlainText" || "SSML" || "CustomPayload", // required * // content: "STRING_VALUE", // required * // groupNumber: Number("int"), * // }, @@ -119,7 +119,7 @@ export interface CreateIntentVersionCommandOutput extends CreateIntentVersionRes * // rejectionStatement: { // Statement * // messages: [ // required * // { - * // contentType: "STRING_VALUE", // required + * // contentType: "PlainText" || "SSML" || "CustomPayload", // required * // content: "STRING_VALUE", // required * // groupNumber: Number("int"), * // }, @@ -142,7 +142,7 @@ export interface CreateIntentVersionCommandOutput extends CreateIntentVersionRes * // messageVersion: "STRING_VALUE", // required * // }, * // fulfillmentActivity: { // FulfillmentActivity - * // type: "STRING_VALUE", // required + * // type: "ReturnIntent" || "CodeHook", // required * // codeHook: { * // uri: "STRING_VALUE", // required * // messageVersion: "STRING_VALUE", // required diff --git a/clients/client-lex-model-building-service/src/commands/CreateSlotTypeVersionCommand.ts b/clients/client-lex-model-building-service/src/commands/CreateSlotTypeVersionCommand.ts index fa0b6c98ac407..971ca01c1085c 100644 --- a/clients/client-lex-model-building-service/src/commands/CreateSlotTypeVersionCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/CreateSlotTypeVersionCommand.ts @@ -50,10 +50,8 @@ export interface CreateSlotTypeVersionCommandOutput extends CreateSlotTypeVersio * type. You can't update the numbered versions that you create with the * CreateSlotTypeVersion operation.

                                                                                                                                                                                                                              * - * *

                                                                                                                                                                                                                              When you create a version of a slot type, Amazon Lex sets the version to * 1. Subsequent versions increment by 1. For more information, see versioning-intro.

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              This operation requires permissions for the * lex:CreateSlotTypeVersion action.

                                                                                                                                                                                                                              * @example @@ -83,7 +81,7 @@ export interface CreateSlotTypeVersionCommandOutput extends CreateSlotTypeVersio * // createdDate: new Date("TIMESTAMP"), * // version: "STRING_VALUE", * // checksum: "STRING_VALUE", - * // valueSelectionStrategy: "STRING_VALUE", + * // valueSelectionStrategy: "ORIGINAL_VALUE" || "TOP_RESOLUTION", * // parentSlotTypeSignature: "STRING_VALUE", * // slotTypeConfigurations: [ // SlotTypeConfigurations * // { // SlotTypeConfiguration diff --git a/clients/client-lex-model-building-service/src/commands/DeleteBotCommand.ts b/clients/client-lex-model-building-service/src/commands/DeleteBotCommand.ts index f530307730ad7..42e1f09653034 100644 --- a/clients/client-lex-model-building-service/src/commands/DeleteBotCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/DeleteBotCommand.ts @@ -54,7 +54,6 @@ export interface DeleteBotCommandOutput extends __MetadataBearer {} * delete the alias. If you get the same exception again, delete the * referring alias until the DeleteBot operation is * successful.

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              This operation requires permissions for the * lex:DeleteBot action.

                                                                                                                                                                                                                              * @example diff --git a/clients/client-lex-model-building-service/src/commands/DeleteIntentCommand.ts b/clients/client-lex-model-building-service/src/commands/DeleteIntentCommand.ts index e8a5174ce3b95..fbc7e3a3a0885 100644 --- a/clients/client-lex-model-building-service/src/commands/DeleteIntentCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/DeleteIntentCommand.ts @@ -55,7 +55,6 @@ export interface DeleteIntentCommandOutput extends __MetadataBearer {} * again, repeat until the intent has no references and the call to * DeleteIntent is successful.

                                                                                                                                                                                                                              * - * *

                                                                                                                                                                                                                              This operation requires permission for the * lex:DeleteIntent action.

                                                                                                                                                                                                                              * @example diff --git a/clients/client-lex-model-building-service/src/commands/GetBotAliasCommand.ts b/clients/client-lex-model-building-service/src/commands/GetBotAliasCommand.ts index af64cac3a00b7..756eab21ac3cc 100644 --- a/clients/client-lex-model-building-service/src/commands/GetBotAliasCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/GetBotAliasCommand.ts @@ -67,8 +67,8 @@ export interface GetBotAliasCommandOutput extends GetBotAliasResponse, __Metadat * // conversationLogs: { // ConversationLogsResponse * // logSettings: [ // LogSettingsResponseList * // { // LogSettingsResponse - * // logType: "STRING_VALUE", - * // destination: "STRING_VALUE", + * // logType: "AUDIO" || "TEXT", + * // destination: "CLOUDWATCH_LOGS" || "S3", * // kmsKeyArn: "STRING_VALUE", * // resourceArn: "STRING_VALUE", * // resourcePrefix: "STRING_VALUE", diff --git a/clients/client-lex-model-building-service/src/commands/GetBotAliasesCommand.ts b/clients/client-lex-model-building-service/src/commands/GetBotAliasesCommand.ts index 31eff01b9e625..59e332a447019 100644 --- a/clients/client-lex-model-building-service/src/commands/GetBotAliasesCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/GetBotAliasesCommand.ts @@ -70,8 +70,8 @@ export interface GetBotAliasesCommandOutput extends GetBotAliasesResponse, __Met * // conversationLogs: { // ConversationLogsResponse * // logSettings: [ // LogSettingsResponseList * // { // LogSettingsResponse - * // logType: "STRING_VALUE", - * // destination: "STRING_VALUE", + * // logType: "AUDIO" || "TEXT", + * // destination: "CLOUDWATCH_LOGS" || "S3", * // kmsKeyArn: "STRING_VALUE", * // resourceArn: "STRING_VALUE", * // resourcePrefix: "STRING_VALUE", diff --git a/clients/client-lex-model-building-service/src/commands/GetBotChannelAssociationCommand.ts b/clients/client-lex-model-building-service/src/commands/GetBotChannelAssociationCommand.ts index fc06a3e6bf102..e7ac6fd651412 100644 --- a/clients/client-lex-model-building-service/src/commands/GetBotChannelAssociationCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/GetBotChannelAssociationCommand.ts @@ -67,11 +67,11 @@ export interface GetBotChannelAssociationCommandOutput extends GetBotChannelAsso * // botAlias: "STRING_VALUE", * // botName: "STRING_VALUE", * // createdDate: new Date("TIMESTAMP"), - * // type: "STRING_VALUE", + * // type: "Facebook" || "Slack" || "Twilio-Sms" || "Kik", * // botConfiguration: { // ChannelConfigurationMap * // "": "STRING_VALUE", * // }, - * // status: "STRING_VALUE", + * // status: "IN_PROGRESS" || "CREATED" || "FAILED", * // failureReason: "STRING_VALUE", * // }; * diff --git a/clients/client-lex-model-building-service/src/commands/GetBotChannelAssociationsCommand.ts b/clients/client-lex-model-building-service/src/commands/GetBotChannelAssociationsCommand.ts index 68b616103c038..431ad74f6c1b9 100644 --- a/clients/client-lex-model-building-service/src/commands/GetBotChannelAssociationsCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/GetBotChannelAssociationsCommand.ts @@ -72,11 +72,11 @@ export interface GetBotChannelAssociationsCommandOutput extends GetBotChannelAss * // botAlias: "STRING_VALUE", * // botName: "STRING_VALUE", * // createdDate: new Date("TIMESTAMP"), - * // type: "STRING_VALUE", + * // type: "Facebook" || "Slack" || "Twilio-Sms" || "Kik", * // botConfiguration: { // ChannelConfigurationMap * // "": "STRING_VALUE", * // }, - * // status: "STRING_VALUE", + * // status: "IN_PROGRESS" || "CREATED" || "FAILED", * // failureReason: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-lex-model-building-service/src/commands/GetBotCommand.ts b/clients/client-lex-model-building-service/src/commands/GetBotCommand.ts index 8a2115550a26c..be7e11e5401fc 100644 --- a/clients/client-lex-model-building-service/src/commands/GetBotCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/GetBotCommand.ts @@ -70,7 +70,7 @@ export interface GetBotCommandOutput extends GetBotResponse, __MetadataBearer {} * // clarificationPrompt: { // Prompt * // messages: [ // MessageList // required * // { // Message - * // contentType: "STRING_VALUE", // required + * // contentType: "PlainText" || "SSML" || "CustomPayload", // required * // content: "STRING_VALUE", // required * // groupNumber: Number("int"), * // }, @@ -81,14 +81,14 @@ export interface GetBotCommandOutput extends GetBotResponse, __MetadataBearer {} * // abortStatement: { // Statement * // messages: [ // required * // { - * // contentType: "STRING_VALUE", // required + * // contentType: "PlainText" || "SSML" || "CustomPayload", // required * // content: "STRING_VALUE", // required * // groupNumber: Number("int"), * // }, * // ], * // responseCard: "STRING_VALUE", * // }, - * // status: "STRING_VALUE", + * // status: "BUILDING" || "READY" || "READY_BASIC_TESTING" || "FAILED" || "NOT_BUILT", * // failureReason: "STRING_VALUE", * // lastUpdatedDate: new Date("TIMESTAMP"), * // createdDate: new Date("TIMESTAMP"), @@ -96,7 +96,7 @@ export interface GetBotCommandOutput extends GetBotResponse, __MetadataBearer {} * // voiceId: "STRING_VALUE", * // checksum: "STRING_VALUE", * // version: "STRING_VALUE", - * // locale: "STRING_VALUE", + * // locale: "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR", * // childDirected: true || false, * // detectSentiment: true || false, * // }; diff --git a/clients/client-lex-model-building-service/src/commands/GetBotVersionsCommand.ts b/clients/client-lex-model-building-service/src/commands/GetBotVersionsCommand.ts index 219b9e7c8884b..05ce767cf3d33 100644 --- a/clients/client-lex-model-building-service/src/commands/GetBotVersionsCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/GetBotVersionsCommand.ts @@ -69,7 +69,7 @@ export interface GetBotVersionsCommandOutput extends GetBotVersionsResponse, __M * // { // BotMetadata * // name: "STRING_VALUE", * // description: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "BUILDING" || "READY" || "READY_BASIC_TESTING" || "FAILED" || "NOT_BUILT", * // lastUpdatedDate: new Date("TIMESTAMP"), * // createdDate: new Date("TIMESTAMP"), * // version: "STRING_VALUE", diff --git a/clients/client-lex-model-building-service/src/commands/GetBotsCommand.ts b/clients/client-lex-model-building-service/src/commands/GetBotsCommand.ts index 25c2e14cfff7d..0ac225b7c7e8e 100644 --- a/clients/client-lex-model-building-service/src/commands/GetBotsCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/GetBotsCommand.ts @@ -73,7 +73,7 @@ export interface GetBotsCommandOutput extends GetBotsResponse, __MetadataBearer * // { // BotMetadata * // name: "STRING_VALUE", * // description: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "BUILDING" || "READY" || "READY_BASIC_TESTING" || "FAILED" || "NOT_BUILT", * // lastUpdatedDate: new Date("TIMESTAMP"), * // createdDate: new Date("TIMESTAMP"), * // version: "STRING_VALUE", diff --git a/clients/client-lex-model-building-service/src/commands/GetBuiltinIntentCommand.ts b/clients/client-lex-model-building-service/src/commands/GetBuiltinIntentCommand.ts index 430ef7fa36e28..9d160d9107c25 100644 --- a/clients/client-lex-model-building-service/src/commands/GetBuiltinIntentCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/GetBuiltinIntentCommand.ts @@ -57,7 +57,7 @@ export interface GetBuiltinIntentCommandOutput extends GetBuiltinIntentResponse, * // { // GetBuiltinIntentResponse * // signature: "STRING_VALUE", * // supportedLocales: [ // LocaleList - * // "STRING_VALUE", + * // "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR", * // ], * // slots: [ // BuiltinIntentSlotList * // { // BuiltinIntentSlot diff --git a/clients/client-lex-model-building-service/src/commands/GetBuiltinIntentsCommand.ts b/clients/client-lex-model-building-service/src/commands/GetBuiltinIntentsCommand.ts index 644b05abd5d7d..4ddf5bfd26455 100644 --- a/clients/client-lex-model-building-service/src/commands/GetBuiltinIntentsCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/GetBuiltinIntentsCommand.ts @@ -51,7 +51,7 @@ export interface GetBuiltinIntentsCommandOutput extends GetBuiltinIntentsRespons * // const { LexModelBuildingServiceClient, GetBuiltinIntentsCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import * const client = new LexModelBuildingServiceClient(config); * const input = { // GetBuiltinIntentsRequest - * locale: "STRING_VALUE", + * locale: "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR", * signatureContains: "STRING_VALUE", * nextToken: "STRING_VALUE", * maxResults: Number("int"), @@ -63,7 +63,7 @@ export interface GetBuiltinIntentsCommandOutput extends GetBuiltinIntentsRespons * // { // BuiltinIntentMetadata * // signature: "STRING_VALUE", * // supportedLocales: [ // LocaleList - * // "STRING_VALUE", + * // "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR", * // ], * // }, * // ], diff --git a/clients/client-lex-model-building-service/src/commands/GetBuiltinSlotTypesCommand.ts b/clients/client-lex-model-building-service/src/commands/GetBuiltinSlotTypesCommand.ts index a9bf2f9d9b61a..55f03fd167a29 100644 --- a/clients/client-lex-model-building-service/src/commands/GetBuiltinSlotTypesCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/GetBuiltinSlotTypesCommand.ts @@ -44,7 +44,6 @@ export interface GetBuiltinSlotTypesCommandOutput extends GetBuiltinSlotTypesRes * criteria.

                                                                                                                                                                                                                              *

                                                                                                                                                                                                                              For a list of built-in slot types, see Slot Type Reference in the Alexa Skills * Kit.

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              This operation requires permission for the * lex:GetBuiltInSlotTypes action.

                                                                                                                                                                                                                              * @example @@ -54,7 +53,7 @@ export interface GetBuiltinSlotTypesCommandOutput extends GetBuiltinSlotTypesRes * // const { LexModelBuildingServiceClient, GetBuiltinSlotTypesCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import * const client = new LexModelBuildingServiceClient(config); * const input = { // GetBuiltinSlotTypesRequest - * locale: "STRING_VALUE", + * locale: "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR", * signatureContains: "STRING_VALUE", * nextToken: "STRING_VALUE", * maxResults: Number("int"), @@ -66,7 +65,7 @@ export interface GetBuiltinSlotTypesCommandOutput extends GetBuiltinSlotTypesRes * // { // BuiltinSlotTypeMetadata * // signature: "STRING_VALUE", * // supportedLocales: [ // LocaleList - * // "STRING_VALUE", + * // "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR", * // ], * // }, * // ], diff --git a/clients/client-lex-model-building-service/src/commands/GetExportCommand.ts b/clients/client-lex-model-building-service/src/commands/GetExportCommand.ts index 954521b6358ba..31aaef367f69f 100644 --- a/clients/client-lex-model-building-service/src/commands/GetExportCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/GetExportCommand.ts @@ -51,17 +51,17 @@ export interface GetExportCommandOutput extends GetExportResponse, __MetadataBea * const input = { // GetExportRequest * name: "STRING_VALUE", // required * version: "STRING_VALUE", // required - * resourceType: "STRING_VALUE", // required - * exportType: "STRING_VALUE", // required + * resourceType: "BOT" || "INTENT" || "SLOT_TYPE", // required + * exportType: "ALEXA_SKILLS_KIT" || "LEX", // required * }; * const command = new GetExportCommand(input); * const response = await client.send(command); * // { // GetExportResponse * // name: "STRING_VALUE", * // version: "STRING_VALUE", - * // resourceType: "STRING_VALUE", - * // exportType: "STRING_VALUE", - * // exportStatus: "STRING_VALUE", + * // resourceType: "BOT" || "INTENT" || "SLOT_TYPE", + * // exportType: "ALEXA_SKILLS_KIT" || "LEX", + * // exportStatus: "IN_PROGRESS" || "READY" || "FAILED", * // failureReason: "STRING_VALUE", * // url: "STRING_VALUE", * // }; diff --git a/clients/client-lex-model-building-service/src/commands/GetImportCommand.ts b/clients/client-lex-model-building-service/src/commands/GetImportCommand.ts index 761b69b0b508e..15dd634b18173 100644 --- a/clients/client-lex-model-building-service/src/commands/GetImportCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/GetImportCommand.ts @@ -55,10 +55,10 @@ export interface GetImportCommandOutput extends GetImportResponse, __MetadataBea * const response = await client.send(command); * // { // GetImportResponse * // name: "STRING_VALUE", - * // resourceType: "STRING_VALUE", - * // mergeStrategy: "STRING_VALUE", + * // resourceType: "BOT" || "INTENT" || "SLOT_TYPE", + * // mergeStrategy: "OVERWRITE_LATEST" || "FAIL_ON_CONFLICT", * // importId: "STRING_VALUE", - * // importStatus: "STRING_VALUE", + * // importStatus: "IN_PROGRESS" || "COMPLETE" || "FAILED", * // failureReason: [ // StringList * // "STRING_VALUE", * // ], diff --git a/clients/client-lex-model-building-service/src/commands/GetIntentCommand.ts b/clients/client-lex-model-building-service/src/commands/GetIntentCommand.ts index 4c5c19a78f364..104ffbd96ebeb 100644 --- a/clients/client-lex-model-building-service/src/commands/GetIntentCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/GetIntentCommand.ts @@ -63,13 +63,13 @@ export interface GetIntentCommandOutput extends GetIntentResponse, __MetadataBea * // { // Slot * // name: "STRING_VALUE", // required * // description: "STRING_VALUE", - * // slotConstraint: "STRING_VALUE", // required + * // slotConstraint: "Required" || "Optional", // required * // slotType: "STRING_VALUE", * // slotTypeVersion: "STRING_VALUE", * // valueElicitationPrompt: { // Prompt * // messages: [ // MessageList // required * // { // Message - * // contentType: "STRING_VALUE", // required + * // contentType: "PlainText" || "SSML" || "CustomPayload", // required * // content: "STRING_VALUE", // required * // groupNumber: Number("int"), * // }, @@ -82,7 +82,7 @@ export interface GetIntentCommandOutput extends GetIntentResponse, __MetadataBea * // "STRING_VALUE", * // ], * // responseCard: "STRING_VALUE", - * // obfuscationSetting: "STRING_VALUE", + * // obfuscationSetting: "NONE" || "DEFAULT_OBFUSCATION", * // defaultValueSpec: { // SlotDefaultValueSpec * // defaultValueList: [ // SlotDefaultValueList // required * // { // SlotDefaultValue @@ -98,7 +98,7 @@ export interface GetIntentCommandOutput extends GetIntentResponse, __MetadataBea * // confirmationPrompt: { * // messages: [ // required * // { - * // contentType: "STRING_VALUE", // required + * // contentType: "PlainText" || "SSML" || "CustomPayload", // required * // content: "STRING_VALUE", // required * // groupNumber: Number("int"), * // }, @@ -109,7 +109,7 @@ export interface GetIntentCommandOutput extends GetIntentResponse, __MetadataBea * // rejectionStatement: { // Statement * // messages: [ // required * // { - * // contentType: "STRING_VALUE", // required + * // contentType: "PlainText" || "SSML" || "CustomPayload", // required * // content: "STRING_VALUE", // required * // groupNumber: Number("int"), * // }, @@ -132,7 +132,7 @@ export interface GetIntentCommandOutput extends GetIntentResponse, __MetadataBea * // messageVersion: "STRING_VALUE", // required * // }, * // fulfillmentActivity: { // FulfillmentActivity - * // type: "STRING_VALUE", // required + * // type: "ReturnIntent" || "CodeHook", // required * // codeHook: { * // uri: "STRING_VALUE", // required * // messageVersion: "STRING_VALUE", // required diff --git a/clients/client-lex-model-building-service/src/commands/GetMigrationCommand.ts b/clients/client-lex-model-building-service/src/commands/GetMigrationCommand.ts index 99a11c0596379..8b94735a0788c 100644 --- a/clients/client-lex-model-building-service/src/commands/GetMigrationCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/GetMigrationCommand.ts @@ -58,15 +58,15 @@ export interface GetMigrationCommandOutput extends GetMigrationResponse, __Metad * // migrationId: "STRING_VALUE", * // v1BotName: "STRING_VALUE", * // v1BotVersion: "STRING_VALUE", - * // v1BotLocale: "STRING_VALUE", + * // v1BotLocale: "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR", * // v2BotId: "STRING_VALUE", * // v2BotRole: "STRING_VALUE", - * // migrationStatus: "STRING_VALUE", - * // migrationStrategy: "STRING_VALUE", + * // migrationStatus: "IN_PROGRESS" || "COMPLETED" || "FAILED", + * // migrationStrategy: "CREATE_NEW" || "UPDATE_EXISTING", * // migrationTimestamp: new Date("TIMESTAMP"), * // alerts: [ // MigrationAlerts * // { // MigrationAlert - * // type: "STRING_VALUE", + * // type: "ERROR" || "WARN", * // message: "STRING_VALUE", * // details: [ // MigrationAlertDetails * // "STRING_VALUE", diff --git a/clients/client-lex-model-building-service/src/commands/GetMigrationsCommand.ts b/clients/client-lex-model-building-service/src/commands/GetMigrationsCommand.ts index 39cdb80622f26..079c4a68fc888 100644 --- a/clients/client-lex-model-building-service/src/commands/GetMigrationsCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/GetMigrationsCommand.ts @@ -48,10 +48,10 @@ export interface GetMigrationsCommandOutput extends GetMigrationsResponse, __Met * // const { LexModelBuildingServiceClient, GetMigrationsCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import * const client = new LexModelBuildingServiceClient(config); * const input = { // GetMigrationsRequest - * sortByAttribute: "STRING_VALUE", - * sortByOrder: "STRING_VALUE", + * sortByAttribute: "V1_BOT_NAME" || "MIGRATION_DATE_TIME", + * sortByOrder: "ASCENDING" || "DESCENDING", * v1BotNameContains: "STRING_VALUE", - * migrationStatusEquals: "STRING_VALUE", + * migrationStatusEquals: "IN_PROGRESS" || "COMPLETED" || "FAILED", * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; @@ -63,11 +63,11 @@ export interface GetMigrationsCommandOutput extends GetMigrationsResponse, __Met * // migrationId: "STRING_VALUE", * // v1BotName: "STRING_VALUE", * // v1BotVersion: "STRING_VALUE", - * // v1BotLocale: "STRING_VALUE", + * // v1BotLocale: "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR", * // v2BotId: "STRING_VALUE", * // v2BotRole: "STRING_VALUE", - * // migrationStatus: "STRING_VALUE", - * // migrationStrategy: "STRING_VALUE", + * // migrationStatus: "IN_PROGRESS" || "COMPLETED" || "FAILED", + * // migrationStrategy: "CREATE_NEW" || "UPDATE_EXISTING", * // migrationTimestamp: new Date("TIMESTAMP"), * // }, * // ], diff --git a/clients/client-lex-model-building-service/src/commands/GetSlotTypeCommand.ts b/clients/client-lex-model-building-service/src/commands/GetSlotTypeCommand.ts index dc72d58432998..8bba503b4e3b4 100644 --- a/clients/client-lex-model-building-service/src/commands/GetSlotTypeCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/GetSlotTypeCommand.ts @@ -72,7 +72,7 @@ export interface GetSlotTypeCommandOutput extends GetSlotTypeResponse, __Metadat * // createdDate: new Date("TIMESTAMP"), * // version: "STRING_VALUE", * // checksum: "STRING_VALUE", - * // valueSelectionStrategy: "STRING_VALUE", + * // valueSelectionStrategy: "ORIGINAL_VALUE" || "TOP_RESOLUTION", * // parentSlotTypeSignature: "STRING_VALUE", * // slotTypeConfigurations: [ // SlotTypeConfigurations * // { // SlotTypeConfiguration diff --git a/clients/client-lex-model-building-service/src/commands/GetUtterancesViewCommand.ts b/clients/client-lex-model-building-service/src/commands/GetUtterancesViewCommand.ts index dae5dfb0d12ab..1107323f17f59 100644 --- a/clients/client-lex-model-building-service/src/commands/GetUtterancesViewCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/GetUtterancesViewCommand.ts @@ -75,7 +75,7 @@ export interface GetUtterancesViewCommandOutput extends GetUtterancesViewRespons * botVersions: [ // BotVersions // required * "STRING_VALUE", * ], - * statusType: "STRING_VALUE", // required + * statusType: "Detected" || "Missed", // required * }; * const command = new GetUtterancesViewCommand(input); * const response = await client.send(command); diff --git a/clients/client-lex-model-building-service/src/commands/PutBotAliasCommand.ts b/clients/client-lex-model-building-service/src/commands/PutBotAliasCommand.ts index b7b8e4e5760cb..df6757f5749d1 100644 --- a/clients/client-lex-model-building-service/src/commands/PutBotAliasCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/PutBotAliasCommand.ts @@ -61,8 +61,8 @@ export interface PutBotAliasCommandOutput extends PutBotAliasResponse, __Metadat * conversationLogs: { // ConversationLogsRequest * logSettings: [ // LogSettingsRequestList // required * { // LogSettingsRequest - * logType: "STRING_VALUE", // required - * destination: "STRING_VALUE", // required + * logType: "AUDIO" || "TEXT", // required + * destination: "CLOUDWATCH_LOGS" || "S3", // required * kmsKeyArn: "STRING_VALUE", * resourceArn: "STRING_VALUE", // required * }, @@ -89,8 +89,8 @@ export interface PutBotAliasCommandOutput extends PutBotAliasResponse, __Metadat * // conversationLogs: { // ConversationLogsResponse * // logSettings: [ // LogSettingsResponseList * // { // LogSettingsResponse - * // logType: "STRING_VALUE", - * // destination: "STRING_VALUE", + * // logType: "AUDIO" || "TEXT", + * // destination: "CLOUDWATCH_LOGS" || "S3", * // kmsKeyArn: "STRING_VALUE", * // resourceArn: "STRING_VALUE", * // resourcePrefix: "STRING_VALUE", diff --git a/clients/client-lex-model-building-service/src/commands/PutBotCommand.ts b/clients/client-lex-model-building-service/src/commands/PutBotCommand.ts index 5c04518796f8c..bca4b60ac17f2 100644 --- a/clients/client-lex-model-building-service/src/commands/PutBotCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/PutBotCommand.ts @@ -55,7 +55,6 @@ export interface PutBotCommandOutput extends PutBotResponse, __MetadataBearer {} * privacySettings fields, which are set to their default * values. If you don't specify values for required fields, Amazon Lex throws an * exception.

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              This operation requires permissions for the lex:PutBot * action. For more information, see security-iam.

                                                                                                                                                                                                                              * @example @@ -78,7 +77,7 @@ export interface PutBotCommandOutput extends PutBotResponse, __MetadataBearer {} * clarificationPrompt: { // Prompt * messages: [ // MessageList // required * { // Message - * contentType: "STRING_VALUE", // required + * contentType: "PlainText" || "SSML" || "CustomPayload", // required * content: "STRING_VALUE", // required * groupNumber: Number("int"), * }, @@ -89,7 +88,7 @@ export interface PutBotCommandOutput extends PutBotResponse, __MetadataBearer {} * abortStatement: { // Statement * messages: [ // required * { - * contentType: "STRING_VALUE", // required + * contentType: "PlainText" || "SSML" || "CustomPayload", // required * content: "STRING_VALUE", // required * groupNumber: Number("int"), * }, @@ -99,8 +98,8 @@ export interface PutBotCommandOutput extends PutBotResponse, __MetadataBearer {} * idleSessionTTLInSeconds: Number("int"), * voiceId: "STRING_VALUE", * checksum: "STRING_VALUE", - * processBehavior: "STRING_VALUE", - * locale: "STRING_VALUE", // required + * processBehavior: "SAVE" || "BUILD", + * locale: "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR", // required * childDirected: true || false, // required * detectSentiment: true || false, * createVersion: true || false, @@ -127,7 +126,7 @@ export interface PutBotCommandOutput extends PutBotResponse, __MetadataBearer {} * // clarificationPrompt: { // Prompt * // messages: [ // MessageList // required * // { // Message - * // contentType: "STRING_VALUE", // required + * // contentType: "PlainText" || "SSML" || "CustomPayload", // required * // content: "STRING_VALUE", // required * // groupNumber: Number("int"), * // }, @@ -138,14 +137,14 @@ export interface PutBotCommandOutput extends PutBotResponse, __MetadataBearer {} * // abortStatement: { // Statement * // messages: [ // required * // { - * // contentType: "STRING_VALUE", // required + * // contentType: "PlainText" || "SSML" || "CustomPayload", // required * // content: "STRING_VALUE", // required * // groupNumber: Number("int"), * // }, * // ], * // responseCard: "STRING_VALUE", * // }, - * // status: "STRING_VALUE", + * // status: "BUILDING" || "READY" || "READY_BASIC_TESTING" || "FAILED" || "NOT_BUILT", * // failureReason: "STRING_VALUE", * // lastUpdatedDate: new Date("TIMESTAMP"), * // createdDate: new Date("TIMESTAMP"), @@ -153,7 +152,7 @@ export interface PutBotCommandOutput extends PutBotResponse, __MetadataBearer {} * // voiceId: "STRING_VALUE", * // checksum: "STRING_VALUE", * // version: "STRING_VALUE", - * // locale: "STRING_VALUE", + * // locale: "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR", * // childDirected: true || false, * // createVersion: true || false, * // detectSentiment: true || false, diff --git a/clients/client-lex-model-building-service/src/commands/PutIntentCommand.ts b/clients/client-lex-model-building-service/src/commands/PutIntentCommand.ts index 447be5a6944f8..73f80668f62dc 100644 --- a/clients/client-lex-model-building-service/src/commands/PutIntentCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/PutIntentCommand.ts @@ -71,7 +71,6 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea *
                                                                                                                                                                                                                            *

                                                                                                                                                                                                                            You can specify other optional information in the request, such * as:

                                                                                                                                                                                                                            - * *
                                                                                                                                                                                                                              *
                                                                                                                                                                                                                            • *

                                                                                                                                                                                                                              A confirmation prompt to ask the user to confirm an intent. For @@ -111,13 +110,13 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea * { // Slot * name: "STRING_VALUE", // required * description: "STRING_VALUE", - * slotConstraint: "STRING_VALUE", // required + * slotConstraint: "Required" || "Optional", // required * slotType: "STRING_VALUE", * slotTypeVersion: "STRING_VALUE", * valueElicitationPrompt: { // Prompt * messages: [ // MessageList // required * { // Message - * contentType: "STRING_VALUE", // required + * contentType: "PlainText" || "SSML" || "CustomPayload", // required * content: "STRING_VALUE", // required * groupNumber: Number("int"), * }, @@ -130,7 +129,7 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea * "STRING_VALUE", * ], * responseCard: "STRING_VALUE", - * obfuscationSetting: "STRING_VALUE", + * obfuscationSetting: "NONE" || "DEFAULT_OBFUSCATION", * defaultValueSpec: { // SlotDefaultValueSpec * defaultValueList: [ // SlotDefaultValueList // required * { // SlotDefaultValue @@ -146,7 +145,7 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea * confirmationPrompt: { * messages: [ // required * { - * contentType: "STRING_VALUE", // required + * contentType: "PlainText" || "SSML" || "CustomPayload", // required * content: "STRING_VALUE", // required * groupNumber: Number("int"), * }, @@ -157,7 +156,7 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea * rejectionStatement: { // Statement * messages: [ // required * { - * contentType: "STRING_VALUE", // required + * contentType: "PlainText" || "SSML" || "CustomPayload", // required * content: "STRING_VALUE", // required * groupNumber: Number("int"), * }, @@ -180,7 +179,7 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea * messageVersion: "STRING_VALUE", // required * }, * fulfillmentActivity: { // FulfillmentActivity - * type: "STRING_VALUE", // required + * type: "ReturnIntent" || "CodeHook", // required * codeHook: { * uri: "STRING_VALUE", // required * messageVersion: "STRING_VALUE", // required @@ -216,13 +215,13 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea * // { // Slot * // name: "STRING_VALUE", // required * // description: "STRING_VALUE", - * // slotConstraint: "STRING_VALUE", // required + * // slotConstraint: "Required" || "Optional", // required * // slotType: "STRING_VALUE", * // slotTypeVersion: "STRING_VALUE", * // valueElicitationPrompt: { // Prompt * // messages: [ // MessageList // required * // { // Message - * // contentType: "STRING_VALUE", // required + * // contentType: "PlainText" || "SSML" || "CustomPayload", // required * // content: "STRING_VALUE", // required * // groupNumber: Number("int"), * // }, @@ -235,7 +234,7 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea * // "STRING_VALUE", * // ], * // responseCard: "STRING_VALUE", - * // obfuscationSetting: "STRING_VALUE", + * // obfuscationSetting: "NONE" || "DEFAULT_OBFUSCATION", * // defaultValueSpec: { // SlotDefaultValueSpec * // defaultValueList: [ // SlotDefaultValueList // required * // { // SlotDefaultValue @@ -251,7 +250,7 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea * // confirmationPrompt: { * // messages: [ // required * // { - * // contentType: "STRING_VALUE", // required + * // contentType: "PlainText" || "SSML" || "CustomPayload", // required * // content: "STRING_VALUE", // required * // groupNumber: Number("int"), * // }, @@ -262,7 +261,7 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea * // rejectionStatement: { // Statement * // messages: [ // required * // { - * // contentType: "STRING_VALUE", // required + * // contentType: "PlainText" || "SSML" || "CustomPayload", // required * // content: "STRING_VALUE", // required * // groupNumber: Number("int"), * // }, @@ -285,7 +284,7 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea * // messageVersion: "STRING_VALUE", // required * // }, * // fulfillmentActivity: { // FulfillmentActivity - * // type: "STRING_VALUE", // required + * // type: "ReturnIntent" || "CodeHook", // required * // codeHook: { * // uri: "STRING_VALUE", // required * // messageVersion: "STRING_VALUE", // required diff --git a/clients/client-lex-model-building-service/src/commands/PutSlotTypeCommand.ts b/clients/client-lex-model-building-service/src/commands/PutSlotTypeCommand.ts index c8bc25bafbc35..2fca51dd62ddf 100644 --- a/clients/client-lex-model-building-service/src/commands/PutSlotTypeCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/PutSlotTypeCommand.ts @@ -53,7 +53,6 @@ export interface PutSlotTypeCommandOutput extends PutSlotTypeResponse, __Metadat * uses the $LATEST version of an intent that contains the slot * type, the bot's status field is set to * NOT_BUILT.

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              This operation requires permissions for the * lex:PutSlotType action.

                                                                                                                                                                                                                              * @example @@ -74,7 +73,7 @@ export interface PutSlotTypeCommandOutput extends PutSlotTypeResponse, __Metadat * }, * ], * checksum: "STRING_VALUE", - * valueSelectionStrategy: "STRING_VALUE", + * valueSelectionStrategy: "ORIGINAL_VALUE" || "TOP_RESOLUTION", * createVersion: true || false, * parentSlotTypeSignature: "STRING_VALUE", * slotTypeConfigurations: [ // SlotTypeConfigurations @@ -102,7 +101,7 @@ export interface PutSlotTypeCommandOutput extends PutSlotTypeResponse, __Metadat * // createdDate: new Date("TIMESTAMP"), * // version: "STRING_VALUE", * // checksum: "STRING_VALUE", - * // valueSelectionStrategy: "STRING_VALUE", + * // valueSelectionStrategy: "ORIGINAL_VALUE" || "TOP_RESOLUTION", * // createVersion: true || false, * // parentSlotTypeSignature: "STRING_VALUE", * // slotTypeConfigurations: [ // SlotTypeConfigurations diff --git a/clients/client-lex-model-building-service/src/commands/StartImportCommand.ts b/clients/client-lex-model-building-service/src/commands/StartImportCommand.ts index 252d7282f5467..b5d16d8890efb 100644 --- a/clients/client-lex-model-building-service/src/commands/StartImportCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/StartImportCommand.ts @@ -49,8 +49,8 @@ export interface StartImportCommandOutput extends StartImportResponse, __Metadat * const client = new LexModelBuildingServiceClient(config); * const input = { // StartImportRequest * payload: "BLOB_VALUE", // required - * resourceType: "STRING_VALUE", // required - * mergeStrategy: "STRING_VALUE", // required + * resourceType: "BOT" || "INTENT" || "SLOT_TYPE", // required + * mergeStrategy: "OVERWRITE_LATEST" || "FAIL_ON_CONFLICT", // required * tags: [ // TagList * { // Tag * key: "STRING_VALUE", // required @@ -62,10 +62,10 @@ export interface StartImportCommandOutput extends StartImportResponse, __Metadat * const response = await client.send(command); * // { // StartImportResponse * // name: "STRING_VALUE", - * // resourceType: "STRING_VALUE", - * // mergeStrategy: "STRING_VALUE", + * // resourceType: "BOT" || "INTENT" || "SLOT_TYPE", + * // mergeStrategy: "OVERWRITE_LATEST" || "FAIL_ON_CONFLICT", * // importId: "STRING_VALUE", - * // importStatus: "STRING_VALUE", + * // importStatus: "IN_PROGRESS" || "COMPLETE" || "FAILED", * // tags: [ // TagList * // { // Tag * // key: "STRING_VALUE", // required diff --git a/clients/client-lex-model-building-service/src/commands/StartMigrationCommand.ts b/clients/client-lex-model-building-service/src/commands/StartMigrationCommand.ts index 199d185492982..09472d9b5cf66 100644 --- a/clients/client-lex-model-building-service/src/commands/StartMigrationCommand.ts +++ b/clients/client-lex-model-building-service/src/commands/StartMigrationCommand.ts @@ -55,18 +55,18 @@ export interface StartMigrationCommandOutput extends StartMigrationResponse, __M * v1BotVersion: "STRING_VALUE", // required * v2BotName: "STRING_VALUE", // required * v2BotRole: "STRING_VALUE", // required - * migrationStrategy: "STRING_VALUE", // required + * migrationStrategy: "CREATE_NEW" || "UPDATE_EXISTING", // required * }; * const command = new StartMigrationCommand(input); * const response = await client.send(command); * // { // StartMigrationResponse * // v1BotName: "STRING_VALUE", * // v1BotVersion: "STRING_VALUE", - * // v1BotLocale: "STRING_VALUE", + * // v1BotLocale: "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR", * // v2BotId: "STRING_VALUE", * // v2BotRole: "STRING_VALUE", * // migrationId: "STRING_VALUE", - * // migrationStrategy: "STRING_VALUE", + * // migrationStrategy: "CREATE_NEW" || "UPDATE_EXISTING", * // migrationTimestamp: new Date("TIMESTAMP"), * // }; * diff --git a/clients/client-lex-model-building-service/src/endpoint/ruleset.ts b/clients/client-lex-model-building-service/src/endpoint/ruleset.ts index 25cfd790e5acc..175fd8fed5b38 100644 --- a/clients/client-lex-model-building-service/src/endpoint/ruleset.ts +++ b/clients/client-lex-model-building-service/src/endpoint/ruleset.ts @@ -6,27 +6,31 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/lex-model-building-service.json */ -const s="required", -t="fn", -u="argv", -v="ref"; -const a="PartitionResult", +const u="required", +v="fn", +w="argv", +x="ref", +y="properties", +z="headers"; +const a="isSet", b="tree", c="error", d="endpoint", -e="stringEquals", -f={[s]:false,"type":"String"}, -g={[s]:true,"default":false,"type":"Boolean"}, -h={[v]:"Endpoint"}, -i={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, -j={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, +e="PartitionResult", +f={[u]:false,"type":"String"}, +g={[u]:true,"default":false,"type":"Boolean"}, +h={[x]:"Endpoint"}, +i={[v]:"booleanEquals",[w]:[{[x]:"UseFIPS"},true]}, +j={[v]:"booleanEquals",[w]:[{[x]:"UseDualStack"},true]}, k={}, -l={[t]:"booleanEquals",[u]:[true,{[t]:"getAttr",[u]:[{[v]:a},"supportsFIPS"]}]}, -m={[t]:"booleanEquals",[u]:[true,{[t]:"getAttr",[u]:[{[v]:a},"supportsDualStack"]}]}, -n={[t]:"getAttr",[u]:[{[v]:a},"name"]}, -o={"url":"https://models-fips.lex.{Region}.{PartitionResult#dnsSuffix}","properties":{},"headers":{}}, -p=[h], -q=[i], -r=[j]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[t]:"aws.partition",[u]:[{[v]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[t]:"isSet",[u]:p},{[t]:"parseURL",[u]:p,assign:"url"}],type:b,rules:[{conditions:q,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:r,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://models.lex-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:q,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{conditions:[{[t]:e,[u]:["aws",n]}],endpoint:o,type:d},{conditions:[{[t]:e,[u]:["aws-us-gov",n]}],endpoint:o,type:d},{endpoint:{url:"https://models.lex-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:r,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://models.lex.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://models.lex.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}; +l={[v]:"booleanEquals",[w]:[true,{[v]:"getAttr",[w]:[{[x]:e},"supportsFIPS"]}]}, +m={[v]:"booleanEquals",[w]:[true,{[v]:"getAttr",[w]:[{[x]:e},"supportsDualStack"]}]}, +n={"url":"https://models-fips.lex.{Region}.amazonaws.com",[y]:{},[z]:{}}, +o={"url":"https://models.lex.{Region}.amazonaws.com",[y]:{},[z]:{}}, +p=[i], +q=[j], +r=[{[x]:"Region"}], +s=[{[v]:"stringEquals",[w]:["aws",{[v]:"getAttr",[w]:[{[x]:e},"name"]}]}], +t=[{[v]:"stringEquals",[w]:["aws-us-gov",{[v]:"getAttr",[w]:[{[x]:e},"name"]}]}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[v]:a,[w]:[h]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,[y]:k,[z]:k},type:d}]},{conditions:[{[v]:a,[w]:r}],type:b,rules:[{conditions:[{[v]:"aws.partition",[w]:r,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://models.lex-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",[y]:k,[z]:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[l],type:b,rules:[{conditions:s,endpoint:n,type:d},{conditions:t,endpoint:n,type:d},{endpoint:{url:"https://models.lex-fips.{Region}.{PartitionResult#dnsSuffix}",[y]:k,[z]:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://models.lex.{Region}.{PartitionResult#dualStackDnsSuffix}",[y]:k,[z]:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{conditions:s,endpoint:o,type:d},{conditions:t,endpoint:o,type:d},{endpoint:{url:"https://models.lex.{Region}.{PartitionResult#dnsSuffix}",[y]:k,[z]:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-lex-model-building-service/src/models/models_0.ts b/clients/client-lex-model-building-service/src/models/models_0.ts index df72b8dd45470..bfce975e26f2a 100644 --- a/clients/client-lex-model-building-service/src/models/models_0.ts +++ b/clients/client-lex-model-building-service/src/models/models_0.ts @@ -568,8 +568,6 @@ export type FulfillmentActivityType = (typeof FulfillmentActivityType)[keyof typ * primarily to presentation. If you need to update the logic, you only * update the Lambda function; you don't need to upgrade your client * application.

                                                                                                                                                                                                                              - * - * *

                                                                                                                                                                                                                              Consider the following examples:

                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • @@ -2078,7 +2076,6 @@ export interface BotChannelAssociation { * *

                                                                                                                                                                                                                                Currently, Amazon Lex supports associations with Facebook and Slack, * and Twilio.

                                                                                                                                                                                                                                - * *
                                                                                                                                                                                                                                */ botName?: string; @@ -4008,7 +4005,6 @@ export interface PutBotRequest { * @public *

                                                                                                                                                                                                                                Specifies the target locale for the bot. Any intent used in the * bot must be compatible with the locale of the bot.

                                                                                                                                                                                                                                - * *

                                                                                                                                                                                                                                The default is en-US.

                                                                                                                                                                                                                                */ locale: Locale | string | undefined; @@ -4480,7 +4476,6 @@ export interface PutIntentRequest { *

                                                                                                                                                                                                                                An array of utterances (strings) that a user might say to signal * the intent. For example, "I want \{PizzaSize\} pizza", "Order \{Quantity\} * \{PizzaSize\} pizzas".

                                                                                                                                                                                                                                - * *

                                                                                                                                                                                                                                In each utterance, a slot name is enclosed in curly braces. *

                                                                                                                                                                                                                                */ @@ -4540,7 +4535,6 @@ export interface PutIntentRequest { * prompt again.

                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              The followUpPrompt field and the * conclusionStatement field are mutually exclusive. You can * specify only one.

                                                                                                                                                                                                                              diff --git a/clients/client-lex-runtime-service/src/commands/GetSessionCommand.ts b/clients/client-lex-runtime-service/src/commands/GetSessionCommand.ts index 6fd107132833b..a2f86a813229f 100644 --- a/clients/client-lex-runtime-service/src/commands/GetSessionCommand.ts +++ b/clients/client-lex-runtime-service/src/commands/GetSessionCommand.ts @@ -64,9 +64,9 @@ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataB * // slots: { // StringMap * // "": "STRING_VALUE", * // }, - * // confirmationStatus: "STRING_VALUE", - * // dialogActionType: "STRING_VALUE", // required - * // fulfillmentState: "STRING_VALUE", + * // confirmationStatus: "None" || "Confirmed" || "Denied", + * // dialogActionType: "ElicitIntent" || "ConfirmIntent" || "ElicitSlot" || "Close" || "Delegate", // required + * // fulfillmentState: "Fulfilled" || "Failed" || "ReadyForFulfillment", * // slotToElicit: "STRING_VALUE", * // }, * // ], @@ -75,13 +75,13 @@ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataB * // }, * // sessionId: "STRING_VALUE", * // dialogAction: { // DialogAction - * // type: "STRING_VALUE", // required + * // type: "ElicitIntent" || "ConfirmIntent" || "ElicitSlot" || "Close" || "Delegate", // required * // intentName: "STRING_VALUE", * // slots: "", * // slotToElicit: "STRING_VALUE", - * // fulfillmentState: "STRING_VALUE", + * // fulfillmentState: "Fulfilled" || "Failed" || "ReadyForFulfillment", * // message: "STRING_VALUE", - * // messageFormat: "STRING_VALUE", + * // messageFormat: "PlainText" || "CustomPayload" || "SSML" || "Composite", * // }, * // activeContexts: [ // ActiveContextsList * // { // ActiveContext diff --git a/clients/client-lex-runtime-service/src/commands/PostContentCommand.ts b/clients/client-lex-runtime-service/src/commands/PostContentCommand.ts index c6275c877bc5b..6b64066f12e23 100644 --- a/clients/client-lex-runtime-service/src/commands/PostContentCommand.ts +++ b/clients/client-lex-runtime-service/src/commands/PostContentCommand.ts @@ -159,8 +159,8 @@ export interface PostContentCommandOutput extends Omit": "STRING_VALUE", * }, * dialogAction: { // DialogAction - * type: "STRING_VALUE", // required + * type: "ElicitIntent" || "ConfirmIntent" || "ElicitSlot" || "Close" || "Delegate", // required * intentName: "STRING_VALUE", * slots: { * "": "STRING_VALUE", * }, * slotToElicit: "STRING_VALUE", - * fulfillmentState: "STRING_VALUE", + * fulfillmentState: "Fulfilled" || "Failed" || "ReadyForFulfillment", * message: "STRING_VALUE", - * messageFormat: "STRING_VALUE", + * messageFormat: "PlainText" || "CustomPayload" || "SSML" || "Composite", * }, * recentIntentSummaryView: [ // IntentSummaryList * { // IntentSummary * intentName: "STRING_VALUE", * checkpointLabel: "STRING_VALUE", * slots: "", - * confirmationStatus: "STRING_VALUE", - * dialogActionType: "STRING_VALUE", // required - * fulfillmentState: "STRING_VALUE", + * confirmationStatus: "None" || "Confirmed" || "Denied", + * dialogActionType: "ElicitIntent" || "ConfirmIntent" || "ElicitSlot" || "Close" || "Delegate", // required + * fulfillmentState: "Fulfilled" || "Failed" || "ReadyForFulfillment", * slotToElicit: "STRING_VALUE", * }, * ], @@ -112,8 +112,8 @@ export interface PutSessionCommandOutput extends Omit( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-lex-runtime-v2/src/endpoint/ruleset.ts b/clients/client-lex-runtime-v2/src/endpoint/ruleset.ts index b9354b5fab755..039573226c1a4 100644 --- a/clients/client-lex-runtime-v2/src/endpoint/ruleset.ts +++ b/clients/client-lex-runtime-v2/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/lex-runtime-v2.json */ -const q="fn", -r="argv", -s="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h={"required":true,"default":false,"type":"Boolean"}, -i={[s]:"Endpoint"}, -j={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -k={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -l={}, -m={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsFIPS"]}]}, -n={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsDualStack"]}]}, +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], o=[j], -p=[k]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[q]:"isSet",[r]:[i]}],type:e,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{endpoint:{url:"https://runtime-v2-lex-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:o,type:e,rules:[{conditions:[m],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://runtime-v2-lex-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:p,type:e,rules:[{conditions:[n],type:e,rules:[{endpoint:{url:"https://runtime-v2-lex.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{endpoint:{url:"https://runtime-v2-lex.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]}; +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://runtime-v2-lex-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://runtime-v2-lex-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://runtime-v2-lex.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://runtime-v2-lex.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-license-manager-linux-subscriptions/src/endpoint/EndpointParameters.ts b/clients/client-license-manager-linux-subscriptions/src/endpoint/EndpointParameters.ts index 4d43dbd45fd80..cab75afb7ab90 100644 --- a/clients/client-license-manager-linux-subscriptions/src/endpoint/EndpointParameters.ts +++ b/clients/client-license-manager-linux-subscriptions/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-license-manager-linux-subscriptions/src/endpoint/ruleset.ts b/clients/client-license-manager-linux-subscriptions/src/endpoint/ruleset.ts index 35c6ab7ace983..956e55d0f5d53 100644 --- a/clients/client-license-manager-linux-subscriptions/src/endpoint/ruleset.ts +++ b/clients/client-license-manager-linux-subscriptions/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/license-manager-linux-subscriptions.json */ -const q="fn", -r="argv", -s="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h={"required":true,"default":false,"type":"Boolean"}, -i={[s]:"Endpoint"}, -j={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -k={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -l={}, -m={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsFIPS"]}]}, -n={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsDualStack"]}]}, +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], o=[j], -p=[k]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[q]:"isSet",[r]:[i]}],type:e,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{endpoint:{url:"https://license-manager-linux-subscriptions-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:o,type:e,rules:[{conditions:[m],type:e,rules:[{endpoint:{url:"https://license-manager-linux-subscriptions-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:p,type:e,rules:[{conditions:[n],type:e,rules:[{endpoint:{url:"https://license-manager-linux-subscriptions.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{endpoint:{url:"https://license-manager-linux-subscriptions.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]}; +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://license-manager-linux-subscriptions-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://license-manager-linux-subscriptions-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://license-manager-linux-subscriptions.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://license-manager-linux-subscriptions.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-license-manager-user-subscriptions/src/endpoint/ruleset.ts b/clients/client-license-manager-user-subscriptions/src/endpoint/ruleset.ts index 787cac3dc74f0..a6d023b2a6ead 100644 --- a/clients/client-license-manager-user-subscriptions/src/endpoint/ruleset.ts +++ b/clients/client-license-manager-user-subscriptions/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/license-manager-user-subscriptions.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://license-manager-user-subscriptions-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://license-manager-user-subscriptions-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://license-manager-user-subscriptions.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://license-manager-user-subscriptions.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://license-manager-user-subscriptions-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://license-manager-user-subscriptions-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://license-manager-user-subscriptions.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://license-manager-user-subscriptions.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-license-manager/src/endpoint/ruleset.ts b/clients/client-license-manager/src/endpoint/ruleset.ts index 61af806e8680d..725387051a803 100644 --- a/clients/client-license-manager/src/endpoint/ruleset.ts +++ b/clients/client-license-manager/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://license-manager-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://license-manager-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://license-manager.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://license-manager.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://license-manager-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://license-manager-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://license-manager.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://license-manager.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-lightsail/src/endpoint/ruleset.ts b/clients/client-lightsail/src/endpoint/ruleset.ts index 319b05f83990e..bca68f85a6fcd 100644 --- a/clients/client-lightsail/src/endpoint/ruleset.ts +++ b/clients/client-lightsail/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://lightsail-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://lightsail-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://lightsail.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://lightsail.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://lightsail-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://lightsail-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://lightsail.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://lightsail.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-location/src/endpoint/ruleset.ts b/clients/client-location/src/endpoint/ruleset.ts index a8098d176e212..2de7495728bfa 100644 --- a/clients/client-location/src/endpoint/ruleset.ts +++ b/clients/client-location/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://geo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://geo-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://geo.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://geo.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://geo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://geo-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://geo.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://geo.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-lookoutmetrics/src/commands/CreateAlertCommand.ts b/clients/client-lookoutmetrics/src/commands/CreateAlertCommand.ts index 536f9815e1ce4..06a264fb62b27 100644 --- a/clients/client-lookoutmetrics/src/commands/CreateAlertCommand.ts +++ b/clients/client-lookoutmetrics/src/commands/CreateAlertCommand.ts @@ -52,7 +52,7 @@ export interface CreateAlertCommandOutput extends CreateAlertResponse, __Metadat * SNSConfiguration: { // SNSConfiguration * RoleArn: "STRING_VALUE", // required * SnsTopicArn: "STRING_VALUE", // required - * SnsFormat: "STRING_VALUE", + * SnsFormat: "LONG_TEXT" || "SHORT_TEXT" || "JSON", * }, * LambdaConfiguration: { // LambdaConfiguration * RoleArn: "STRING_VALUE", // required diff --git a/clients/client-lookoutmetrics/src/commands/CreateAnomalyDetectorCommand.ts b/clients/client-lookoutmetrics/src/commands/CreateAnomalyDetectorCommand.ts index e68b90b26e77e..c9c71c20c69cb 100644 --- a/clients/client-lookoutmetrics/src/commands/CreateAnomalyDetectorCommand.ts +++ b/clients/client-lookoutmetrics/src/commands/CreateAnomalyDetectorCommand.ts @@ -47,7 +47,7 @@ export interface CreateAnomalyDetectorCommandOutput extends CreateAnomalyDetecto * AnomalyDetectorName: "STRING_VALUE", // required * AnomalyDetectorDescription: "STRING_VALUE", * AnomalyDetectorConfig: { // AnomalyDetectorConfig - * AnomalyDetectorFrequency: "STRING_VALUE", + * AnomalyDetectorFrequency: "P1D" || "PT1H" || "PT10M" || "PT5M", * }, * KmsKeyArn: "STRING_VALUE", * Tags: { // TagMap diff --git a/clients/client-lookoutmetrics/src/commands/CreateMetricSetCommand.ts b/clients/client-lookoutmetrics/src/commands/CreateMetricSetCommand.ts index 9264bd72841b9..4b8268f602c29 100644 --- a/clients/client-lookoutmetrics/src/commands/CreateMetricSetCommand.ts +++ b/clients/client-lookoutmetrics/src/commands/CreateMetricSetCommand.ts @@ -50,7 +50,7 @@ export interface CreateMetricSetCommandOutput extends CreateMetricSetResponse, _ * MetricList: [ // MetricList // required * { // Metric * MetricName: "STRING_VALUE", // required - * AggregationFunction: "STRING_VALUE", // required + * AggregationFunction: "AVG" || "SUM", // required * Namespace: "STRING_VALUE", * }, * ], @@ -62,7 +62,7 @@ export interface CreateMetricSetCommandOutput extends CreateMetricSetResponse, _ * DimensionList: [ // DimensionList * "STRING_VALUE", * ], - * MetricSetFrequency: "STRING_VALUE", + * MetricSetFrequency: "P1D" || "PT1H" || "PT10M" || "PT5M", * MetricSource: { // MetricSource * S3SourceConfig: { // S3SourceConfig * RoleArn: "STRING_VALUE", @@ -74,7 +74,7 @@ export interface CreateMetricSetCommandOutput extends CreateMetricSetResponse, _ * ], * FileFormatDescriptor: { // FileFormatDescriptor * CsvFormatDescriptor: { // CsvFormatDescriptor - * FileCompression: "STRING_VALUE", + * FileCompression: "NONE" || "GZIP", * Charset: "STRING_VALUE", * ContainsHeader: true || false, * Delimiter: "STRING_VALUE", @@ -84,7 +84,7 @@ export interface CreateMetricSetCommandOutput extends CreateMetricSetResponse, _ * QuoteSymbol: "STRING_VALUE", * }, * JsonFormatDescriptor: { // JsonFormatDescriptor - * FileCompression: "STRING_VALUE", + * FileCompression: "NONE" || "GZIP", * Charset: "STRING_VALUE", * }, * }, @@ -155,7 +155,7 @@ export interface CreateMetricSetCommandOutput extends CreateMetricSetResponse, _ * FilterList: [ // FilterList * { // Filter * DimensionValue: "STRING_VALUE", - * FilterOperation: "STRING_VALUE", + * FilterOperation: "EQUALS", * }, * ], * }, diff --git a/clients/client-lookoutmetrics/src/commands/DescribeAlertCommand.ts b/clients/client-lookoutmetrics/src/commands/DescribeAlertCommand.ts index 541391733f150..118c9f8da3939 100644 --- a/clients/client-lookoutmetrics/src/commands/DescribeAlertCommand.ts +++ b/clients/client-lookoutmetrics/src/commands/DescribeAlertCommand.ts @@ -56,7 +56,7 @@ export interface DescribeAlertCommandOutput extends DescribeAlertResponse, __Met * // SNSConfiguration: { // SNSConfiguration * // RoleArn: "STRING_VALUE", // required * // SnsTopicArn: "STRING_VALUE", // required - * // SnsFormat: "STRING_VALUE", + * // SnsFormat: "LONG_TEXT" || "SHORT_TEXT" || "JSON", * // }, * // LambdaConfiguration: { // LambdaConfiguration * // RoleArn: "STRING_VALUE", // required @@ -68,8 +68,8 @@ export interface DescribeAlertCommandOutput extends DescribeAlertResponse, __Met * // AnomalyDetectorArn: "STRING_VALUE", * // AlertName: "STRING_VALUE", * // AlertSensitivityThreshold: Number("int"), - * // AlertType: "STRING_VALUE", - * // AlertStatus: "STRING_VALUE", + * // AlertType: "SNS" || "LAMBDA", + * // AlertStatus: "ACTIVE" || "INACTIVE", * // LastModificationTime: new Date("TIMESTAMP"), * // CreationTime: new Date("TIMESTAMP"), * // AlertFilters: { // AlertFilters diff --git a/clients/client-lookoutmetrics/src/commands/DescribeAnomalyDetectionExecutionsCommand.ts b/clients/client-lookoutmetrics/src/commands/DescribeAnomalyDetectionExecutionsCommand.ts index a66075a5e633b..c125513c70ae3 100644 --- a/clients/client-lookoutmetrics/src/commands/DescribeAnomalyDetectionExecutionsCommand.ts +++ b/clients/client-lookoutmetrics/src/commands/DescribeAnomalyDetectionExecutionsCommand.ts @@ -63,7 +63,7 @@ export interface DescribeAnomalyDetectionExecutionsCommandOutput * // ExecutionList: [ // ExecutionList * // { // ExecutionStatus * // Timestamp: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "PENDING" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "FAILED_TO_SCHEDULE", * // FailureReason: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-lookoutmetrics/src/commands/DescribeAnomalyDetectorCommand.ts b/clients/client-lookoutmetrics/src/commands/DescribeAnomalyDetectorCommand.ts index c42868548f692..a7ae46fa61a16 100644 --- a/clients/client-lookoutmetrics/src/commands/DescribeAnomalyDetectorCommand.ts +++ b/clients/client-lookoutmetrics/src/commands/DescribeAnomalyDetectorCommand.ts @@ -55,14 +55,14 @@ export interface DescribeAnomalyDetectorCommandOutput extends DescribeAnomalyDet * // AnomalyDetectorName: "STRING_VALUE", * // AnomalyDetectorDescription: "STRING_VALUE", * // AnomalyDetectorConfig: { // AnomalyDetectorConfigSummary - * // AnomalyDetectorFrequency: "STRING_VALUE", + * // AnomalyDetectorFrequency: "P1D" || "PT1H" || "PT10M" || "PT5M", * // }, * // CreationTime: new Date("TIMESTAMP"), * // LastModificationTime: new Date("TIMESTAMP"), - * // Status: "STRING_VALUE", + * // Status: "ACTIVE" || "ACTIVATING" || "DELETING" || "FAILED" || "INACTIVE" || "LEARNING" || "BACK_TEST_ACTIVATING" || "BACK_TEST_ACTIVE" || "BACK_TEST_COMPLETE" || "DEACTIVATED" || "DEACTIVATING", * // FailureReason: "STRING_VALUE", * // KmsKeyArn: "STRING_VALUE", - * // FailureType: "STRING_VALUE", + * // FailureType: "ACTIVATION_FAILURE" || "BACK_TEST_ACTIVATION_FAILURE" || "DELETION_FAILURE" || "DEACTIVATION_FAILURE", * // }; * * ``` diff --git a/clients/client-lookoutmetrics/src/commands/DescribeMetricSetCommand.ts b/clients/client-lookoutmetrics/src/commands/DescribeMetricSetCommand.ts index 1584b1f9e53eb..1d75154d15a68 100644 --- a/clients/client-lookoutmetrics/src/commands/DescribeMetricSetCommand.ts +++ b/clients/client-lookoutmetrics/src/commands/DescribeMetricSetCommand.ts @@ -61,7 +61,7 @@ export interface DescribeMetricSetCommandOutput extends DescribeMetricSetRespons * // MetricList: [ // MetricList * // { // Metric * // MetricName: "STRING_VALUE", // required - * // AggregationFunction: "STRING_VALUE", // required + * // AggregationFunction: "AVG" || "SUM", // required * // Namespace: "STRING_VALUE", * // }, * // ], @@ -72,7 +72,7 @@ export interface DescribeMetricSetCommandOutput extends DescribeMetricSetRespons * // DimensionList: [ // DimensionList * // "STRING_VALUE", * // ], - * // MetricSetFrequency: "STRING_VALUE", + * // MetricSetFrequency: "P1D" || "PT1H" || "PT10M" || "PT5M", * // Timezone: "STRING_VALUE", * // MetricSource: { // MetricSource * // S3SourceConfig: { // S3SourceConfig @@ -85,7 +85,7 @@ export interface DescribeMetricSetCommandOutput extends DescribeMetricSetRespons * // ], * // FileFormatDescriptor: { // FileFormatDescriptor * // CsvFormatDescriptor: { // CsvFormatDescriptor - * // FileCompression: "STRING_VALUE", + * // FileCompression: "NONE" || "GZIP", * // Charset: "STRING_VALUE", * // ContainsHeader: true || false, * // Delimiter: "STRING_VALUE", @@ -95,7 +95,7 @@ export interface DescribeMetricSetCommandOutput extends DescribeMetricSetRespons * // QuoteSymbol: "STRING_VALUE", * // }, * // JsonFormatDescriptor: { // JsonFormatDescriptor - * // FileCompression: "STRING_VALUE", + * // FileCompression: "NONE" || "GZIP", * // Charset: "STRING_VALUE", * // }, * // }, @@ -162,7 +162,7 @@ export interface DescribeMetricSetCommandOutput extends DescribeMetricSetRespons * // FilterList: [ // FilterList * // { // Filter * // DimensionValue: "STRING_VALUE", - * // FilterOperation: "STRING_VALUE", + * // FilterOperation: "EQUALS", * // }, * // ], * // }, diff --git a/clients/client-lookoutmetrics/src/commands/DetectMetricSetConfigCommand.ts b/clients/client-lookoutmetrics/src/commands/DetectMetricSetConfigCommand.ts index d67d6f232d997..191d0cc995a1b 100644 --- a/clients/client-lookoutmetrics/src/commands/DetectMetricSetConfigCommand.ts +++ b/clients/client-lookoutmetrics/src/commands/DetectMetricSetConfigCommand.ts @@ -75,7 +75,7 @@ export interface DetectMetricSetConfigCommandOutput extends DetectMetricSetConfi * // "STRING_VALUE", * // ], * // }, - * // Confidence: "STRING_VALUE", + * // Confidence: "HIGH" || "LOW" || "NONE", * // Message: "STRING_VALUE", * // }, * // MetricSetFrequency: { @@ -93,7 +93,7 @@ export interface DetectMetricSetConfigCommandOutput extends DetectMetricSetConfi * // "STRING_VALUE", * // ], * // }, - * // Confidence: "STRING_VALUE", + * // Confidence: "HIGH" || "LOW" || "NONE", * // Message: "STRING_VALUE", * // }, * // MetricSource: { // DetectedMetricSource @@ -115,7 +115,7 @@ export interface DetectMetricSetConfigCommandOutput extends DetectMetricSetConfi * // "STRING_VALUE", * // ], * // }, - * // Confidence: "STRING_VALUE", + * // Confidence: "HIGH" || "LOW" || "NONE", * // Message: "STRING_VALUE", * // }, * // Charset: { @@ -133,7 +133,7 @@ export interface DetectMetricSetConfigCommandOutput extends DetectMetricSetConfi * // "STRING_VALUE", * // ], * // }, - * // Confidence: "STRING_VALUE", + * // Confidence: "HIGH" || "LOW" || "NONE", * // Message: "STRING_VALUE", * // }, * // ContainsHeader: { @@ -151,7 +151,7 @@ export interface DetectMetricSetConfigCommandOutput extends DetectMetricSetConfi * // "STRING_VALUE", * // ], * // }, - * // Confidence: "STRING_VALUE", + * // Confidence: "HIGH" || "LOW" || "NONE", * // Message: "STRING_VALUE", * // }, * // Delimiter: "", diff --git a/clients/client-lookoutmetrics/src/commands/GetDataQualityMetricsCommand.ts b/clients/client-lookoutmetrics/src/commands/GetDataQualityMetricsCommand.ts index f4678e86a7119..def272cd8e81b 100644 --- a/clients/client-lookoutmetrics/src/commands/GetDataQualityMetricsCommand.ts +++ b/clients/client-lookoutmetrics/src/commands/GetDataQualityMetricsCommand.ts @@ -58,7 +58,7 @@ export interface GetDataQualityMetricsCommandOutput extends GetDataQualityMetric * // MetricSetArn: "STRING_VALUE", * // DataQualityMetricList: [ // DataQualityMetricList * // { // DataQualityMetric - * // MetricType: "STRING_VALUE", + * // MetricType: "COLUMN_COMPLETENESS" || "DIMENSION_UNIQUENESS" || "TIME_SERIES_COUNT" || "ROWS_PROCESSED" || "ROWS_PARTIAL_COMPLIANCE" || "INVALID_ROWS_COMPLIANCE" || "BACKTEST_TRAINING_DATA_START_TIME_STAMP" || "BACKTEST_TRAINING_DATA_END_TIME_STAMP" || "BACKTEST_INFERENCE_DATA_START_TIME_STAMP" || "BACKTEST_INFERENCE_DATA_END_TIME_STAMP", * // MetricDescription: "STRING_VALUE", * // RelatedColumnName: "STRING_VALUE", * // MetricValue: Number("double"), diff --git a/clients/client-lookoutmetrics/src/commands/GetSampleDataCommand.ts b/clients/client-lookoutmetrics/src/commands/GetSampleDataCommand.ts index ce6302b713401..58b199025f03f 100644 --- a/clients/client-lookoutmetrics/src/commands/GetSampleDataCommand.ts +++ b/clients/client-lookoutmetrics/src/commands/GetSampleDataCommand.ts @@ -54,7 +54,7 @@ export interface GetSampleDataCommandOutput extends GetSampleDataResponse, __Met * ], * FileFormatDescriptor: { // FileFormatDescriptor * CsvFormatDescriptor: { // CsvFormatDescriptor - * FileCompression: "STRING_VALUE", + * FileCompression: "NONE" || "GZIP", * Charset: "STRING_VALUE", * ContainsHeader: true || false, * Delimiter: "STRING_VALUE", @@ -64,7 +64,7 @@ export interface GetSampleDataCommandOutput extends GetSampleDataResponse, __Met * QuoteSymbol: "STRING_VALUE", * }, * JsonFormatDescriptor: { // JsonFormatDescriptor - * FileCompression: "STRING_VALUE", + * FileCompression: "NONE" || "GZIP", * Charset: "STRING_VALUE", * }, * }, diff --git a/clients/client-lookoutmetrics/src/commands/ListAlertsCommand.ts b/clients/client-lookoutmetrics/src/commands/ListAlertsCommand.ts index ec825e85c8965..7c6b29a7c96f8 100644 --- a/clients/client-lookoutmetrics/src/commands/ListAlertsCommand.ts +++ b/clients/client-lookoutmetrics/src/commands/ListAlertsCommand.ts @@ -59,8 +59,8 @@ export interface ListAlertsCommandOutput extends ListAlertsResponse, __MetadataB * // AnomalyDetectorArn: "STRING_VALUE", * // AlertName: "STRING_VALUE", * // AlertSensitivityThreshold: Number("int"), - * // AlertType: "STRING_VALUE", - * // AlertStatus: "STRING_VALUE", + * // AlertType: "SNS" || "LAMBDA", + * // AlertStatus: "ACTIVE" || "INACTIVE", * // LastModificationTime: new Date("TIMESTAMP"), * // CreationTime: new Date("TIMESTAMP"), * // Tags: { // TagMap diff --git a/clients/client-lookoutmetrics/src/commands/ListAnomalyDetectorsCommand.ts b/clients/client-lookoutmetrics/src/commands/ListAnomalyDetectorsCommand.ts index 6323c222f53ae..57ba8bd95213f 100644 --- a/clients/client-lookoutmetrics/src/commands/ListAnomalyDetectorsCommand.ts +++ b/clients/client-lookoutmetrics/src/commands/ListAnomalyDetectorsCommand.ts @@ -59,7 +59,7 @@ export interface ListAnomalyDetectorsCommandOutput extends ListAnomalyDetectorsR * // AnomalyDetectorDescription: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), * // LastModificationTime: new Date("TIMESTAMP"), - * // Status: "STRING_VALUE", + * // Status: "ACTIVE" || "ACTIVATING" || "DELETING" || "FAILED" || "INACTIVE" || "LEARNING" || "BACK_TEST_ACTIVATING" || "BACK_TEST_ACTIVE" || "BACK_TEST_COMPLETE" || "DEACTIVATED" || "DEACTIVATING", * // Tags: { // TagMap * // "": "STRING_VALUE", * // }, diff --git a/clients/client-lookoutmetrics/src/commands/ListAnomalyGroupRelatedMetricsCommand.ts b/clients/client-lookoutmetrics/src/commands/ListAnomalyGroupRelatedMetricsCommand.ts index eb6f5f36e8756..2b5407a059a7a 100644 --- a/clients/client-lookoutmetrics/src/commands/ListAnomalyGroupRelatedMetricsCommand.ts +++ b/clients/client-lookoutmetrics/src/commands/ListAnomalyGroupRelatedMetricsCommand.ts @@ -52,7 +52,7 @@ export interface ListAnomalyGroupRelatedMetricsCommandOutput * const input = { // ListAnomalyGroupRelatedMetricsRequest * AnomalyDetectorArn: "STRING_VALUE", // required * AnomalyGroupId: "STRING_VALUE", // required - * RelationshipTypeFilter: "STRING_VALUE", + * RelationshipTypeFilter: "CAUSE_OF_INPUT_ANOMALY_GROUP" || "EFFECT_OF_INPUT_ANOMALY_GROUP", * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; @@ -63,7 +63,7 @@ export interface ListAnomalyGroupRelatedMetricsCommandOutput * // { // InterMetricImpactDetails * // MetricName: "STRING_VALUE", * // AnomalyGroupId: "STRING_VALUE", - * // RelationshipType: "STRING_VALUE", + * // RelationshipType: "CAUSE_OF_INPUT_ANOMALY_GROUP" || "EFFECT_OF_INPUT_ANOMALY_GROUP", * // ContributionPercentage: Number("double"), * // }, * // ], diff --git a/clients/client-lookoutmetrics/src/commands/UpdateAlertCommand.ts b/clients/client-lookoutmetrics/src/commands/UpdateAlertCommand.ts index 146312bbc3f83..bc1549e84b6ef 100644 --- a/clients/client-lookoutmetrics/src/commands/UpdateAlertCommand.ts +++ b/clients/client-lookoutmetrics/src/commands/UpdateAlertCommand.ts @@ -51,7 +51,7 @@ export interface UpdateAlertCommandOutput extends UpdateAlertResponse, __Metadat * SNSConfiguration: { // SNSConfiguration * RoleArn: "STRING_VALUE", // required * SnsTopicArn: "STRING_VALUE", // required - * SnsFormat: "STRING_VALUE", + * SnsFormat: "LONG_TEXT" || "SHORT_TEXT" || "JSON", * }, * LambdaConfiguration: { // LambdaConfiguration * RoleArn: "STRING_VALUE", // required diff --git a/clients/client-lookoutmetrics/src/commands/UpdateAnomalyDetectorCommand.ts b/clients/client-lookoutmetrics/src/commands/UpdateAnomalyDetectorCommand.ts index f221df2dada10..462c05dcf23a4 100644 --- a/clients/client-lookoutmetrics/src/commands/UpdateAnomalyDetectorCommand.ts +++ b/clients/client-lookoutmetrics/src/commands/UpdateAnomalyDetectorCommand.ts @@ -48,7 +48,7 @@ export interface UpdateAnomalyDetectorCommandOutput extends UpdateAnomalyDetecto * KmsKeyArn: "STRING_VALUE", * AnomalyDetectorDescription: "STRING_VALUE", * AnomalyDetectorConfig: { // AnomalyDetectorConfig - * AnomalyDetectorFrequency: "STRING_VALUE", + * AnomalyDetectorFrequency: "P1D" || "PT1H" || "PT10M" || "PT5M", * }, * }; * const command = new UpdateAnomalyDetectorCommand(input); diff --git a/clients/client-lookoutmetrics/src/commands/UpdateMetricSetCommand.ts b/clients/client-lookoutmetrics/src/commands/UpdateMetricSetCommand.ts index e94c843c312e8..ad5707dfc77f1 100644 --- a/clients/client-lookoutmetrics/src/commands/UpdateMetricSetCommand.ts +++ b/clients/client-lookoutmetrics/src/commands/UpdateMetricSetCommand.ts @@ -49,7 +49,7 @@ export interface UpdateMetricSetCommandOutput extends UpdateMetricSetResponse, _ * MetricList: [ // MetricList * { // Metric * MetricName: "STRING_VALUE", // required - * AggregationFunction: "STRING_VALUE", // required + * AggregationFunction: "AVG" || "SUM", // required * Namespace: "STRING_VALUE", * }, * ], @@ -61,7 +61,7 @@ export interface UpdateMetricSetCommandOutput extends UpdateMetricSetResponse, _ * DimensionList: [ // DimensionList * "STRING_VALUE", * ], - * MetricSetFrequency: "STRING_VALUE", + * MetricSetFrequency: "P1D" || "PT1H" || "PT10M" || "PT5M", * MetricSource: { // MetricSource * S3SourceConfig: { // S3SourceConfig * RoleArn: "STRING_VALUE", @@ -73,7 +73,7 @@ export interface UpdateMetricSetCommandOutput extends UpdateMetricSetResponse, _ * ], * FileFormatDescriptor: { // FileFormatDescriptor * CsvFormatDescriptor: { // CsvFormatDescriptor - * FileCompression: "STRING_VALUE", + * FileCompression: "NONE" || "GZIP", * Charset: "STRING_VALUE", * ContainsHeader: true || false, * Delimiter: "STRING_VALUE", @@ -83,7 +83,7 @@ export interface UpdateMetricSetCommandOutput extends UpdateMetricSetResponse, _ * QuoteSymbol: "STRING_VALUE", * }, * JsonFormatDescriptor: { // JsonFormatDescriptor - * FileCompression: "STRING_VALUE", + * FileCompression: "NONE" || "GZIP", * Charset: "STRING_VALUE", * }, * }, @@ -150,7 +150,7 @@ export interface UpdateMetricSetCommandOutput extends UpdateMetricSetResponse, _ * FilterList: [ // FilterList * { // Filter * DimensionValue: "STRING_VALUE", - * FilterOperation: "STRING_VALUE", + * FilterOperation: "EQUALS", * }, * ], * }, diff --git a/clients/client-lookoutmetrics/src/endpoint/ruleset.ts b/clients/client-lookoutmetrics/src/endpoint/ruleset.ts index 30e3a96f2e18f..37f318eac57c1 100644 --- a/clients/client-lookoutmetrics/src/endpoint/ruleset.ts +++ b/clients/client-lookoutmetrics/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/lookoutmetrics.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://lookoutmetrics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://lookoutmetrics-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://lookoutmetrics.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://lookoutmetrics.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://lookoutmetrics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://lookoutmetrics-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://lookoutmetrics.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://lookoutmetrics.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-lookoutmetrics/src/models/models_0.ts b/clients/client-lookoutmetrics/src/models/models_0.ts index fb27cbc3af443..0e293ac8a178f 100644 --- a/clients/client-lookoutmetrics/src/models/models_0.ts +++ b/clients/client-lookoutmetrics/src/models/models_0.ts @@ -2534,7 +2534,7 @@ export type RelationshipType = (typeof RelationshipType)[keyof typeof Relationsh * @public *

                                                                                                                                                                                                                              Aggregated details about the measures contributing to the anomaly group, and the measures * potentially impacted by the anomaly group.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                              */ export interface InterMetricImpactDetails { /** diff --git a/clients/client-lookoutvision/src/commands/CreateDatasetCommand.ts b/clients/client-lookoutvision/src/commands/CreateDatasetCommand.ts index 14493df078d32..2ad4281dd908b 100644 --- a/clients/client-lookoutvision/src/commands/CreateDatasetCommand.ts +++ b/clients/client-lookoutvision/src/commands/CreateDatasetCommand.ts @@ -40,11 +40,11 @@ export interface CreateDatasetCommandOutput extends CreateDatasetResponse, __Met * training or a test dataset from a valid dataset source (DatasetSource).

                                                                                                                                                                                                                              *

                                                                                                                                                                                                                              If you want a single dataset project, specify train for the value of * DatasetType.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              To have a project with separate training and test datasets, call CreateDataset twice. + *

                                                                                                                                                                                                                              To have a project with separate training and test datasets, call CreateDataset twice. * On the first call, specify train for the value of * DatasetType. On the second call, specify test for the value of * DatasetType.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              This operation requires permissions to perform the + *

                                                                                                                                                                                                                              This operation requires permissions to perform the * lookoutvision:CreateDataset operation.

                                                                                                                                                                                                                              * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-lookoutvision/src/commands/DescribeModelPackagingJobCommand.ts b/clients/client-lookoutvision/src/commands/DescribeModelPackagingJobCommand.ts index 7a83c29ef310c..69ca60eb32a8b 100644 --- a/clients/client-lookoutvision/src/commands/DescribeModelPackagingJobCommand.ts +++ b/clients/client-lookoutvision/src/commands/DescribeModelPackagingJobCommand.ts @@ -40,7 +40,6 @@ export interface DescribeModelPackagingJobCommandOutput extends DescribeModelPac *

                                                                                                                                                                                                                              *

                                                                                                                                                                                                                              This operation requires permissions to perform the * lookoutvision:DescribeModelPackagingJob operation.

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              For more information, see * Using your Amazon Lookout for Vision model on an edge device in the Amazon Lookout for Vision Developer Guide.

                                                                                                                                                                                                                              * @example diff --git a/clients/client-lookoutvision/src/commands/DetectAnomaliesCommand.ts b/clients/client-lookoutvision/src/commands/DetectAnomaliesCommand.ts index 1e51aac825606..fd92728489d37 100644 --- a/clients/client-lookoutvision/src/commands/DetectAnomaliesCommand.ts +++ b/clients/client-lookoutvision/src/commands/DetectAnomaliesCommand.ts @@ -54,9 +54,7 @@ export interface DetectAnomaliesCommandOutput extends DetectAnomaliesResponse, _ * You are charged for the amount of time, in minutes, that a model runs and for the number of anomaly detection units that your * model uses. If you are not using a model, use the StopModel operation to stop your model.

                                                                                                                                                                                                                              * - * *

                                                                                                                                                                                                                              For more information, see Detecting anomalies in an image in the Amazon Lookout for Vision developer guide.

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              This operation requires permissions to perform the * lookoutvision:DetectAnomalies operation.

                                                                                                                                                                                                                              * @example diff --git a/clients/client-lookoutvision/src/commands/ListModelPackagingJobsCommand.ts b/clients/client-lookoutvision/src/commands/ListModelPackagingJobsCommand.ts index 8bd68104dd6a5..fbb60aceb86af 100644 --- a/clients/client-lookoutvision/src/commands/ListModelPackagingJobsCommand.ts +++ b/clients/client-lookoutvision/src/commands/ListModelPackagingJobsCommand.ts @@ -42,7 +42,6 @@ export interface ListModelPackagingJobsCommandOutput extends ListModelPackagingJ *

                                                                                                                                                                                                                              This operation requires permissions to perform the * lookoutvision:ListModelPackagingJobs operation. *

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              For more information, see * Using your Amazon Lookout for Vision model on an edge device in the Amazon Lookout for Vision Developer Guide.

                                                                                                                                                                                                                              * @example diff --git a/clients/client-lookoutvision/src/commands/StartModelPackagingJobCommand.ts b/clients/client-lookoutvision/src/commands/StartModelPackagingJobCommand.ts index a47b7f07d6d04..d223f1cf9d3f5 100644 --- a/clients/client-lookoutvision/src/commands/StartModelPackagingJobCommand.ts +++ b/clients/client-lookoutvision/src/commands/StartModelPackagingJobCommand.ts @@ -39,14 +39,12 @@ export interface StartModelPackagingJobCommandOutput extends StartModelPackaging *

                                                                                                                                                                                                                              Starts an Amazon Lookout for Vision model packaging job. A model packaging job creates an AWS IoT Greengrass component for * a Lookout for Vision model. You can use the component to deploy your model to an edge device managed by Greengrass. *

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              Use the DescribeModelPackagingJob API to determine the current status of the job. * * The model packaging job is complete if the value of Status is SUCCEEDED.

                                                                                                                                                                                                                              *

                                                                                                                                                                                                                              To deploy the component * to the target device, use the component name and component version * with the AWS IoT Greengrass CreateDeployment API.

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              This operation requires the following permissions:

                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • @@ -83,8 +81,6 @@ export interface StartModelPackagingJobCommandOutput extends StartModelPackaging *

                                                                                                                                                                                                                                (Optional) greengrass:TagResource. Only required if you want to tag the component.

                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                              - * - * *

                                                                                                                                                                                                                              For more information, see * Using your Amazon Lookout for Vision model on an edge device in the Amazon Lookout for Vision Developer Guide.

                                                                                                                                                                                                                              * @example diff --git a/clients/client-lookoutvision/src/commands/UpdateDatasetEntriesCommand.ts b/clients/client-lookoutvision/src/commands/UpdateDatasetEntriesCommand.ts index 7959ea3533263..f3c589fb6548c 100644 --- a/clients/client-lookoutvision/src/commands/UpdateDatasetEntriesCommand.ts +++ b/clients/client-lookoutvision/src/commands/UpdateDatasetEntriesCommand.ts @@ -41,16 +41,12 @@ export interface UpdateDatasetEntriesCommandOutput extends UpdateDatasetEntriesR *

                                                                                                                                                                                                                              To update an existing JSON Line, use the source-ref field to identify the JSON Line. The JSON line * that you supply replaces the existing JSON line. Any existing annotations that are not in the new JSON line are removed from the dataset. *

                                                                                                                                                                                                                              - * - * *

                                                                                                                                                                                                                              For more information, see * Defining JSON lines for anomaly classification in the Amazon Lookout for Vision Developer Guide.

                                                                                                                                                                                                                              - * * *

                                                                                                                                                                                                                              The images you reference in the source-ref field of a JSON line, must be * in the same S3 bucket as the existing images in the dataset.

                                                                                                                                                                                                                              *
                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              Updating a dataset might take a while to complete. To check the current status, call DescribeDataset and * check the Status field in the response.

                                                                                                                                                                                                                              *

                                                                                                                                                                                                                              This operation requires permissions to perform the diff --git a/clients/client-lookoutvision/src/endpoint/EndpointParameters.ts b/clients/client-lookoutvision/src/endpoint/EndpointParameters.ts index e95924afa105e..058b766e80b6e 100644 --- a/clients/client-lookoutvision/src/endpoint/EndpointParameters.ts +++ b/clients/client-lookoutvision/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-lookoutvision/src/endpoint/ruleset.ts b/clients/client-lookoutvision/src/endpoint/ruleset.ts index 7f65fbc6382ec..8fdf4bbdbe62c 100644 --- a/clients/client-lookoutvision/src/endpoint/ruleset.ts +++ b/clients/client-lookoutvision/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/lookoutvision.json */ -const q="fn", -r="argv", -s="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h={"required":true,"default":false,"type":"Boolean"}, -i={[s]:"Endpoint"}, -j={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -k={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -l={}, -m={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsFIPS"]}]}, -n={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsDualStack"]}]}, +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], o=[j], -p=[k]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[q]:"isSet",[r]:[i]}],type:e,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{endpoint:{url:"https://lookoutvision-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:o,type:e,rules:[{conditions:[m],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://lookoutvision-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:p,type:e,rules:[{conditions:[n],type:e,rules:[{endpoint:{url:"https://lookoutvision.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{endpoint:{url:"https://lookoutvision.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]}; +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://lookoutvision-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://lookoutvision-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://lookoutvision.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://lookoutvision.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-lookoutvision/src/models/models_0.ts b/clients/client-lookoutvision/src/models/models_0.ts index 9ac27efadbec0..9c3bcf013c871 100644 --- a/clients/client-lookoutvision/src/models/models_0.ts +++ b/clients/client-lookoutvision/src/models/models_0.ts @@ -535,7 +535,7 @@ export interface CreateModelRequest { *

                                                                                                                                                                                                                              If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. * This prevents retries after a network error from starting multiple training jobs. You'll need to * provide your own value for other use cases.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              An error occurs if the other input parameters are not the same as in the first request. Using a different + *

                                                                                                                                                                                                                              An error occurs if the other input parameters are not the same as in the first request. Using a different * value for ClientToken is considered a new call to CreateModel. An idempotency * token is active for 8 hours.

                                                                                                                                                                                                                              */ @@ -874,7 +874,6 @@ export interface DeleteModelRequest { *

                                                                                                                                                                                                                              If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. * This prevents retries after a network error from making multiple model deletion requests. You'll need to * provide your own value for other use cases.

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              An error occurs if the other input parameters are not the same as in the first request. Using a different * value for ClientToken is considered a new call to DeleteModel. An idempotency * token is active for 8 hours.

                                                                                                                                                                                                                              @@ -1235,8 +1234,6 @@ export interface GreengrassConfiguration { *

                                                                                                                                                                                                                              Additional compiler options for the Greengrass component. Currently, * only NVIDIA Graphics Processing Units (GPU) and CPU accelerators are supported. * If you specify TargetDevice, don't specify CompilerOptions.

                                                                                                                                                                                                                              - * - * *

                                                                                                                                                                                                                              For more information, see * Compiler options in the Amazon Lookout for Vision Developer Guide.

                                                                                                                                                                                                                              */ @@ -2004,7 +2001,6 @@ export interface StartModelRequest { *

                                                                                                                                                                                                                              If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. * This prevents retries after a network error from making multiple start requests. You'll need to * provide your own value for other use cases.

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              An error occurs if the other input parameters are not the same as in the first request. Using a different * value for ClientToken is considered a new call to StartModel. An idempotency * token is active for 8 hours. diff --git a/clients/client-m2/src/endpoint/ruleset.ts b/clients/client-m2/src/endpoint/ruleset.ts index 7518c967e1579..38ff32bceceb8 100644 --- a/clients/client-m2/src/endpoint/ruleset.ts +++ b/clients/client-m2/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://m2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://m2-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://m2.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://m2.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://m2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://m2-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://m2.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://m2.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-machine-learning/src/commands/AddTagsCommand.ts b/clients/client-machine-learning/src/commands/AddTagsCommand.ts index 6dc93d402cc60..9b0fab4757762 100644 --- a/clients/client-machine-learning/src/commands/AddTagsCommand.ts +++ b/clients/client-machine-learning/src/commands/AddTagsCommand.ts @@ -53,13 +53,13 @@ export interface AddTagsCommandOutput extends AddTagsOutput, __MetadataBearer {} * }, * ], * ResourceId: "STRING_VALUE", // required - * ResourceType: "STRING_VALUE", // required + * ResourceType: "BatchPrediction" || "DataSource" || "Evaluation" || "MLModel", // required * }; * const command = new AddTagsCommand(input); * const response = await client.send(command); * // { // AddTagsOutput * // ResourceId: "STRING_VALUE", - * // ResourceType: "STRING_VALUE", + * // ResourceType: "BatchPrediction" || "DataSource" || "Evaluation" || "MLModel", * // }; * * ``` diff --git a/clients/client-machine-learning/src/commands/CreateMLModelCommand.ts b/clients/client-machine-learning/src/commands/CreateMLModelCommand.ts index f33199b070494..7498bfdc00547 100644 --- a/clients/client-machine-learning/src/commands/CreateMLModelCommand.ts +++ b/clients/client-machine-learning/src/commands/CreateMLModelCommand.ts @@ -65,7 +65,7 @@ export interface CreateMLModelCommandOutput extends CreateMLModelOutput, __Metad * const input = { // CreateMLModelInput * MLModelId: "STRING_VALUE", // required * MLModelName: "STRING_VALUE", - * MLModelType: "STRING_VALUE", // required + * MLModelType: "REGRESSION" || "BINARY" || "MULTICLASS", // required * Parameters: { // TrainingParameters * "": "STRING_VALUE", * }, diff --git a/clients/client-machine-learning/src/commands/CreateRealtimeEndpointCommand.ts b/clients/client-machine-learning/src/commands/CreateRealtimeEndpointCommand.ts index 428e9a5f92def..5f4f1e37fc785 100644 --- a/clients/client-machine-learning/src/commands/CreateRealtimeEndpointCommand.ts +++ b/clients/client-machine-learning/src/commands/CreateRealtimeEndpointCommand.ts @@ -54,7 +54,7 @@ export interface CreateRealtimeEndpointCommandOutput extends CreateRealtimeEndpo * // PeakRequestsPerSecond: Number("int"), * // CreatedAt: new Date("TIMESTAMP"), * // EndpointUrl: "STRING_VALUE", - * // EndpointStatus: "STRING_VALUE", + * // EndpointStatus: "NONE" || "READY" || "UPDATING" || "FAILED", * // }, * // }; * diff --git a/clients/client-machine-learning/src/commands/DeleteRealtimeEndpointCommand.ts b/clients/client-machine-learning/src/commands/DeleteRealtimeEndpointCommand.ts index a51e169cc3d3b..66ec138b56a60 100644 --- a/clients/client-machine-learning/src/commands/DeleteRealtimeEndpointCommand.ts +++ b/clients/client-machine-learning/src/commands/DeleteRealtimeEndpointCommand.ts @@ -54,7 +54,7 @@ export interface DeleteRealtimeEndpointCommandOutput extends DeleteRealtimeEndpo * // PeakRequestsPerSecond: Number("int"), * // CreatedAt: new Date("TIMESTAMP"), * // EndpointUrl: "STRING_VALUE", - * // EndpointStatus: "STRING_VALUE", + * // EndpointStatus: "NONE" || "READY" || "UPDATING" || "FAILED", * // }, * // }; * diff --git a/clients/client-machine-learning/src/commands/DeleteTagsCommand.ts b/clients/client-machine-learning/src/commands/DeleteTagsCommand.ts index 9c06f43527f88..54bc60c26e35c 100644 --- a/clients/client-machine-learning/src/commands/DeleteTagsCommand.ts +++ b/clients/client-machine-learning/src/commands/DeleteTagsCommand.ts @@ -49,13 +49,13 @@ export interface DeleteTagsCommandOutput extends DeleteTagsOutput, __MetadataBea * "STRING_VALUE", * ], * ResourceId: "STRING_VALUE", // required - * ResourceType: "STRING_VALUE", // required + * ResourceType: "BatchPrediction" || "DataSource" || "Evaluation" || "MLModel", // required * }; * const command = new DeleteTagsCommand(input); * const response = await client.send(command); * // { // DeleteTagsOutput * // ResourceId: "STRING_VALUE", - * // ResourceType: "STRING_VALUE", + * // ResourceType: "BatchPrediction" || "DataSource" || "Evaluation" || "MLModel", * // }; * * ``` diff --git a/clients/client-machine-learning/src/commands/DescribeBatchPredictionsCommand.ts b/clients/client-machine-learning/src/commands/DescribeBatchPredictionsCommand.ts index 000fb4cbe7137..3e55dc9115aef 100644 --- a/clients/client-machine-learning/src/commands/DescribeBatchPredictionsCommand.ts +++ b/clients/client-machine-learning/src/commands/DescribeBatchPredictionsCommand.ts @@ -44,7 +44,7 @@ export interface DescribeBatchPredictionsCommandOutput extends DescribeBatchPred * // const { MachineLearningClient, DescribeBatchPredictionsCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import * const client = new MachineLearningClient(config); * const input = { // DescribeBatchPredictionsInput - * FilterVariable: "STRING_VALUE", + * FilterVariable: "CreatedAt" || "LastUpdatedAt" || "Status" || "Name" || "IAMUser" || "MLModelId" || "DataSourceId" || "DataURI", * EQ: "STRING_VALUE", * GT: "STRING_VALUE", * LT: "STRING_VALUE", @@ -52,7 +52,7 @@ export interface DescribeBatchPredictionsCommandOutput extends DescribeBatchPred * LE: "STRING_VALUE", * NE: "STRING_VALUE", * Prefix: "STRING_VALUE", - * SortOrder: "STRING_VALUE", + * SortOrder: "asc" || "dsc", * NextToken: "STRING_VALUE", * Limit: Number("int"), * }; @@ -69,7 +69,7 @@ export interface DescribeBatchPredictionsCommandOutput extends DescribeBatchPred * // CreatedAt: new Date("TIMESTAMP"), * // LastUpdatedAt: new Date("TIMESTAMP"), * // Name: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "PENDING" || "INPROGRESS" || "FAILED" || "COMPLETED" || "DELETED", * // OutputUri: "STRING_VALUE", * // Message: "STRING_VALUE", * // ComputeTime: Number("long"), diff --git a/clients/client-machine-learning/src/commands/DescribeDataSourcesCommand.ts b/clients/client-machine-learning/src/commands/DescribeDataSourcesCommand.ts index 223c5624502fa..44c8d455735c0 100644 --- a/clients/client-machine-learning/src/commands/DescribeDataSourcesCommand.ts +++ b/clients/client-machine-learning/src/commands/DescribeDataSourcesCommand.ts @@ -44,7 +44,7 @@ export interface DescribeDataSourcesCommandOutput extends DescribeDataSourcesOut * // const { MachineLearningClient, DescribeDataSourcesCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import * const client = new MachineLearningClient(config); * const input = { // DescribeDataSourcesInput - * FilterVariable: "STRING_VALUE", + * FilterVariable: "CreatedAt" || "LastUpdatedAt" || "Status" || "Name" || "DataLocationS3" || "IAMUser", * EQ: "STRING_VALUE", * GT: "STRING_VALUE", * LT: "STRING_VALUE", @@ -52,7 +52,7 @@ export interface DescribeDataSourcesCommandOutput extends DescribeDataSourcesOut * LE: "STRING_VALUE", * NE: "STRING_VALUE", * Prefix: "STRING_VALUE", - * SortOrder: "STRING_VALUE", + * SortOrder: "asc" || "dsc", * NextToken: "STRING_VALUE", * Limit: Number("int"), * }; @@ -70,7 +70,7 @@ export interface DescribeDataSourcesCommandOutput extends DescribeDataSourcesOut * // DataSizeInBytes: Number("long"), * // NumberOfFiles: Number("long"), * // Name: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "PENDING" || "INPROGRESS" || "FAILED" || "COMPLETED" || "DELETED", * // Message: "STRING_VALUE", * // RedshiftMetadata: { // RedshiftMetadata * // RedshiftDatabase: { // RedshiftDatabase diff --git a/clients/client-machine-learning/src/commands/DescribeEvaluationsCommand.ts b/clients/client-machine-learning/src/commands/DescribeEvaluationsCommand.ts index 3617afc4620c4..8a834b9ec5654 100644 --- a/clients/client-machine-learning/src/commands/DescribeEvaluationsCommand.ts +++ b/clients/client-machine-learning/src/commands/DescribeEvaluationsCommand.ts @@ -44,7 +44,7 @@ export interface DescribeEvaluationsCommandOutput extends DescribeEvaluationsOut * // const { MachineLearningClient, DescribeEvaluationsCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import * const client = new MachineLearningClient(config); * const input = { // DescribeEvaluationsInput - * FilterVariable: "STRING_VALUE", + * FilterVariable: "CreatedAt" || "LastUpdatedAt" || "Status" || "Name" || "IAMUser" || "MLModelId" || "DataSourceId" || "DataURI", * EQ: "STRING_VALUE", * GT: "STRING_VALUE", * LT: "STRING_VALUE", @@ -52,7 +52,7 @@ export interface DescribeEvaluationsCommandOutput extends DescribeEvaluationsOut * LE: "STRING_VALUE", * NE: "STRING_VALUE", * Prefix: "STRING_VALUE", - * SortOrder: "STRING_VALUE", + * SortOrder: "asc" || "dsc", * NextToken: "STRING_VALUE", * Limit: Number("int"), * }; @@ -69,7 +69,7 @@ export interface DescribeEvaluationsCommandOutput extends DescribeEvaluationsOut * // CreatedAt: new Date("TIMESTAMP"), * // LastUpdatedAt: new Date("TIMESTAMP"), * // Name: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "PENDING" || "INPROGRESS" || "FAILED" || "COMPLETED" || "DELETED", * // PerformanceMetrics: { // PerformanceMetrics * // Properties: { // PerformanceMetricsProperties * // "": "STRING_VALUE", diff --git a/clients/client-machine-learning/src/commands/DescribeMLModelsCommand.ts b/clients/client-machine-learning/src/commands/DescribeMLModelsCommand.ts index 9a1ee6ba225b3..c4592c1f3d174 100644 --- a/clients/client-machine-learning/src/commands/DescribeMLModelsCommand.ts +++ b/clients/client-machine-learning/src/commands/DescribeMLModelsCommand.ts @@ -44,7 +44,7 @@ export interface DescribeMLModelsCommandOutput extends DescribeMLModelsOutput, _ * // const { MachineLearningClient, DescribeMLModelsCommand } = require("@aws-sdk/client-machine-learning"); // CommonJS import * const client = new MachineLearningClient(config); * const input = { // DescribeMLModelsInput - * FilterVariable: "STRING_VALUE", + * FilterVariable: "CreatedAt" || "LastUpdatedAt" || "Status" || "Name" || "IAMUser" || "TrainingDataSourceId" || "RealtimeEndpointStatus" || "MLModelType" || "Algorithm" || "TrainingDataURI", * EQ: "STRING_VALUE", * GT: "STRING_VALUE", * LT: "STRING_VALUE", @@ -52,7 +52,7 @@ export interface DescribeMLModelsCommandOutput extends DescribeMLModelsOutput, _ * LE: "STRING_VALUE", * NE: "STRING_VALUE", * Prefix: "STRING_VALUE", - * SortOrder: "STRING_VALUE", + * SortOrder: "asc" || "dsc", * NextToken: "STRING_VALUE", * Limit: Number("int"), * }; @@ -67,20 +67,20 @@ export interface DescribeMLModelsCommandOutput extends DescribeMLModelsOutput, _ * // CreatedAt: new Date("TIMESTAMP"), * // LastUpdatedAt: new Date("TIMESTAMP"), * // Name: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "PENDING" || "INPROGRESS" || "FAILED" || "COMPLETED" || "DELETED", * // SizeInBytes: Number("long"), * // EndpointInfo: { // RealtimeEndpointInfo * // PeakRequestsPerSecond: Number("int"), * // CreatedAt: new Date("TIMESTAMP"), * // EndpointUrl: "STRING_VALUE", - * // EndpointStatus: "STRING_VALUE", + * // EndpointStatus: "NONE" || "READY" || "UPDATING" || "FAILED", * // }, * // TrainingParameters: { // TrainingParameters * // "": "STRING_VALUE", * // }, * // InputDataLocationS3: "STRING_VALUE", - * // Algorithm: "STRING_VALUE", - * // MLModelType: "STRING_VALUE", + * // Algorithm: "sgd", + * // MLModelType: "REGRESSION" || "BINARY" || "MULTICLASS", * // ScoreThreshold: Number("float"), * // ScoreThresholdLastUpdatedAt: new Date("TIMESTAMP"), * // Message: "STRING_VALUE", diff --git a/clients/client-machine-learning/src/commands/DescribeTagsCommand.ts b/clients/client-machine-learning/src/commands/DescribeTagsCommand.ts index 5c8e765453bfd..0ecb0ca15dddd 100644 --- a/clients/client-machine-learning/src/commands/DescribeTagsCommand.ts +++ b/clients/client-machine-learning/src/commands/DescribeTagsCommand.ts @@ -45,13 +45,13 @@ export interface DescribeTagsCommandOutput extends DescribeTagsOutput, __Metadat * const client = new MachineLearningClient(config); * const input = { // DescribeTagsInput * ResourceId: "STRING_VALUE", // required - * ResourceType: "STRING_VALUE", // required + * ResourceType: "BatchPrediction" || "DataSource" || "Evaluation" || "MLModel", // required * }; * const command = new DescribeTagsCommand(input); * const response = await client.send(command); * // { // DescribeTagsOutput * // ResourceId: "STRING_VALUE", - * // ResourceType: "STRING_VALUE", + * // ResourceType: "BatchPrediction" || "DataSource" || "Evaluation" || "MLModel", * // Tags: [ // TagList * // { // Tag * // Key: "STRING_VALUE", diff --git a/clients/client-machine-learning/src/commands/GetBatchPredictionCommand.ts b/clients/client-machine-learning/src/commands/GetBatchPredictionCommand.ts index 5a896aaa0416e..bf78e5d5f42f9 100644 --- a/clients/client-machine-learning/src/commands/GetBatchPredictionCommand.ts +++ b/clients/client-machine-learning/src/commands/GetBatchPredictionCommand.ts @@ -58,7 +58,7 @@ export interface GetBatchPredictionCommandOutput extends GetBatchPredictionOutpu * // CreatedAt: new Date("TIMESTAMP"), * // LastUpdatedAt: new Date("TIMESTAMP"), * // Name: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "PENDING" || "INPROGRESS" || "FAILED" || "COMPLETED" || "DELETED", * // OutputUri: "STRING_VALUE", * // LogUri: "STRING_VALUE", * // Message: "STRING_VALUE", diff --git a/clients/client-machine-learning/src/commands/GetDataSourceCommand.ts b/clients/client-machine-learning/src/commands/GetDataSourceCommand.ts index 9314f62d83442..7910ce1da3288 100644 --- a/clients/client-machine-learning/src/commands/GetDataSourceCommand.ts +++ b/clients/client-machine-learning/src/commands/GetDataSourceCommand.ts @@ -62,7 +62,7 @@ export interface GetDataSourceCommandOutput extends GetDataSourceOutput, __Metad * // DataSizeInBytes: Number("long"), * // NumberOfFiles: Number("long"), * // Name: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "PENDING" || "INPROGRESS" || "FAILED" || "COMPLETED" || "DELETED", * // LogUri: "STRING_VALUE", * // Message: "STRING_VALUE", * // RedshiftMetadata: { // RedshiftMetadata diff --git a/clients/client-machine-learning/src/commands/GetEvaluationCommand.ts b/clients/client-machine-learning/src/commands/GetEvaluationCommand.ts index e74f1b5323afd..0e55e9e41f5a4 100644 --- a/clients/client-machine-learning/src/commands/GetEvaluationCommand.ts +++ b/clients/client-machine-learning/src/commands/GetEvaluationCommand.ts @@ -57,7 +57,7 @@ export interface GetEvaluationCommandOutput extends GetEvaluationOutput, __Metad * // CreatedAt: new Date("TIMESTAMP"), * // LastUpdatedAt: new Date("TIMESTAMP"), * // Name: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "PENDING" || "INPROGRESS" || "FAILED" || "COMPLETED" || "DELETED", * // PerformanceMetrics: { // PerformanceMetrics * // Properties: { // PerformanceMetricsProperties * // "": "STRING_VALUE", diff --git a/clients/client-machine-learning/src/commands/GetMLModelCommand.ts b/clients/client-machine-learning/src/commands/GetMLModelCommand.ts index bea7f54cc6d82..6619f08a93da8 100644 --- a/clients/client-machine-learning/src/commands/GetMLModelCommand.ts +++ b/clients/client-machine-learning/src/commands/GetMLModelCommand.ts @@ -58,19 +58,19 @@ export interface GetMLModelCommandOutput extends GetMLModelOutput, __MetadataBea * // CreatedAt: new Date("TIMESTAMP"), * // LastUpdatedAt: new Date("TIMESTAMP"), * // Name: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "PENDING" || "INPROGRESS" || "FAILED" || "COMPLETED" || "DELETED", * // SizeInBytes: Number("long"), * // EndpointInfo: { // RealtimeEndpointInfo * // PeakRequestsPerSecond: Number("int"), * // CreatedAt: new Date("TIMESTAMP"), * // EndpointUrl: "STRING_VALUE", - * // EndpointStatus: "STRING_VALUE", + * // EndpointStatus: "NONE" || "READY" || "UPDATING" || "FAILED", * // }, * // TrainingParameters: { // TrainingParameters * // "": "STRING_VALUE", * // }, * // InputDataLocationS3: "STRING_VALUE", - * // MLModelType: "STRING_VALUE", + * // MLModelType: "REGRESSION" || "BINARY" || "MULTICLASS", * // ScoreThreshold: Number("float"), * // ScoreThresholdLastUpdatedAt: new Date("TIMESTAMP"), * // LogUri: "STRING_VALUE", diff --git a/clients/client-machine-learning/src/endpoint/ruleset.ts b/clients/client-machine-learning/src/endpoint/ruleset.ts index e96a32c56e899..bc21442870cdb 100644 --- a/clients/client-machine-learning/src/endpoint/ruleset.ts +++ b/clients/client-machine-learning/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/machine-learning.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://machinelearning-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://machinelearning-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://machinelearning.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://machinelearning.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://machinelearning-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://machinelearning-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://machinelearning.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://machinelearning.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-macie/README.md b/clients/client-macie/README.md index 45b180a2a5ec6..00c42be1a96a7 100644 --- a/clients/client-macie/README.md +++ b/clients/client-macie/README.md @@ -9,7 +9,6 @@ AWS SDK for JavaScript Macie Client for Node.js, Browser and React Native. Amazon Macie Classic

                                                                                                                                                                                                                              Amazon Macie Classic has been discontinued and is no longer available.

                                                                                                                                                                                                                              -

                                                                                                                                                                                                                              A new Amazon Macie is now available with significant design improvements and additional features, at a lower price and in most Amazon Web Services Regions. We encourage you to take advantage of the new and improved features, and benefit from the reduced cost. To learn about features and pricing for the new Macie, see Amazon Macie. To learn how to use the new Macie, see the Amazon Macie User diff --git a/clients/client-macie/src/Macie.ts b/clients/client-macie/src/Macie.ts index b3f2d9fb16194..b6480c57dc393 100644 --- a/clients/client-macie/src/Macie.ts +++ b/clients/client-macie/src/Macie.ts @@ -171,7 +171,6 @@ export interface Macie { * @public * Amazon Macie Classic *

                                                                                                                                                                                                                              Amazon Macie Classic has been discontinued and is no longer available.

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              A new Amazon Macie is now available with significant design improvements and additional * features, at a lower price and in most Amazon Web Services Regions. We encourage you to take advantage of the * new and improved features, and benefit from the reduced cost. To learn about features and pricing for the new Macie, see Amazon Macie. To learn how to use the new Macie, see the Amazon Macie User diff --git a/clients/client-macie/src/MacieClient.ts b/clients/client-macie/src/MacieClient.ts index 268697b3b5353..b193b358c5f7b 100644 --- a/clients/client-macie/src/MacieClient.ts +++ b/clients/client-macie/src/MacieClient.ts @@ -276,7 +276,6 @@ export interface MacieClientResolvedConfig extends MacieClientResolvedConfigType * @public * Amazon Macie Classic *

                                                                                                                                                                                                                              Amazon Macie Classic has been discontinued and is no longer available.

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              A new Amazon Macie is now available with significant design improvements and additional * features, at a lower price and in most Amazon Web Services Regions. We encourage you to take advantage of the * new and improved features, and benefit from the reduced cost. To learn about features and pricing for the new Macie, see Amazon Macie. To learn how to use the new Macie, see the Amazon Macie User diff --git a/clients/client-macie/src/commands/AssociateS3ResourcesCommand.ts b/clients/client-macie/src/commands/AssociateS3ResourcesCommand.ts index c9848208d6f01..13a80788efa78 100644 --- a/clients/client-macie/src/commands/AssociateS3ResourcesCommand.ts +++ b/clients/client-macie/src/commands/AssociateS3ResourcesCommand.ts @@ -54,8 +54,8 @@ export interface AssociateS3ResourcesCommandOutput extends AssociateS3ResourcesR * bucketName: "STRING_VALUE", // required * prefix: "STRING_VALUE", * classificationType: { // ClassificationType - * oneTime: "STRING_VALUE", // required - * continuous: "STRING_VALUE", // required + * oneTime: "FULL" || "NONE", // required + * continuous: "FULL", // required * }, * }, * ], diff --git a/clients/client-macie/src/commands/ListS3ResourcesCommand.ts b/clients/client-macie/src/commands/ListS3ResourcesCommand.ts index 68bf5dabe4f63..b57462a6a7d2d 100644 --- a/clients/client-macie/src/commands/ListS3ResourcesCommand.ts +++ b/clients/client-macie/src/commands/ListS3ResourcesCommand.ts @@ -60,8 +60,8 @@ export interface ListS3ResourcesCommandOutput extends ListS3ResourcesResult, __M * // bucketName: "STRING_VALUE", // required * // prefix: "STRING_VALUE", * // classificationType: { // ClassificationType - * // oneTime: "STRING_VALUE", // required - * // continuous: "STRING_VALUE", // required + * // oneTime: "FULL" || "NONE", // required + * // continuous: "FULL", // required * // }, * // }, * // ], diff --git a/clients/client-macie/src/commands/UpdateS3ResourcesCommand.ts b/clients/client-macie/src/commands/UpdateS3ResourcesCommand.ts index 161ab604a5609..e101b25bd01e6 100644 --- a/clients/client-macie/src/commands/UpdateS3ResourcesCommand.ts +++ b/clients/client-macie/src/commands/UpdateS3ResourcesCommand.ts @@ -54,8 +54,8 @@ export interface UpdateS3ResourcesCommandOutput extends UpdateS3ResourcesResult, * bucketName: "STRING_VALUE", // required * prefix: "STRING_VALUE", * classificationTypeUpdate: { // ClassificationTypeUpdate - * oneTime: "STRING_VALUE", - * continuous: "STRING_VALUE", + * oneTime: "FULL" || "NONE", + * continuous: "FULL", * }, * }, * ], diff --git a/clients/client-macie/src/endpoint/ruleset.ts b/clients/client-macie/src/endpoint/ruleset.ts index 3aedd46c000ac..1e87941400ad4 100644 --- a/clients/client-macie/src/endpoint/ruleset.ts +++ b/clients/client-macie/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/macie.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://macie-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://macie-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://macie.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://macie.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://macie-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://macie-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://macie.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://macie.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-macie/src/index.ts b/clients/client-macie/src/index.ts index 5d235e94b843a..797edca5208ec 100644 --- a/clients/client-macie/src/index.ts +++ b/clients/client-macie/src/index.ts @@ -3,7 +3,6 @@ /** * Amazon Macie Classic *

                                                                                                                                                                                                                              Amazon Macie Classic has been discontinued and is no longer available.

                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                              A new Amazon Macie is now available with significant design improvements and additional * features, at a lower price and in most Amazon Web Services Regions. We encourage you to take advantage of the * new and improved features, and benefit from the reduced cost. To learn about features and pricing for the new Macie, see Amazon Macie. To learn how to use the new Macie, see the Amazon Macie User diff --git a/clients/client-macie2/src/endpoint/ruleset.ts b/clients/client-macie2/src/endpoint/ruleset.ts index 78ad5098d1283..d701c6fa3374d 100644 --- a/clients/client-macie2/src/endpoint/ruleset.ts +++ b/clients/client-macie2/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://macie2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://macie2-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://macie2.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://macie2.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://macie2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://macie2-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://macie2.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://macie2.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-managedblockchain/src/endpoint/ruleset.ts b/clients/client-managedblockchain/src/endpoint/ruleset.ts index 7ffbf53632d12..3ca4a47f0cc51 100644 --- a/clients/client-managedblockchain/src/endpoint/ruleset.ts +++ b/clients/client-managedblockchain/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://managedblockchain-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://managedblockchain-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://managedblockchain.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://managedblockchain.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://managedblockchain-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://managedblockchain-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://managedblockchain.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://managedblockchain.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-marketplace-catalog/src/endpoint/ruleset.ts b/clients/client-marketplace-catalog/src/endpoint/ruleset.ts index da1cf58de9364..609ddde879ffc 100644 --- a/clients/client-marketplace-catalog/src/endpoint/ruleset.ts +++ b/clients/client-marketplace-catalog/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://catalog.marketplace-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://catalog.marketplace-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://catalog.marketplace.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://catalog.marketplace.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://catalog.marketplace-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://catalog.marketplace-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://catalog.marketplace.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://catalog.marketplace.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-marketplace-commerce-analytics/src/commands/GenerateDataSetCommand.ts b/clients/client-marketplace-commerce-analytics/src/commands/GenerateDataSetCommand.ts index 92e36e4c19db3..419b6ceae6192 100644 --- a/clients/client-marketplace-commerce-analytics/src/commands/GenerateDataSetCommand.ts +++ b/clients/client-marketplace-commerce-analytics/src/commands/GenerateDataSetCommand.ts @@ -55,7 +55,7 @@ export interface GenerateDataSetCommandOutput extends GenerateDataSetResult, __M * // const { MarketplaceCommerceAnalyticsClient, GenerateDataSetCommand } = require("@aws-sdk/client-marketplace-commerce-analytics"); // CommonJS import * const client = new MarketplaceCommerceAnalyticsClient(config); * const input = { // GenerateDataSetRequest - * dataSetType: "STRING_VALUE", // required + * dataSetType: "customer_subscriber_hourly_monthly_subscriptions" || "customer_subscriber_annual_subscriptions" || "daily_business_usage_by_instance_type" || "daily_business_fees" || "daily_business_free_trial_conversions" || "daily_business_new_instances" || "daily_business_new_product_subscribers" || "daily_business_canceled_product_subscribers" || "monthly_revenue_billing_and_revenue_data" || "monthly_revenue_annual_subscriptions" || "monthly_revenue_field_demonstration_usage" || "monthly_revenue_flexible_payment_schedule" || "disbursed_amount_by_product" || "disbursed_amount_by_product_with_uncollected_funds" || "disbursed_amount_by_instance_hours" || "disbursed_amount_by_customer_geo" || "disbursed_amount_by_age_of_uncollected_funds" || "disbursed_amount_by_age_of_disbursed_funds" || "disbursed_amount_by_age_of_past_due_funds" || "disbursed_amount_by_uncollected_funds_breakdown" || "customer_profile_by_industry" || "customer_profile_by_revenue" || "customer_profile_by_geography" || "sales_compensation_billed_revenue" || "us_sales_and_use_tax_records", // required * dataSetPublicationDate: new Date("TIMESTAMP"), // required * roleNameArn: "STRING_VALUE", // required * destinationS3BucketName: "STRING_VALUE", // required diff --git a/clients/client-marketplace-commerce-analytics/src/commands/StartSupportDataExportCommand.ts b/clients/client-marketplace-commerce-analytics/src/commands/StartSupportDataExportCommand.ts index af0cf73433409..39896f32ecb1d 100644 --- a/clients/client-marketplace-commerce-analytics/src/commands/StartSupportDataExportCommand.ts +++ b/clients/client-marketplace-commerce-analytics/src/commands/StartSupportDataExportCommand.ts @@ -55,7 +55,7 @@ export interface StartSupportDataExportCommandOutput extends StartSupportDataExp * // const { MarketplaceCommerceAnalyticsClient, StartSupportDataExportCommand } = require("@aws-sdk/client-marketplace-commerce-analytics"); // CommonJS import * const client = new MarketplaceCommerceAnalyticsClient(config); * const input = { // StartSupportDataExportRequest - * dataSetType: "STRING_VALUE", // required + * dataSetType: "customer_support_contacts_data" || "test_customer_support_contacts_data", // required * fromDate: new Date("TIMESTAMP"), // required * roleNameArn: "STRING_VALUE", // required * destinationS3BucketName: "STRING_VALUE", // required diff --git a/clients/client-marketplace-commerce-analytics/src/endpoint/ruleset.ts b/clients/client-marketplace-commerce-analytics/src/endpoint/ruleset.ts index dc2a0847ae493..e2dbc8a8a0db1 100644 --- a/clients/client-marketplace-commerce-analytics/src/endpoint/ruleset.ts +++ b/clients/client-marketplace-commerce-analytics/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/marketplace-commerce-analytics.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://marketplacecommerceanalytics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://marketplacecommerceanalytics-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://marketplacecommerceanalytics.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://marketplacecommerceanalytics.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://marketplacecommerceanalytics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://marketplacecommerceanalytics-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://marketplacecommerceanalytics.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://marketplacecommerceanalytics.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-marketplace-commerce-analytics/src/models/models_0.ts b/clients/client-marketplace-commerce-analytics/src/models/models_0.ts index 8783655f082f8..e685920d92080 100644 --- a/clients/client-marketplace-commerce-analytics/src/models/models_0.ts +++ b/clients/client-marketplace-commerce-analytics/src/models/models_0.ts @@ -237,10 +237,19 @@ export class MarketplaceCommerceAnalyticsException extends __BaseException { } } +/** + * @public + * @enum + */ +export const SupportDataSetType = { + customer_support_contacts_data: "customer_support_contacts_data", + test_customer_support_contacts_data: "test_customer_support_contacts_data", +} as const; + /** * @public */ -export type SupportDataSetType = "customer_support_contacts_data" | "test_customer_support_contacts_data"; +export type SupportDataSetType = (typeof SupportDataSetType)[keyof typeof SupportDataSetType]; /** * @public diff --git a/clients/client-marketplace-entitlement-service/src/endpoint/ruleset.ts b/clients/client-marketplace-entitlement-service/src/endpoint/ruleset.ts index 8fb769a524b26..a6884e5cc52f3 100644 --- a/clients/client-marketplace-entitlement-service/src/endpoint/ruleset.ts +++ b/clients/client-marketplace-entitlement-service/src/endpoint/ruleset.ts @@ -6,24 +6,27 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/marketplace-entitlement-service.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const s="required", +t="fn", +u="argv", +v="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://entitlement.marketplace-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://entitlement.marketplace-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://entitlement.marketplace.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://entitlement.marketplace.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f="getAttr", +g={[s]:false,"type":"String"}, +h={[s]:true,"default":false,"type":"Boolean"}, +i={[v]:"Endpoint"}, +j={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, +k={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, +l={}, +m={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[{[v]:e},"supportsFIPS"]}]}, +n={[v]:e}, +o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, +p=[j], +q=[k], +r=[{[v]:"Region"}]; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://entitlement.marketplace-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://entitlement.marketplace-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://entitlement.marketplace.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{conditions:[{[t]:"stringEquals",[u]:["aws",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://entitlement.marketplace.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://entitlement.marketplace.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-marketplace-metering/src/MarketplaceMetering.ts b/clients/client-marketplace-metering/src/MarketplaceMetering.ts index 6d91fea9b4eaa..c10d2839857d3 100644 --- a/clients/client-marketplace-metering/src/MarketplaceMetering.ts +++ b/clients/client-marketplace-metering/src/MarketplaceMetering.ts @@ -82,37 +82,37 @@ export interface MarketplaceMetering { /** * @public * AWS Marketplace Metering Service - *

                                                                                                                                                                                                                              This reference provides descriptions of the low-level AWS Marketplace Metering Service + *

                                                                                                                                                                                                                              This reference provides descriptions of the low-level AWS Marketplace Metering Service * API.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              AWS Marketplace sellers can use this API to submit usage data for custom usage + *

                                                                                                                                                                                                                              AWS Marketplace sellers can use this API to submit usage data for custom usage * dimensions.

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              For information on the permissions you need to use this API, see AWS Marketplace metering and entitlement API permissions in the + *

                                                                                                                                                                                                                              For information on the permissions you need to use this API, see AWS Marketplace metering and entitlement API permissions in the * AWS Marketplace Seller Guide. - *

                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                              * Submitting Metering Records - *

                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                + *
                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                  - * MeterUsage - Submits the metering record for an AWS + *

                                                                                                                                                                                                                                  + * MeterUsage - Submits the metering record for an AWS * Marketplace product. MeterUsage is called from an EC2 instance or a * container running on EKS or ECS.

                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                  - * BatchMeterUsage - Submits the metering record for a set of + *

                                                                                                                                                                                                                                  + * BatchMeterUsage - Submits the metering record for a set of * customers. BatchMeterUsage is called from a software-as-a-service * (SaaS) application.

                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                * Accepting New Customers - *

                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                  + *
                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                    - * ResolveCustomer - Called by a SaaS application during the + *

                                                                                                                                                                                                                                    + * ResolveCustomer - Called by a SaaS application during the * registration process. When a buyer visits your website during the registration * process, the buyer submits a Registration Token through the browser. The * Registration Token is resolved through this API to obtain a @@ -122,12 +122,12 @@ export interface MarketplaceMetering { * ProductCode.

                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                  * Entitlement and Metering for Paid Container Products - *

                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                    + *
                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                      Paid container software products sold through AWS Marketplace must integrate + *

                                                                                                                                                                                                                                      Paid container software products sold through AWS Marketplace must integrate * with the AWS Marketplace Metering Service and call the * RegisterUsage operation for software entitlement and metering. * Free and BYOL products for Amazon ECS or Amazon EKS aren't required to call @@ -136,7 +136,7 @@ export interface MarketplaceMetering { * RegisterUsage operation, see Container-Based Products.

                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                    * BatchMeterUsage API calls are captured by AWS CloudTrail. You can use * Cloudtrail to verify that the SaaS metering records that you sent are accurate by * searching for records with the eventName of BatchMeterUsage. diff --git a/clients/client-marketplace-metering/src/MarketplaceMeteringClient.ts b/clients/client-marketplace-metering/src/MarketplaceMeteringClient.ts index d9b7739cdea35..91fdfa0970d1e 100644 --- a/clients/client-marketplace-metering/src/MarketplaceMeteringClient.ts +++ b/clients/client-marketplace-metering/src/MarketplaceMeteringClient.ts @@ -254,37 +254,37 @@ export interface MarketplaceMeteringClientResolvedConfig extends MarketplaceMete /** * @public * AWS Marketplace Metering Service - *

                                                                                                                                                                                                                                    This reference provides descriptions of the low-level AWS Marketplace Metering Service + *

                                                                                                                                                                                                                                    This reference provides descriptions of the low-level AWS Marketplace Metering Service * API.

                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                    AWS Marketplace sellers can use this API to submit usage data for custom usage + *

                                                                                                                                                                                                                                    AWS Marketplace sellers can use this API to submit usage data for custom usage * dimensions.

                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                    For information on the permissions you need to use this API, see AWS Marketplace metering and entitlement API permissions in the + *

                                                                                                                                                                                                                                    For information on the permissions you need to use this API, see AWS Marketplace metering and entitlement API permissions in the * AWS Marketplace Seller Guide. - *

                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                    * Submitting Metering Records - *

                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                        - * MeterUsage - Submits the metering record for an AWS + *

                                                                                                                                                                                                                                        + * MeterUsage - Submits the metering record for an AWS * Marketplace product. MeterUsage is called from an EC2 instance or a * container running on EKS or ECS.

                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                        - * BatchMeterUsage - Submits the metering record for a set of + *

                                                                                                                                                                                                                                        + * BatchMeterUsage - Submits the metering record for a set of * customers. BatchMeterUsage is called from a software-as-a-service * (SaaS) application.

                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                      * Accepting New Customers - *

                                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                        + *
                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                          - * ResolveCustomer - Called by a SaaS application during the + *

                                                                                                                                                                                                                                          + * ResolveCustomer - Called by a SaaS application during the * registration process. When a buyer visits your website during the registration * process, the buyer submits a Registration Token through the browser. The * Registration Token is resolved through this API to obtain a @@ -294,12 +294,12 @@ export interface MarketplaceMeteringClientResolvedConfig extends MarketplaceMete * ProductCode.

                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                        * Entitlement and Metering for Paid Container Products - *

                                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          + *
                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                            Paid container software products sold through AWS Marketplace must integrate + *

                                                                                                                                                                                                                                            Paid container software products sold through AWS Marketplace must integrate * with the AWS Marketplace Metering Service and call the * RegisterUsage operation for software entitlement and metering. * Free and BYOL products for Amazon ECS or Amazon EKS aren't required to call @@ -308,7 +308,7 @@ export interface MarketplaceMeteringClientResolvedConfig extends MarketplaceMete * RegisterUsage operation, see Container-Based Products.

                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          * BatchMeterUsage API calls are captured by AWS CloudTrail. You can use * Cloudtrail to verify that the SaaS metering records that you sent are accurate by * searching for records with the eventName of BatchMeterUsage. diff --git a/clients/client-marketplace-metering/src/commands/BatchMeterUsageCommand.ts b/clients/client-marketplace-metering/src/commands/BatchMeterUsageCommand.ts index 74ab6ddf04015..7648916abe5b9 100644 --- a/clients/client-marketplace-metering/src/commands/BatchMeterUsageCommand.ts +++ b/clients/client-marketplace-metering/src/commands/BatchMeterUsageCommand.ts @@ -43,30 +43,30 @@ export interface BatchMeterUsageCommandOutput extends BatchMeterUsageResult, __M *

                                                                                                                                                                                                                                          * BatchMeterUsage is called from a SaaS application listed on AWS * Marketplace to post metering records for a set of customers.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          For identical requests, the API is idempotent; requests can be retried with the same + *

                                                                                                                                                                                                                                          For identical requests, the API is idempotent; requests can be retried with the same * records or a subset of the input records.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          Every request to BatchMeterUsage is for one product. If you need to meter + *

                                                                                                                                                                                                                                          Every request to BatchMeterUsage is for one product. If you need to meter * usage for multiple products, you must make multiple calls to * BatchMeterUsage.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          Usage records are expected to be submitted as quickly as possible after the event that + *

                                                                                                                                                                                                                                          Usage records are expected to be submitted as quickly as possible after the event that * is being recorded, and are not accepted more than 6 hours after the event.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          * BatchMeterUsage can process up to 25 UsageRecords at a * time.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          A UsageRecord can optionally include multiple usage allocations, to + *

                                                                                                                                                                                                                                          A UsageRecord can optionally include multiple usage allocations, to * provide customers with usage data split into buckets by tags that you define (or allow * the customer to define).

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          * BatchMeterUsage returns a list of UsageRecordResult objects, * showing the result for each UsageRecord, as well as a list of * UnprocessedRecords, indicating errors in the service side that you * should retry.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          * BatchMeterUsage requests must be less than 1MB in size.

                                                                                                                                                                                                                                          - * + * *

                                                                                                                                                                                                                                          For an example of using BatchMeterUsage, see BatchMeterUsage code example in the AWS Marketplace Seller * Guide.

                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                          + *
                                                                                                                                                                                                                                          * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -118,7 +118,7 @@ export interface BatchMeterUsageCommandOutput extends BatchMeterUsageResult, __M * // ], * // }, * // MeteringRecordId: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "Success" || "CustomerNotSubscribed" || "DuplicateRecord", * // }, * // ], * // UnprocessedRecords: [ // UsageRecordList @@ -182,7 +182,7 @@ export interface BatchMeterUsageCommandOutput extends BatchMeterUsageResult, __M * @throws {@link TimestampOutOfBoundsException} (client fault) *

                                                                                                                                                                                                                                          The timestamp value passed in the UsageRecord is out of * allowed range.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          For BatchMeterUsage, if any of the records are outside of the allowed + *

                                                                                                                                                                                                                                          For BatchMeterUsage, if any of the records are outside of the allowed * range, the entire batch is not processed. You must remove invalid records and try * again.

                                                                                                                                                                                                                                          * diff --git a/clients/client-marketplace-metering/src/commands/MeterUsageCommand.ts b/clients/client-marketplace-metering/src/commands/MeterUsageCommand.ts index f46155649ccc8..e484422a825cd 100644 --- a/clients/client-marketplace-metering/src/commands/MeterUsageCommand.ts +++ b/clients/client-marketplace-metering/src/commands/MeterUsageCommand.ts @@ -42,14 +42,14 @@ export interface MeterUsageCommandOutput extends MeterUsageResult, __MetadataBea * @public *

                                                                                                                                                                                                                                          API to emit metering records. For identical requests, the API is idempotent. It simply * returns the metering record ID.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          * MeterUsage is authenticated on the buyer's AWS account using credentials * from the EC2 instance, ECS task, or EKS pod.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          * MeterUsage can optionally include multiple usage allocations, to provide * customers with usage data split into buckets by tags that you define (or allow the * customer to define).

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          Usage records are expected to be submitted as quickly as possible after the event that + *

                                                                                                                                                                                                                                          Usage records are expected to be submitted as quickly as possible after the event that * is being recorded, and are not accepted more than 6 hours after the event.

                                                                                                                                                                                                                                          * @example * Use a bare-bones client and the command you need to make an API call. @@ -128,7 +128,7 @@ export interface MeterUsageCommandOutput extends MeterUsageResult, __MetadataBea * @throws {@link TimestampOutOfBoundsException} (client fault) *

                                                                                                                                                                                                                                          The timestamp value passed in the UsageRecord is out of * allowed range.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          For BatchMeterUsage, if any of the records are outside of the allowed + *

                                                                                                                                                                                                                                          For BatchMeterUsage, if any of the records are outside of the allowed * range, the entire batch is not processed. You must remove invalid records and try * again.

                                                                                                                                                                                                                                          * diff --git a/clients/client-marketplace-metering/src/commands/RegisterUsageCommand.ts b/clients/client-marketplace-metering/src/commands/RegisterUsageCommand.ts index 177acfd825e27..21a518ba37201 100644 --- a/clients/client-marketplace-metering/src/commands/RegisterUsageCommand.ts +++ b/clients/client-marketplace-metering/src/commands/RegisterUsageCommand.ts @@ -47,10 +47,10 @@ export interface RegisterUsageCommandOutput extends RegisterUsageResult, __Metad * would like to receive usage data in your seller reports. The sections below explain the * behavior of RegisterUsage. RegisterUsage performs two primary * functions: metering and entitlement.

                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                              - * Entitlement: RegisterUsage allows you to + *

                                                                                                                                                                                                                                              + * Entitlement: RegisterUsage allows you to * verify that the customer running your paid software is subscribed to your * product on AWS Marketplace, enabling you to guard against unauthorized use. Your * container image that integrates with RegisterUsage is only required @@ -64,8 +64,8 @@ export interface RegisterUsageCommandOutput extends RegisterUsageResult, __Metad * running.

                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                              - * Metering: RegisterUsage meters software use + *

                                                                                                                                                                                                                                              + * Metering: RegisterUsage meters software use * per ECS task, per hour, or per pod for Amazon EKS with usage prorated to the * second. A minimum of 1 minute of usage applies to tasks that are short lived. * For example, if a customer has a 10 node Amazon ECS or Amazon EKS cluster and a diff --git a/clients/client-marketplace-metering/src/commands/ResolveCustomerCommand.ts b/clients/client-marketplace-metering/src/commands/ResolveCustomerCommand.ts index 5e41a3397c706..3f455282745b2 100644 --- a/clients/client-marketplace-metering/src/commands/ResolveCustomerCommand.ts +++ b/clients/client-marketplace-metering/src/commands/ResolveCustomerCommand.ts @@ -48,12 +48,12 @@ export interface ResolveCustomerCommandOutput extends ResolveCustomerResult, __M * along with the * CustomerAWSAccountId and * ProductCode.

                                                                                                                                                                                                                                              - * + * *

                                                                                                                                                                                                                                              The API needs to called from the seller account id used to publish the SaaS * application to successfully resolve the token.

                                                                                                                                                                                                                                              *

                                                                                                                                                                                                                                              For an example of using ResolveCustomer, see ResolveCustomer code example in the AWS Marketplace Seller * Guide.

                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-marketplace-metering/src/endpoint/ruleset.ts b/clients/client-marketplace-metering/src/endpoint/ruleset.ts index aa4e90b96fe29..49a08faa23c01 100644 --- a/clients/client-marketplace-metering/src/endpoint/ruleset.ts +++ b/clients/client-marketplace-metering/src/endpoint/ruleset.ts @@ -6,24 +6,28 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/marketplace-metering.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const t="required", +u="fn", +v="argv", +w="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://metering.marketplace-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://metering.marketplace-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://metering.marketplace.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://metering.marketplace.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f="stringEquals", +g={[t]:false,"type":"String"}, +h={[t]:true,"default":false,"type":"Boolean"}, +i={[w]:"Endpoint"}, +j={[u]:"booleanEquals",[v]:[{[w]:"UseFIPS"},true]}, +k={[u]:"booleanEquals",[v]:[{[w]:"UseDualStack"},true]}, +l={}, +m={[u]:"booleanEquals",[v]:[true,{[u]:"getAttr",[v]:[{[w]:e},"supportsFIPS"]}]}, +n={[u]:"booleanEquals",[v]:[true,{[u]:"getAttr",[v]:[{[w]:e},"supportsDualStack"]}]}, +o={[u]:"getAttr",[v]:[{[w]:e},"name"]}, +p={"url":"https://metering.marketplace.{Region}.amazonaws.com","properties":{},"headers":{}}, +q=[j], +r=[k], +s=[{[w]:"Region"}]; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[u]:a,[v]:[i]}],type:b,rules:[{conditions:q,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:r,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[u]:a,[v]:s}],type:b,rules:[{conditions:[{[u]:"aws.partition",[v]:s,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,n],type:b,rules:[{endpoint:{url:"https://metering.marketplace-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:q,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://metering.marketplace-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:r,type:b,rules:[{conditions:[n],type:b,rules:[{endpoint:{url:"https://metering.marketplace.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{conditions:[{[u]:f,[v]:["aws",o]}],endpoint:p,type:d},{conditions:[{[u]:f,[v]:["aws-us-gov",o]}],endpoint:p,type:d},{endpoint:{url:"https://metering.marketplace.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-marketplace-metering/src/index.ts b/clients/client-marketplace-metering/src/index.ts index 202df0530b2f0..46ed686837724 100644 --- a/clients/client-marketplace-metering/src/index.ts +++ b/clients/client-marketplace-metering/src/index.ts @@ -2,37 +2,37 @@ /* eslint-disable */ /** * AWS Marketplace Metering Service - *

                                                                                                                                                                                                                                              This reference provides descriptions of the low-level AWS Marketplace Metering Service + *

                                                                                                                                                                                                                                              This reference provides descriptions of the low-level AWS Marketplace Metering Service * API.

                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                              AWS Marketplace sellers can use this API to submit usage data for custom usage + *

                                                                                                                                                                                                                                              AWS Marketplace sellers can use this API to submit usage data for custom usage * dimensions.

                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                              For information on the permissions you need to use this API, see AWS Marketplace metering and entitlement API permissions in the + *

                                                                                                                                                                                                                                              For information on the permissions you need to use this API, see AWS Marketplace metering and entitlement API permissions in the * AWS Marketplace Seller Guide. - *

                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              * Submitting Metering Records - *

                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                + *
                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                  - * MeterUsage - Submits the metering record for an AWS + *

                                                                                                                                                                                                                                                  + * MeterUsage - Submits the metering record for an AWS * Marketplace product. MeterUsage is called from an EC2 instance or a * container running on EKS or ECS.

                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                  - * BatchMeterUsage - Submits the metering record for a set of + *

                                                                                                                                                                                                                                                  + * BatchMeterUsage - Submits the metering record for a set of * customers. BatchMeterUsage is called from a software-as-a-service * (SaaS) application.

                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                * Accepting New Customers - *

                                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                  + *
                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                    - * ResolveCustomer - Called by a SaaS application during the + *

                                                                                                                                                                                                                                                    + * ResolveCustomer - Called by a SaaS application during the * registration process. When a buyer visits your website during the registration * process, the buyer submits a Registration Token through the browser. The * Registration Token is resolved through this API to obtain a @@ -42,12 +42,12 @@ * ProductCode.

                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                  * Entitlement and Metering for Paid Container Products - *

                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                    + *
                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                      Paid container software products sold through AWS Marketplace must integrate + *

                                                                                                                                                                                                                                                      Paid container software products sold through AWS Marketplace must integrate * with the AWS Marketplace Metering Service and call the * RegisterUsage operation for software entitlement and metering. * Free and BYOL products for Amazon ECS or Amazon EKS aren't required to call @@ -56,7 +56,7 @@ * RegisterUsage operation, see Container-Based Products.

                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                    * BatchMeterUsage API calls are captured by AWS CloudTrail. You can use * Cloudtrail to verify that the SaaS metering records that you sent are accurate by * searching for records with the eventName of BatchMeterUsage. diff --git a/clients/client-marketplace-metering/src/models/models_0.ts b/clients/client-marketplace-metering/src/models/models_0.ts index 031130400140c..2dc94e3858358 100644 --- a/clients/client-marketplace-metering/src/models/models_0.ts +++ b/clients/client-marketplace-metering/src/models/models_0.ts @@ -27,7 +27,7 @@ export interface Tag { /** * @public *

                                                                                                                                                                                                                                                    Usage allocations allow you to split usage into buckets by tags.

                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                    Each UsageAllocation indicates the usage quantity for a specific set of + *

                                                                                                                                                                                                                                                    Each UsageAllocation indicates the usage quantity for a specific set of * tags.

                                                                                                                                                                                                                                                    */ export interface UsageAllocation { @@ -49,14 +49,14 @@ export interface UsageAllocation { * @public *

                                                                                                                                                                                                                                                    A UsageRecord indicates a quantity of usage for a given product, * customer, dimension and time.

                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                    Multiple requests with the same UsageRecords as input will be + *

                                                                                                                                                                                                                                                    Multiple requests with the same UsageRecords as input will be * de-duplicated to prevent double charges.

                                                                                                                                                                                                                                                    */ export interface UsageRecord { /** * @public *

                                                                                                                                                                                                                                                    Timestamp, in UTC, for which the usage is being reported.

                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                    Your application can meter usage for up to one hour in the past. Make sure the + *

                                                                                                                                                                                                                                                    Your application can meter usage for up to one hour in the past. Make sure the * timestamp value is not before the start of the software usage.

                                                                                                                                                                                                                                                    */ Timestamp: Date | undefined; @@ -153,35 +153,35 @@ export interface UsageRecordResult { *

                                                                                                                                                                                                                                                    The UsageRecordResult * Status indicates the status of an individual UsageRecord * processed by BatchMeterUsage.

                                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                        - * Success- The UsageRecord was accepted and + *

                                                                                                                                                                                                                                                        + * Success- The UsageRecord was accepted and * honored by BatchMeterUsage.

                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                        - * CustomerNotSubscribed- The CustomerIdentifier + *

                                                                                                                                                                                                                                                        + * CustomerNotSubscribed- The CustomerIdentifier * specified is not able to use your product. The UsageRecord was not * honored. There are three causes for this result:

                                                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                                                          + *
                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                            The customer identifier is invalid.

                                                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                                                            The customer identifier is invalid.

                                                                                                                                                                                                                                                            + * *
                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                            The customer identifier provided in the metering record does not have + *

                                                                                                                                                                                                                                                            The customer identifier provided in the metering record does not have * an active agreement or subscription with this product. Future * UsageRecords for this customer will fail until the * customer subscribes to your product.

                                                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                                                          • + * *
                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                            The customer's AWS account was suspended.

                                                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                                                            The customer's AWS account was suspended.

                                                                                                                                                                                                                                                            + * *
                                                                                                                                                                                                                                                          * *
                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                          - * DuplicateRecord- Indicates that the + *

                                                                                                                                                                                                                                                          + * DuplicateRecord- Indicates that the * UsageRecord was invalid and not honored. A previously metered * UsageRecord had the same customer, dimension, and time, but a * different quantity.

                                                                                                                                                                                                                                                          @@ -384,7 +384,7 @@ export class ThrottlingException extends __BaseException { * @public *

                                                                                                                                                                                                                                                          The timestamp value passed in the UsageRecord is out of * allowed range.

                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                          For BatchMeterUsage, if any of the records are outside of the allowed + *

                                                                                                                                                                                                                                                          For BatchMeterUsage, if any of the records are outside of the allowed * range, the entire batch is not processed. You must remove invalid records and try * again.

                                                                                                                                                                                                                                                          */ @@ -513,7 +513,7 @@ export interface MeterUsageRequest { /** * @public *

                                                                                                                                                                                                                                                          The set of UsageAllocations to submit.

                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                          The sum of all UsageAllocation quantities must equal the + *

                                                                                                                                                                                                                                                          The sum of all UsageAllocation quantities must equal the * UsageQuantity of the MeterUsage request, and each * UsageAllocation must have a unique set of tags (include no * tags).

                                                                                                                                                                                                                                                          diff --git a/clients/client-mediaconnect/src/endpoint/ruleset.ts b/clients/client-mediaconnect/src/endpoint/ruleset.ts index d573a69fb53f0..b7082d4cb7127 100644 --- a/clients/client-mediaconnect/src/endpoint/ruleset.ts +++ b/clients/client-mediaconnect/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://mediaconnect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://mediaconnect-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://mediaconnect.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://mediaconnect.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://mediaconnect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://mediaconnect-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://mediaconnect.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://mediaconnect.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-mediapackage-vod/src/endpoint/ruleset.ts b/clients/client-mediapackage-vod/src/endpoint/ruleset.ts index 25f9a33568b5b..51dcaafd3658d 100644 --- a/clients/client-mediapackage-vod/src/endpoint/ruleset.ts +++ b/clients/client-mediapackage-vod/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://mediapackage-vod-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://mediapackage-vod-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://mediapackage-vod.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://mediapackage-vod.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://mediapackage-vod-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://mediapackage-vod-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://mediapackage-vod.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://mediapackage-vod.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-mediastore-data/src/commands/ListItemsCommand.ts b/clients/client-mediastore-data/src/commands/ListItemsCommand.ts index 18fb0699834cc..6d448a5bfcf9f 100644 --- a/clients/client-mediastore-data/src/commands/ListItemsCommand.ts +++ b/clients/client-mediastore-data/src/commands/ListItemsCommand.ts @@ -55,7 +55,7 @@ export interface ListItemsCommandOutput extends ListItemsResponse, __MetadataBea * // Items: [ // ItemList * // { // Item * // Name: "STRING_VALUE", - * // Type: "STRING_VALUE", + * // Type: "OBJECT" || "FOLDER", * // ETag: "STRING_VALUE", * // LastModified: new Date("TIMESTAMP"), * // ContentType: "STRING_VALUE", diff --git a/clients/client-mediastore-data/src/commands/PutObjectCommand.ts b/clients/client-mediastore-data/src/commands/PutObjectCommand.ts index 1cb97235d0d23..56ffe07e9ab79 100644 --- a/clients/client-mediastore-data/src/commands/PutObjectCommand.ts +++ b/clients/client-mediastore-data/src/commands/PutObjectCommand.ts @@ -52,15 +52,15 @@ export interface PutObjectCommandOutput extends PutObjectResponse, __MetadataBea * Path: "STRING_VALUE", // required * ContentType: "STRING_VALUE", * CacheControl: "STRING_VALUE", - * StorageClass: "STRING_VALUE", - * UploadAvailability: "STRING_VALUE", + * StorageClass: "TEMPORAL", + * UploadAvailability: "STANDARD" || "STREAMING", * }; * const command = new PutObjectCommand(input); * const response = await client.send(command); * // { // PutObjectResponse * // ContentSHA256: "STRING_VALUE", * // ETag: "STRING_VALUE", - * // StorageClass: "STRING_VALUE", + * // StorageClass: "TEMPORAL", * // }; * * ``` diff --git a/clients/client-mediastore-data/src/endpoint/ruleset.ts b/clients/client-mediastore-data/src/endpoint/ruleset.ts index 19f8acb3bf71e..ff394d15348d7 100644 --- a/clients/client-mediastore-data/src/endpoint/ruleset.ts +++ b/clients/client-mediastore-data/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/mediastore-data.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://data.mediastore-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://data.mediastore-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://data.mediastore.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://data.mediastore.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://data.mediastore-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://data.mediastore-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://data.mediastore.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://data.mediastore.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-mediastore/src/commands/CreateContainerCommand.ts b/clients/client-mediastore/src/commands/CreateContainerCommand.ts index 657d4cc1a6d24..3ac202bc48a17 100644 --- a/clients/client-mediastore/src/commands/CreateContainerCommand.ts +++ b/clients/client-mediastore/src/commands/CreateContainerCommand.ts @@ -61,7 +61,7 @@ export interface CreateContainerCommandOutput extends CreateContainerOutput, __M * // CreationTime: new Date("TIMESTAMP"), * // ARN: "STRING_VALUE", * // Name: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "ACTIVE" || "CREATING" || "DELETING", * // AccessLoggingEnabled: true || false, * // }, * // }; diff --git a/clients/client-mediastore/src/commands/DescribeContainerCommand.ts b/clients/client-mediastore/src/commands/DescribeContainerCommand.ts index f22e83a3bf99f..9cd363e7246e6 100644 --- a/clients/client-mediastore/src/commands/DescribeContainerCommand.ts +++ b/clients/client-mediastore/src/commands/DescribeContainerCommand.ts @@ -60,7 +60,7 @@ export interface DescribeContainerCommandOutput extends DescribeContainerOutput, * // CreationTime: new Date("TIMESTAMP"), * // ARN: "STRING_VALUE", * // Name: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "ACTIVE" || "CREATING" || "DELETING", * // AccessLoggingEnabled: true || false, * // }, * // }; diff --git a/clients/client-mediastore/src/commands/GetCorsPolicyCommand.ts b/clients/client-mediastore/src/commands/GetCorsPolicyCommand.ts index cea6ce7f1185b..a1763b51e9485 100644 --- a/clients/client-mediastore/src/commands/GetCorsPolicyCommand.ts +++ b/clients/client-mediastore/src/commands/GetCorsPolicyCommand.ts @@ -59,7 +59,7 @@ export interface GetCorsPolicyCommandOutput extends GetCorsPolicyOutput, __Metad * // "STRING_VALUE", * // ], * // AllowedMethods: [ // AllowedMethods - * // "STRING_VALUE", + * // "PUT" || "GET" || "DELETE" || "HEAD", * // ], * // AllowedHeaders: [ // AllowedHeaders // required * // "STRING_VALUE", diff --git a/clients/client-mediastore/src/commands/GetMetricPolicyCommand.ts b/clients/client-mediastore/src/commands/GetMetricPolicyCommand.ts index 8c4c64bbcc3c5..37f52f354318f 100644 --- a/clients/client-mediastore/src/commands/GetMetricPolicyCommand.ts +++ b/clients/client-mediastore/src/commands/GetMetricPolicyCommand.ts @@ -50,7 +50,7 @@ export interface GetMetricPolicyCommandOutput extends GetMetricPolicyOutput, __M * const response = await client.send(command); * // { // GetMetricPolicyOutput * // MetricPolicy: { // MetricPolicy - * // ContainerLevelMetrics: "STRING_VALUE", // required + * // ContainerLevelMetrics: "ENABLED" || "DISABLED", // required * // MetricPolicyRules: [ // MetricPolicyRules * // { // MetricPolicyRule * // ObjectGroup: "STRING_VALUE", // required diff --git a/clients/client-mediastore/src/commands/ListContainersCommand.ts b/clients/client-mediastore/src/commands/ListContainersCommand.ts index d48c6b5d70ba4..09fa6114ebcd9 100644 --- a/clients/client-mediastore/src/commands/ListContainersCommand.ts +++ b/clients/client-mediastore/src/commands/ListContainersCommand.ts @@ -64,7 +64,7 @@ export interface ListContainersCommandOutput extends ListContainersOutput, __Met * // CreationTime: new Date("TIMESTAMP"), * // ARN: "STRING_VALUE", * // Name: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "ACTIVE" || "CREATING" || "DELETING", * // AccessLoggingEnabled: true || false, * // }, * // ], diff --git a/clients/client-mediastore/src/commands/PutCorsPolicyCommand.ts b/clients/client-mediastore/src/commands/PutCorsPolicyCommand.ts index 12b6fce56de90..c8af1fe3f5961 100644 --- a/clients/client-mediastore/src/commands/PutCorsPolicyCommand.ts +++ b/clients/client-mediastore/src/commands/PutCorsPolicyCommand.ts @@ -61,7 +61,7 @@ export interface PutCorsPolicyCommandOutput extends PutCorsPolicyOutput, __Metad * "STRING_VALUE", * ], * AllowedMethods: [ // AllowedMethods - * "STRING_VALUE", + * "PUT" || "GET" || "DELETE" || "HEAD", * ], * AllowedHeaders: [ // AllowedHeaders // required * "STRING_VALUE", diff --git a/clients/client-mediastore/src/commands/PutMetricPolicyCommand.ts b/clients/client-mediastore/src/commands/PutMetricPolicyCommand.ts index 57f1a82c05ded..3dc95d03068f4 100644 --- a/clients/client-mediastore/src/commands/PutMetricPolicyCommand.ts +++ b/clients/client-mediastore/src/commands/PutMetricPolicyCommand.ts @@ -46,7 +46,7 @@ export interface PutMetricPolicyCommandOutput extends PutMetricPolicyOutput, __M * const input = { // PutMetricPolicyInput * ContainerName: "STRING_VALUE", // required * MetricPolicy: { // MetricPolicy - * ContainerLevelMetrics: "STRING_VALUE", // required + * ContainerLevelMetrics: "ENABLED" || "DISABLED", // required * MetricPolicyRules: [ // MetricPolicyRules * { // MetricPolicyRule * ObjectGroup: "STRING_VALUE", // required diff --git a/clients/client-mediastore/src/endpoint/ruleset.ts b/clients/client-mediastore/src/endpoint/ruleset.ts index 3951239e97912..d713e7bca4a6c 100644 --- a/clients/client-mediastore/src/endpoint/ruleset.ts +++ b/clients/client-mediastore/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/mediastore.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://mediastore-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://mediastore-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://mediastore.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://mediastore.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://mediastore-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://mediastore-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://mediastore.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://mediastore.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-memorydb/src/endpoint/ruleset.ts b/clients/client-memorydb/src/endpoint/ruleset.ts index db1dfd7cbc3a3..e0229e67d198d 100644 --- a/clients/client-memorydb/src/endpoint/ruleset.ts +++ b/clients/client-memorydb/src/endpoint/ruleset.ts @@ -27,5 +27,5 @@ n={[s]:"booleanEquals",[t]:[true,{[s]:"getAttr",[t]:[{[u]:e},"supportsDualStack" o=[i], p=[j], q=[l]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[s]:a,[t]:[h]}],type:b,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[s]:a,[t]:q}],type:b,rules:[{conditions:[{[s]:"aws.partition",[t]:q,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[m,n],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://memory-db-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://memory-db-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:p,type:b,rules:[{conditions:[n],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://memory-db.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{conditions:[{[s]:"stringEquals",[t]:[l,"fips"]}],endpoint:{url:"https://memory-db-fips.us-west-1.amazonaws.com",properties:{authSchemes:[{name:"sigv4",signingName:"memorydb",signingRegion:"us-west-1"}]},headers:k},type:d},{endpoint:{url:"https://memory-db.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[s]:a,[t]:[h]}],type:b,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[s]:a,[t]:q}],type:b,rules:[{conditions:[{[s]:"aws.partition",[t]:q,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[m,n],type:b,rules:[{endpoint:{url:"https://memory-db-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://memory-db-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:p,type:b,rules:[{conditions:[n],type:b,rules:[{endpoint:{url:"https://memory-db.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{conditions:[{[s]:"stringEquals",[t]:[l,"fips"]}],endpoint:{url:"https://memory-db-fips.us-west-1.amazonaws.com",properties:{authSchemes:[{name:"sigv4",signingName:"memorydb",signingRegion:"us-west-1"}]},headers:k},type:d},{endpoint:{url:"https://memory-db.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-mgn/src/endpoint/ruleset.ts b/clients/client-mgn/src/endpoint/ruleset.ts index 219f33fdb853b..f935ee942863d 100644 --- a/clients/client-mgn/src/endpoint/ruleset.ts +++ b/clients/client-mgn/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://mgn-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://mgn-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://mgn.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://mgn.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://mgn-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://mgn-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://mgn.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://mgn.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-migration-hub-refactor-spaces/src/endpoint/ruleset.ts b/clients/client-migration-hub-refactor-spaces/src/endpoint/ruleset.ts index 2f122c3d2e2d9..9d14e9c6f0826 100644 --- a/clients/client-migration-hub-refactor-spaces/src/endpoint/ruleset.ts +++ b/clients/client-migration-hub-refactor-spaces/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://refactor-spaces-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://refactor-spaces-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://refactor-spaces.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://refactor-spaces.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://refactor-spaces-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://refactor-spaces-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://refactor-spaces.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://refactor-spaces.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-migration-hub/src/commands/DescribeApplicationStateCommand.ts b/clients/client-migration-hub/src/commands/DescribeApplicationStateCommand.ts index b8ad2672cffeb..48e770d0f48b4 100644 --- a/clients/client-migration-hub/src/commands/DescribeApplicationStateCommand.ts +++ b/clients/client-migration-hub/src/commands/DescribeApplicationStateCommand.ts @@ -49,7 +49,7 @@ export interface DescribeApplicationStateCommandOutput extends DescribeApplicati * const command = new DescribeApplicationStateCommand(input); * const response = await client.send(command); * // { // DescribeApplicationStateResult - * // ApplicationStatus: "STRING_VALUE", + * // ApplicationStatus: "NOT_STARTED" || "IN_PROGRESS" || "COMPLETED", * // LastUpdatedTime: new Date("TIMESTAMP"), * // }; * diff --git a/clients/client-migration-hub/src/commands/DescribeMigrationTaskCommand.ts b/clients/client-migration-hub/src/commands/DescribeMigrationTaskCommand.ts index 06a80f1565854..a835fc75200a2 100644 --- a/clients/client-migration-hub/src/commands/DescribeMigrationTaskCommand.ts +++ b/clients/client-migration-hub/src/commands/DescribeMigrationTaskCommand.ts @@ -54,14 +54,14 @@ export interface DescribeMigrationTaskCommandOutput extends DescribeMigrationTas * // ProgressUpdateStream: "STRING_VALUE", * // MigrationTaskName: "STRING_VALUE", * // Task: { // Task - * // Status: "STRING_VALUE", // required + * // Status: "NOT_STARTED" || "IN_PROGRESS" || "FAILED" || "COMPLETED", // required * // StatusDetail: "STRING_VALUE", * // ProgressPercent: Number("int"), * // }, * // UpdateDateTime: new Date("TIMESTAMP"), * // ResourceAttributeList: [ // LatestResourceAttributeList * // { // ResourceAttribute - * // Type: "STRING_VALUE", // required + * // Type: "IPV4_ADDRESS" || "IPV6_ADDRESS" || "MAC_ADDRESS" || "FQDN" || "VM_MANAGER_ID" || "VM_MANAGED_OBJECT_REFERENCE" || "VM_NAME" || "VM_PATH" || "BIOS_ID" || "MOTHERBOARD_SERIAL_NUMBER", // required * // Value: "STRING_VALUE", // required * // }, * // ], diff --git a/clients/client-migration-hub/src/commands/ListApplicationStatesCommand.ts b/clients/client-migration-hub/src/commands/ListApplicationStatesCommand.ts index 83552a64a67bd..3b82512ea4274 100644 --- a/clients/client-migration-hub/src/commands/ListApplicationStatesCommand.ts +++ b/clients/client-migration-hub/src/commands/ListApplicationStatesCommand.ts @@ -58,7 +58,7 @@ export interface ListApplicationStatesCommandOutput extends ListApplicationState * // ApplicationStateList: [ // ApplicationStateList * // { // ApplicationState * // ApplicationId: "STRING_VALUE", - * // ApplicationStatus: "STRING_VALUE", + * // ApplicationStatus: "NOT_STARTED" || "IN_PROGRESS" || "COMPLETED", * // LastUpdatedTime: new Date("TIMESTAMP"), * // }, * // ], diff --git a/clients/client-migration-hub/src/commands/ListMigrationTasksCommand.ts b/clients/client-migration-hub/src/commands/ListMigrationTasksCommand.ts index 152896208eeba..0f6d2f354a755 100644 --- a/clients/client-migration-hub/src/commands/ListMigrationTasksCommand.ts +++ b/clients/client-migration-hub/src/commands/ListMigrationTasksCommand.ts @@ -69,7 +69,7 @@ export interface ListMigrationTasksCommandOutput extends ListMigrationTasksResul * // { // MigrationTaskSummary * // ProgressUpdateStream: "STRING_VALUE", * // MigrationTaskName: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "NOT_STARTED" || "IN_PROGRESS" || "FAILED" || "COMPLETED", * // ProgressPercent: Number("int"), * // StatusDetail: "STRING_VALUE", * // UpdateDateTime: new Date("TIMESTAMP"), diff --git a/clients/client-migration-hub/src/commands/NotifyApplicationStateCommand.ts b/clients/client-migration-hub/src/commands/NotifyApplicationStateCommand.ts index 8118b94d8e4e4..4aab5112e3857 100644 --- a/clients/client-migration-hub/src/commands/NotifyApplicationStateCommand.ts +++ b/clients/client-migration-hub/src/commands/NotifyApplicationStateCommand.ts @@ -48,7 +48,7 @@ export interface NotifyApplicationStateCommandOutput extends NotifyApplicationSt * const client = new MigrationHubClient(config); * const input = { // NotifyApplicationStateRequest * ApplicationId: "STRING_VALUE", // required - * Status: "STRING_VALUE", // required + * Status: "NOT_STARTED" || "IN_PROGRESS" || "COMPLETED", // required * UpdateDateTime: new Date("TIMESTAMP"), * DryRun: true || false, * }; diff --git a/clients/client-migration-hub/src/commands/NotifyMigrationTaskStateCommand.ts b/clients/client-migration-hub/src/commands/NotifyMigrationTaskStateCommand.ts index d20826b78d5eb..82e51f01e3984 100644 --- a/clients/client-migration-hub/src/commands/NotifyMigrationTaskStateCommand.ts +++ b/clients/client-migration-hub/src/commands/NotifyMigrationTaskStateCommand.ts @@ -64,7 +64,7 @@ export interface NotifyMigrationTaskStateCommandOutput extends NotifyMigrationTa * ProgressUpdateStream: "STRING_VALUE", // required * MigrationTaskName: "STRING_VALUE", // required * Task: { // Task - * Status: "STRING_VALUE", // required + * Status: "NOT_STARTED" || "IN_PROGRESS" || "FAILED" || "COMPLETED", // required * StatusDetail: "STRING_VALUE", * ProgressPercent: Number("int"), * }, diff --git a/clients/client-migration-hub/src/commands/PutResourceAttributesCommand.ts b/clients/client-migration-hub/src/commands/PutResourceAttributesCommand.ts index cb755af17e64a..45f23d72a9e88 100644 --- a/clients/client-migration-hub/src/commands/PutResourceAttributesCommand.ts +++ b/clients/client-migration-hub/src/commands/PutResourceAttributesCommand.ts @@ -73,7 +73,7 @@ export interface PutResourceAttributesCommandOutput extends PutResourceAttribute * MigrationTaskName: "STRING_VALUE", // required * ResourceAttributeList: [ // ResourceAttributeList // required * { // ResourceAttribute - * Type: "STRING_VALUE", // required + * Type: "IPV4_ADDRESS" || "IPV6_ADDRESS" || "MAC_ADDRESS" || "FQDN" || "VM_MANAGER_ID" || "VM_MANAGED_OBJECT_REFERENCE" || "VM_NAME" || "VM_PATH" || "BIOS_ID" || "MOTHERBOARD_SERIAL_NUMBER", // required * Value: "STRING_VALUE", // required * }, * ], diff --git a/clients/client-migration-hub/src/endpoint/ruleset.ts b/clients/client-migration-hub/src/endpoint/ruleset.ts index 5930b32ac754d..aaec426960ba8 100644 --- a/clients/client-migration-hub/src/endpoint/ruleset.ts +++ b/clients/client-migration-hub/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/migration-hub.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://mgh-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://mgh-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://mgh.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://mgh.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://mgh-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://mgh-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://mgh.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://mgh.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-migrationhub-config/src/commands/CreateHomeRegionControlCommand.ts b/clients/client-migrationhub-config/src/commands/CreateHomeRegionControlCommand.ts index 7f212c0ae8b23..449504422f31c 100644 --- a/clients/client-migrationhub-config/src/commands/CreateHomeRegionControlCommand.ts +++ b/clients/client-migrationhub-config/src/commands/CreateHomeRegionControlCommand.ts @@ -50,7 +50,7 @@ export interface CreateHomeRegionControlCommandOutput extends CreateHomeRegionCo * const input = { // CreateHomeRegionControlRequest * HomeRegion: "STRING_VALUE", // required * Target: { // Target - * Type: "STRING_VALUE", // required + * Type: "ACCOUNT", // required * Id: "STRING_VALUE", * }, * DryRun: true || false, @@ -62,7 +62,7 @@ export interface CreateHomeRegionControlCommandOutput extends CreateHomeRegionCo * // ControlId: "STRING_VALUE", * // HomeRegion: "STRING_VALUE", * // Target: { // Target - * // Type: "STRING_VALUE", // required + * // Type: "ACCOUNT", // required * // Id: "STRING_VALUE", * // }, * // RequestedTime: new Date("TIMESTAMP"), diff --git a/clients/client-migrationhub-config/src/commands/DescribeHomeRegionControlsCommand.ts b/clients/client-migrationhub-config/src/commands/DescribeHomeRegionControlsCommand.ts index 46aaee893eb62..cf94528e51156 100644 --- a/clients/client-migrationhub-config/src/commands/DescribeHomeRegionControlsCommand.ts +++ b/clients/client-migrationhub-config/src/commands/DescribeHomeRegionControlsCommand.ts @@ -52,7 +52,7 @@ export interface DescribeHomeRegionControlsCommandOutput extends DescribeHomeReg * ControlId: "STRING_VALUE", * HomeRegion: "STRING_VALUE", * Target: { // Target - * Type: "STRING_VALUE", // required + * Type: "ACCOUNT", // required * Id: "STRING_VALUE", * }, * MaxResults: Number("int"), @@ -66,7 +66,7 @@ export interface DescribeHomeRegionControlsCommandOutput extends DescribeHomeReg * // ControlId: "STRING_VALUE", * // HomeRegion: "STRING_VALUE", * // Target: { // Target - * // Type: "STRING_VALUE", // required + * // Type: "ACCOUNT", // required * // Id: "STRING_VALUE", * // }, * // RequestedTime: new Date("TIMESTAMP"), diff --git a/clients/client-migrationhub-config/src/endpoint/ruleset.ts b/clients/client-migrationhub-config/src/endpoint/ruleset.ts index 33b82445831e5..5a962d05c6cda 100644 --- a/clients/client-migrationhub-config/src/endpoint/ruleset.ts +++ b/clients/client-migrationhub-config/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/migrationhub-config.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://migrationhub-config-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://migrationhub-config-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://migrationhub-config.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://migrationhub-config.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://migrationhub-config-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://migrationhub-config-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://migrationhub-config.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://migrationhub-config.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-migrationhuborchestrator/src/endpoint/ruleset.ts b/clients/client-migrationhuborchestrator/src/endpoint/ruleset.ts index a41437ba2b15b..759543fe7e5b9 100644 --- a/clients/client-migrationhuborchestrator/src/endpoint/ruleset.ts +++ b/clients/client-migrationhuborchestrator/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/migrationhuborchestrator.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://migrationhub-orchestrator-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://migrationhub-orchestrator-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://migrationhub-orchestrator.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://migrationhub-orchestrator.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://migrationhub-orchestrator-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://migrationhub-orchestrator-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://migrationhub-orchestrator.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://migrationhub-orchestrator.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-migrationhubstrategy/src/endpoint/ruleset.ts b/clients/client-migrationhubstrategy/src/endpoint/ruleset.ts index 335022d60e61e..3b7342a4d8825 100644 --- a/clients/client-migrationhubstrategy/src/endpoint/ruleset.ts +++ b/clients/client-migrationhubstrategy/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://migrationhub-strategy-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://migrationhub-strategy-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://migrationhub-strategy.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://migrationhub-strategy.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://migrationhub-strategy-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://migrationhub-strategy-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://migrationhub-strategy.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://migrationhub-strategy.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-mobile/src/commands/CreateProjectCommand.ts b/clients/client-mobile/src/commands/CreateProjectCommand.ts index 57e5400f5f700..86e172987bf1e 100644 --- a/clients/client-mobile/src/commands/CreateProjectCommand.ts +++ b/clients/client-mobile/src/commands/CreateProjectCommand.ts @@ -66,7 +66,7 @@ export interface CreateProjectCommandOutput extends CreateProjectResult, __Metad * // name: "STRING_VALUE", * // projectId: "STRING_VALUE", * // region: "STRING_VALUE", - * // state: "STRING_VALUE", + * // state: "NORMAL" || "SYNCING" || "IMPORTING", * // createdDate: new Date("TIMESTAMP"), * // lastUpdatedDate: new Date("TIMESTAMP"), * // consoleUrl: "STRING_VALUE", diff --git a/clients/client-mobile/src/commands/DescribeBundleCommand.ts b/clients/client-mobile/src/commands/DescribeBundleCommand.ts index af42ffb21e8c2..f4fe7d1551739 100644 --- a/clients/client-mobile/src/commands/DescribeBundleCommand.ts +++ b/clients/client-mobile/src/commands/DescribeBundleCommand.ts @@ -58,7 +58,7 @@ export interface DescribeBundleCommandOutput extends DescribeBundleResult, __Met * // description: "STRING_VALUE", * // iconUrl: "STRING_VALUE", * // availablePlatforms: [ // Platforms - * // "STRING_VALUE", + * // "OSX" || "WINDOWS" || "LINUX" || "OBJC" || "SWIFT" || "ANDROID" || "JAVASCRIPT", * // ], * // }, * // }; diff --git a/clients/client-mobile/src/commands/DescribeProjectCommand.ts b/clients/client-mobile/src/commands/DescribeProjectCommand.ts index c0cb2b4048f80..bb99989544e86 100644 --- a/clients/client-mobile/src/commands/DescribeProjectCommand.ts +++ b/clients/client-mobile/src/commands/DescribeProjectCommand.ts @@ -56,7 +56,7 @@ export interface DescribeProjectCommandOutput extends DescribeProjectResult, __M * // name: "STRING_VALUE", * // projectId: "STRING_VALUE", * // region: "STRING_VALUE", - * // state: "STRING_VALUE", + * // state: "NORMAL" || "SYNCING" || "IMPORTING", * // createdDate: new Date("TIMESTAMP"), * // lastUpdatedDate: new Date("TIMESTAMP"), * // consoleUrl: "STRING_VALUE", diff --git a/clients/client-mobile/src/commands/ExportBundleCommand.ts b/clients/client-mobile/src/commands/ExportBundleCommand.ts index 26fd92020c11a..b64bbf6f7a7fa 100644 --- a/clients/client-mobile/src/commands/ExportBundleCommand.ts +++ b/clients/client-mobile/src/commands/ExportBundleCommand.ts @@ -49,7 +49,7 @@ export interface ExportBundleCommandOutput extends ExportBundleResult, __Metadat * const input = { // ExportBundleRequest * bundleId: "STRING_VALUE", // required * projectId: "STRING_VALUE", - * platform: "STRING_VALUE", + * platform: "OSX" || "WINDOWS" || "LINUX" || "OBJC" || "SWIFT" || "ANDROID" || "JAVASCRIPT", * }; * const command = new ExportBundleCommand(input); * const response = await client.send(command); diff --git a/clients/client-mobile/src/commands/ListBundlesCommand.ts b/clients/client-mobile/src/commands/ListBundlesCommand.ts index 853eb6b160308..e160045429827 100644 --- a/clients/client-mobile/src/commands/ListBundlesCommand.ts +++ b/clients/client-mobile/src/commands/ListBundlesCommand.ts @@ -60,7 +60,7 @@ export interface ListBundlesCommandOutput extends ListBundlesResult, __MetadataB * // description: "STRING_VALUE", * // iconUrl: "STRING_VALUE", * // availablePlatforms: [ // Platforms - * // "STRING_VALUE", + * // "OSX" || "WINDOWS" || "LINUX" || "OBJC" || "SWIFT" || "ANDROID" || "JAVASCRIPT", * // ], * // }, * // ], diff --git a/clients/client-mobile/src/commands/UpdateProjectCommand.ts b/clients/client-mobile/src/commands/UpdateProjectCommand.ts index b65870af7c044..e62044066cf02 100644 --- a/clients/client-mobile/src/commands/UpdateProjectCommand.ts +++ b/clients/client-mobile/src/commands/UpdateProjectCommand.ts @@ -64,7 +64,7 @@ export interface UpdateProjectCommandOutput extends UpdateProjectResult, __Metad * // name: "STRING_VALUE", * // projectId: "STRING_VALUE", * // region: "STRING_VALUE", - * // state: "STRING_VALUE", + * // state: "NORMAL" || "SYNCING" || "IMPORTING", * // createdDate: new Date("TIMESTAMP"), * // lastUpdatedDate: new Date("TIMESTAMP"), * // consoleUrl: "STRING_VALUE", diff --git a/clients/client-mobile/src/endpoint/ruleset.ts b/clients/client-mobile/src/endpoint/ruleset.ts index 14b460c08d82a..25148c0177d5c 100644 --- a/clients/client-mobile/src/endpoint/ruleset.ts +++ b/clients/client-mobile/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/mobile.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://mobile-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://mobile-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://mobile.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://mobile.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://mobile-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://mobile-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://mobile.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://mobile.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-mq/src/endpoint/ruleset.ts b/clients/client-mq/src/endpoint/ruleset.ts index 70987dd90f3b2..d3b3623b95deb 100644 --- a/clients/client-mq/src/endpoint/ruleset.ts +++ b/clients/client-mq/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://mq-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://mq-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://mq.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://mq.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://mq-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://mq-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://mq.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://mq.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-mturk/src/commands/CreateHITCommand.ts b/clients/client-mturk/src/commands/CreateHITCommand.ts index a532821d71bb6..2a8215fe9ded1 100644 --- a/clients/client-mturk/src/commands/CreateHITCommand.ts +++ b/clients/client-mturk/src/commands/CreateHITCommand.ts @@ -73,7 +73,7 @@ export interface CreateHITCommandOutput extends CreateHITResponse, __MetadataBea * QualificationRequirements: [ // QualificationRequirementList * { // QualificationRequirement * QualificationTypeId: "STRING_VALUE", // required - * Comparator: "STRING_VALUE", // required + * Comparator: "LessThan" || "LessThanOrEqualTo" || "GreaterThan" || "GreaterThanOrEqualTo" || "EqualTo" || "NotEqualTo" || "Exists" || "DoesNotExist" || "In" || "NotIn", // required * IntegerValues: [ // IntegerList * Number("int"), * ], @@ -84,7 +84,7 @@ export interface CreateHITCommandOutput extends CreateHITResponse, __MetadataBea * }, * ], * RequiredToPreview: true || false, - * ActionsGuarded: "STRING_VALUE", + * ActionsGuarded: "Accept" || "PreviewAndAccept" || "DiscoverPreviewAndAccept", * }, * ], * UniqueRequestToken: "STRING_VALUE", @@ -147,7 +147,7 @@ export interface CreateHITCommandOutput extends CreateHITResponse, __MetadataBea * // Description: "STRING_VALUE", * // Question: "STRING_VALUE", * // Keywords: "STRING_VALUE", - * // HITStatus: "STRING_VALUE", + * // HITStatus: "Assignable" || "Unassignable" || "Reviewable" || "Reviewing" || "Disposed", * // MaxAssignments: Number("int"), * // Reward: "STRING_VALUE", * // AutoApprovalDelayInSeconds: Number("long"), @@ -157,7 +157,7 @@ export interface CreateHITCommandOutput extends CreateHITResponse, __MetadataBea * // QualificationRequirements: [ // QualificationRequirementList * // { // QualificationRequirement * // QualificationTypeId: "STRING_VALUE", // required - * // Comparator: "STRING_VALUE", // required + * // Comparator: "LessThan" || "LessThanOrEqualTo" || "GreaterThan" || "GreaterThanOrEqualTo" || "EqualTo" || "NotEqualTo" || "Exists" || "DoesNotExist" || "In" || "NotIn", // required * // IntegerValues: [ // IntegerList * // Number("int"), * // ], @@ -168,10 +168,10 @@ export interface CreateHITCommandOutput extends CreateHITResponse, __MetadataBea * // }, * // ], * // RequiredToPreview: true || false, - * // ActionsGuarded: "STRING_VALUE", + * // ActionsGuarded: "Accept" || "PreviewAndAccept" || "DiscoverPreviewAndAccept", * // }, * // ], - * // HITReviewStatus: "STRING_VALUE", + * // HITReviewStatus: "NotReviewed" || "MarkedForReview" || "ReviewedAppropriate" || "ReviewedInappropriate", * // NumberOfAssignmentsPending: Number("int"), * // NumberOfAssignmentsAvailable: Number("int"), * // NumberOfAssignmentsCompleted: Number("int"), diff --git a/clients/client-mturk/src/commands/CreateHITTypeCommand.ts b/clients/client-mturk/src/commands/CreateHITTypeCommand.ts index 4bcbb90b76a1c..2f50572c0ebd3 100644 --- a/clients/client-mturk/src/commands/CreateHITTypeCommand.ts +++ b/clients/client-mturk/src/commands/CreateHITTypeCommand.ts @@ -58,7 +58,7 @@ export interface CreateHITTypeCommandOutput extends CreateHITTypeResponse, __Met * QualificationRequirements: [ // QualificationRequirementList * { // QualificationRequirement * QualificationTypeId: "STRING_VALUE", // required - * Comparator: "STRING_VALUE", // required + * Comparator: "LessThan" || "LessThanOrEqualTo" || "GreaterThan" || "GreaterThanOrEqualTo" || "EqualTo" || "NotEqualTo" || "Exists" || "DoesNotExist" || "In" || "NotIn", // required * IntegerValues: [ // IntegerList * Number("int"), * ], @@ -69,7 +69,7 @@ export interface CreateHITTypeCommandOutput extends CreateHITTypeResponse, __Met * }, * ], * RequiredToPreview: true || false, - * ActionsGuarded: "STRING_VALUE", + * ActionsGuarded: "Accept" || "PreviewAndAccept" || "DiscoverPreviewAndAccept", * }, * ], * }; diff --git a/clients/client-mturk/src/commands/CreateHITWithHITTypeCommand.ts b/clients/client-mturk/src/commands/CreateHITWithHITTypeCommand.ts index 1e3304ac8bf4f..34f41f80f4c5e 100644 --- a/clients/client-mturk/src/commands/CreateHITWithHITTypeCommand.ts +++ b/clients/client-mturk/src/commands/CreateHITWithHITTypeCommand.ts @@ -126,7 +126,7 @@ export interface CreateHITWithHITTypeCommandOutput extends CreateHITWithHITTypeR * // Description: "STRING_VALUE", * // Question: "STRING_VALUE", * // Keywords: "STRING_VALUE", - * // HITStatus: "STRING_VALUE", + * // HITStatus: "Assignable" || "Unassignable" || "Reviewable" || "Reviewing" || "Disposed", * // MaxAssignments: Number("int"), * // Reward: "STRING_VALUE", * // AutoApprovalDelayInSeconds: Number("long"), @@ -136,7 +136,7 @@ export interface CreateHITWithHITTypeCommandOutput extends CreateHITWithHITTypeR * // QualificationRequirements: [ // QualificationRequirementList * // { // QualificationRequirement * // QualificationTypeId: "STRING_VALUE", // required - * // Comparator: "STRING_VALUE", // required + * // Comparator: "LessThan" || "LessThanOrEqualTo" || "GreaterThan" || "GreaterThanOrEqualTo" || "EqualTo" || "NotEqualTo" || "Exists" || "DoesNotExist" || "In" || "NotIn", // required * // IntegerValues: [ // IntegerList * // Number("int"), * // ], @@ -147,10 +147,10 @@ export interface CreateHITWithHITTypeCommandOutput extends CreateHITWithHITTypeR * // }, * // ], * // RequiredToPreview: true || false, - * // ActionsGuarded: "STRING_VALUE", + * // ActionsGuarded: "Accept" || "PreviewAndAccept" || "DiscoverPreviewAndAccept", * // }, * // ], - * // HITReviewStatus: "STRING_VALUE", + * // HITReviewStatus: "NotReviewed" || "MarkedForReview" || "ReviewedAppropriate" || "ReviewedInappropriate", * // NumberOfAssignmentsPending: Number("int"), * // NumberOfAssignmentsAvailable: Number("int"), * // NumberOfAssignmentsCompleted: Number("int"), diff --git a/clients/client-mturk/src/commands/CreateQualificationTypeCommand.ts b/clients/client-mturk/src/commands/CreateQualificationTypeCommand.ts index 40af9bf3f02ea..d4e244511aa9d 100644 --- a/clients/client-mturk/src/commands/CreateQualificationTypeCommand.ts +++ b/clients/client-mturk/src/commands/CreateQualificationTypeCommand.ts @@ -53,7 +53,7 @@ export interface CreateQualificationTypeCommandOutput extends CreateQualificatio * Name: "STRING_VALUE", // required * Keywords: "STRING_VALUE", * Description: "STRING_VALUE", // required - * QualificationTypeStatus: "STRING_VALUE", // required + * QualificationTypeStatus: "Active" || "Inactive", // required * RetryDelayInSeconds: Number("long"), * Test: "STRING_VALUE", * AnswerKey: "STRING_VALUE", @@ -70,7 +70,7 @@ export interface CreateQualificationTypeCommandOutput extends CreateQualificatio * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // Keywords: "STRING_VALUE", - * // QualificationTypeStatus: "STRING_VALUE", + * // QualificationTypeStatus: "Active" || "Inactive", * // Test: "STRING_VALUE", * // TestDurationInSeconds: Number("long"), * // AnswerKey: "STRING_VALUE", diff --git a/clients/client-mturk/src/commands/GetAssignmentCommand.ts b/clients/client-mturk/src/commands/GetAssignmentCommand.ts index 589c27484f267..47916511710a2 100644 --- a/clients/client-mturk/src/commands/GetAssignmentCommand.ts +++ b/clients/client-mturk/src/commands/GetAssignmentCommand.ts @@ -55,7 +55,7 @@ export interface GetAssignmentCommandOutput extends GetAssignmentResponse, __Met * // AssignmentId: "STRING_VALUE", * // WorkerId: "STRING_VALUE", * // HITId: "STRING_VALUE", - * // AssignmentStatus: "STRING_VALUE", + * // AssignmentStatus: "Submitted" || "Approved" || "Rejected", * // AutoApprovalTime: new Date("TIMESTAMP"), * // AcceptTime: new Date("TIMESTAMP"), * // SubmitTime: new Date("TIMESTAMP"), @@ -75,7 +75,7 @@ export interface GetAssignmentCommandOutput extends GetAssignmentResponse, __Met * // Description: "STRING_VALUE", * // Question: "STRING_VALUE", * // Keywords: "STRING_VALUE", - * // HITStatus: "STRING_VALUE", + * // HITStatus: "Assignable" || "Unassignable" || "Reviewable" || "Reviewing" || "Disposed", * // MaxAssignments: Number("int"), * // Reward: "STRING_VALUE", * // AutoApprovalDelayInSeconds: Number("long"), @@ -85,7 +85,7 @@ export interface GetAssignmentCommandOutput extends GetAssignmentResponse, __Met * // QualificationRequirements: [ // QualificationRequirementList * // { // QualificationRequirement * // QualificationTypeId: "STRING_VALUE", // required - * // Comparator: "STRING_VALUE", // required + * // Comparator: "LessThan" || "LessThanOrEqualTo" || "GreaterThan" || "GreaterThanOrEqualTo" || "EqualTo" || "NotEqualTo" || "Exists" || "DoesNotExist" || "In" || "NotIn", // required * // IntegerValues: [ // IntegerList * // Number("int"), * // ], @@ -96,10 +96,10 @@ export interface GetAssignmentCommandOutput extends GetAssignmentResponse, __Met * // }, * // ], * // RequiredToPreview: true || false, - * // ActionsGuarded: "STRING_VALUE", + * // ActionsGuarded: "Accept" || "PreviewAndAccept" || "DiscoverPreviewAndAccept", * // }, * // ], - * // HITReviewStatus: "STRING_VALUE", + * // HITReviewStatus: "NotReviewed" || "MarkedForReview" || "ReviewedAppropriate" || "ReviewedInappropriate", * // NumberOfAssignmentsPending: Number("int"), * // NumberOfAssignmentsAvailable: Number("int"), * // NumberOfAssignmentsCompleted: Number("int"), diff --git a/clients/client-mturk/src/commands/GetHITCommand.ts b/clients/client-mturk/src/commands/GetHITCommand.ts index 262793a3b91d6..9f62e63310263 100644 --- a/clients/client-mturk/src/commands/GetHITCommand.ts +++ b/clients/client-mturk/src/commands/GetHITCommand.ts @@ -61,7 +61,7 @@ export interface GetHITCommandOutput extends GetHITResponse, __MetadataBearer {} * // Description: "STRING_VALUE", * // Question: "STRING_VALUE", * // Keywords: "STRING_VALUE", - * // HITStatus: "STRING_VALUE", + * // HITStatus: "Assignable" || "Unassignable" || "Reviewable" || "Reviewing" || "Disposed", * // MaxAssignments: Number("int"), * // Reward: "STRING_VALUE", * // AutoApprovalDelayInSeconds: Number("long"), @@ -71,7 +71,7 @@ export interface GetHITCommandOutput extends GetHITResponse, __MetadataBearer {} * // QualificationRequirements: [ // QualificationRequirementList * // { // QualificationRequirement * // QualificationTypeId: "STRING_VALUE", // required - * // Comparator: "STRING_VALUE", // required + * // Comparator: "LessThan" || "LessThanOrEqualTo" || "GreaterThan" || "GreaterThanOrEqualTo" || "EqualTo" || "NotEqualTo" || "Exists" || "DoesNotExist" || "In" || "NotIn", // required * // IntegerValues: [ // IntegerList * // Number("int"), * // ], @@ -82,10 +82,10 @@ export interface GetHITCommandOutput extends GetHITResponse, __MetadataBearer {} * // }, * // ], * // RequiredToPreview: true || false, - * // ActionsGuarded: "STRING_VALUE", + * // ActionsGuarded: "Accept" || "PreviewAndAccept" || "DiscoverPreviewAndAccept", * // }, * // ], - * // HITReviewStatus: "STRING_VALUE", + * // HITReviewStatus: "NotReviewed" || "MarkedForReview" || "ReviewedAppropriate" || "ReviewedInappropriate", * // NumberOfAssignmentsPending: Number("int"), * // NumberOfAssignmentsAvailable: Number("int"), * // NumberOfAssignmentsCompleted: Number("int"), diff --git a/clients/client-mturk/src/commands/GetQualificationScoreCommand.ts b/clients/client-mturk/src/commands/GetQualificationScoreCommand.ts index 5042a1279da60..1983cc765522e 100644 --- a/clients/client-mturk/src/commands/GetQualificationScoreCommand.ts +++ b/clients/client-mturk/src/commands/GetQualificationScoreCommand.ts @@ -72,7 +72,7 @@ export interface GetQualificationScoreCommandOutput extends GetQualificationScor * // Country: "STRING_VALUE", // required * // Subdivision: "STRING_VALUE", * // }, - * // Status: "STRING_VALUE", + * // Status: "Granted" || "Revoked", * // }, * // }; * diff --git a/clients/client-mturk/src/commands/GetQualificationTypeCommand.ts b/clients/client-mturk/src/commands/GetQualificationTypeCommand.ts index a65cecbd643e9..29b08d23ee8a3 100644 --- a/clients/client-mturk/src/commands/GetQualificationTypeCommand.ts +++ b/clients/client-mturk/src/commands/GetQualificationTypeCommand.ts @@ -57,7 +57,7 @@ export interface GetQualificationTypeCommandOutput extends GetQualificationTypeR * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // Keywords: "STRING_VALUE", - * // QualificationTypeStatus: "STRING_VALUE", + * // QualificationTypeStatus: "Active" || "Inactive", * // Test: "STRING_VALUE", * // TestDurationInSeconds: Number("long"), * // AnswerKey: "STRING_VALUE", diff --git a/clients/client-mturk/src/commands/ListAssignmentsForHITCommand.ts b/clients/client-mturk/src/commands/ListAssignmentsForHITCommand.ts index f2d307a4812f2..0f04ad9e11931 100644 --- a/clients/client-mturk/src/commands/ListAssignmentsForHITCommand.ts +++ b/clients/client-mturk/src/commands/ListAssignmentsForHITCommand.ts @@ -74,7 +74,7 @@ export interface ListAssignmentsForHITCommandOutput extends ListAssignmentsForHI * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * AssignmentStatuses: [ // AssignmentStatusList - * "STRING_VALUE", + * "Submitted" || "Approved" || "Rejected", * ], * }; * const command = new ListAssignmentsForHITCommand(input); @@ -87,7 +87,7 @@ export interface ListAssignmentsForHITCommandOutput extends ListAssignmentsForHI * // AssignmentId: "STRING_VALUE", * // WorkerId: "STRING_VALUE", * // HITId: "STRING_VALUE", - * // AssignmentStatus: "STRING_VALUE", + * // AssignmentStatus: "Submitted" || "Approved" || "Rejected", * // AutoApprovalTime: new Date("TIMESTAMP"), * // AcceptTime: new Date("TIMESTAMP"), * // SubmitTime: new Date("TIMESTAMP"), diff --git a/clients/client-mturk/src/commands/ListHITsCommand.ts b/clients/client-mturk/src/commands/ListHITsCommand.ts index 1010de8426329..feb7577dcac63 100644 --- a/clients/client-mturk/src/commands/ListHITsCommand.ts +++ b/clients/client-mturk/src/commands/ListHITsCommand.ts @@ -69,7 +69,7 @@ export interface ListHITsCommandOutput extends ListHITsResponse, __MetadataBeare * // Description: "STRING_VALUE", * // Question: "STRING_VALUE", * // Keywords: "STRING_VALUE", - * // HITStatus: "STRING_VALUE", + * // HITStatus: "Assignable" || "Unassignable" || "Reviewable" || "Reviewing" || "Disposed", * // MaxAssignments: Number("int"), * // Reward: "STRING_VALUE", * // AutoApprovalDelayInSeconds: Number("long"), @@ -79,7 +79,7 @@ export interface ListHITsCommandOutput extends ListHITsResponse, __MetadataBeare * // QualificationRequirements: [ // QualificationRequirementList * // { // QualificationRequirement * // QualificationTypeId: "STRING_VALUE", // required - * // Comparator: "STRING_VALUE", // required + * // Comparator: "LessThan" || "LessThanOrEqualTo" || "GreaterThan" || "GreaterThanOrEqualTo" || "EqualTo" || "NotEqualTo" || "Exists" || "DoesNotExist" || "In" || "NotIn", // required * // IntegerValues: [ // IntegerList * // Number("int"), * // ], @@ -90,10 +90,10 @@ export interface ListHITsCommandOutput extends ListHITsResponse, __MetadataBeare * // }, * // ], * // RequiredToPreview: true || false, - * // ActionsGuarded: "STRING_VALUE", + * // ActionsGuarded: "Accept" || "PreviewAndAccept" || "DiscoverPreviewAndAccept", * // }, * // ], - * // HITReviewStatus: "STRING_VALUE", + * // HITReviewStatus: "NotReviewed" || "MarkedForReview" || "ReviewedAppropriate" || "ReviewedInappropriate", * // NumberOfAssignmentsPending: Number("int"), * // NumberOfAssignmentsAvailable: Number("int"), * // NumberOfAssignmentsCompleted: Number("int"), diff --git a/clients/client-mturk/src/commands/ListHITsForQualificationTypeCommand.ts b/clients/client-mturk/src/commands/ListHITsForQualificationTypeCommand.ts index eb032b5fde9a7..7e8e35b2e262d 100644 --- a/clients/client-mturk/src/commands/ListHITsForQualificationTypeCommand.ts +++ b/clients/client-mturk/src/commands/ListHITsForQualificationTypeCommand.ts @@ -74,7 +74,7 @@ export interface ListHITsForQualificationTypeCommandOutput * // Description: "STRING_VALUE", * // Question: "STRING_VALUE", * // Keywords: "STRING_VALUE", - * // HITStatus: "STRING_VALUE", + * // HITStatus: "Assignable" || "Unassignable" || "Reviewable" || "Reviewing" || "Disposed", * // MaxAssignments: Number("int"), * // Reward: "STRING_VALUE", * // AutoApprovalDelayInSeconds: Number("long"), @@ -84,7 +84,7 @@ export interface ListHITsForQualificationTypeCommandOutput * // QualificationRequirements: [ // QualificationRequirementList * // { // QualificationRequirement * // QualificationTypeId: "STRING_VALUE", // required - * // Comparator: "STRING_VALUE", // required + * // Comparator: "LessThan" || "LessThanOrEqualTo" || "GreaterThan" || "GreaterThanOrEqualTo" || "EqualTo" || "NotEqualTo" || "Exists" || "DoesNotExist" || "In" || "NotIn", // required * // IntegerValues: [ // IntegerList * // Number("int"), * // ], @@ -95,10 +95,10 @@ export interface ListHITsForQualificationTypeCommandOutput * // }, * // ], * // RequiredToPreview: true || false, - * // ActionsGuarded: "STRING_VALUE", + * // ActionsGuarded: "Accept" || "PreviewAndAccept" || "DiscoverPreviewAndAccept", * // }, * // ], - * // HITReviewStatus: "STRING_VALUE", + * // HITReviewStatus: "NotReviewed" || "MarkedForReview" || "ReviewedAppropriate" || "ReviewedInappropriate", * // NumberOfAssignmentsPending: Number("int"), * // NumberOfAssignmentsAvailable: Number("int"), * // NumberOfAssignmentsCompleted: Number("int"), diff --git a/clients/client-mturk/src/commands/ListQualificationTypesCommand.ts b/clients/client-mturk/src/commands/ListQualificationTypesCommand.ts index c6a193f08388d..8305b0d4d6544 100644 --- a/clients/client-mturk/src/commands/ListQualificationTypesCommand.ts +++ b/clients/client-mturk/src/commands/ListQualificationTypesCommand.ts @@ -67,7 +67,7 @@ export interface ListQualificationTypesCommandOutput extends ListQualificationTy * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // Keywords: "STRING_VALUE", - * // QualificationTypeStatus: "STRING_VALUE", + * // QualificationTypeStatus: "Active" || "Inactive", * // Test: "STRING_VALUE", * // TestDurationInSeconds: Number("long"), * // AnswerKey: "STRING_VALUE", diff --git a/clients/client-mturk/src/commands/ListReviewPolicyResultsForHITCommand.ts b/clients/client-mturk/src/commands/ListReviewPolicyResultsForHITCommand.ts index 6cf5d46697f7c..f8b4ff70ed67f 100644 --- a/clients/client-mturk/src/commands/ListReviewPolicyResultsForHITCommand.ts +++ b/clients/client-mturk/src/commands/ListReviewPolicyResultsForHITCommand.ts @@ -57,7 +57,7 @@ export interface ListReviewPolicyResultsForHITCommandOutput * const input = { // ListReviewPolicyResultsForHITRequest * HITId: "STRING_VALUE", // required * PolicyLevels: [ // ReviewPolicyLevelList - * "STRING_VALUE", + * "Assignment" || "HIT", * ], * RetrieveActions: true || false, * RetrieveResults: true || false, @@ -123,7 +123,7 @@ export interface ListReviewPolicyResultsForHITCommandOutput * // ActionName: "STRING_VALUE", * // TargetId: "STRING_VALUE", * // TargetType: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "Intended" || "Succeeded" || "Failed" || "Cancelled", * // CompleteTime: new Date("TIMESTAMP"), * // Result: "STRING_VALUE", * // ErrorCode: "STRING_VALUE", @@ -147,7 +147,7 @@ export interface ListReviewPolicyResultsForHITCommandOutput * // ActionName: "STRING_VALUE", * // TargetId: "STRING_VALUE", * // TargetType: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "Intended" || "Succeeded" || "Failed" || "Cancelled", * // CompleteTime: new Date("TIMESTAMP"), * // Result: "STRING_VALUE", * // ErrorCode: "STRING_VALUE", diff --git a/clients/client-mturk/src/commands/ListReviewableHITsCommand.ts b/clients/client-mturk/src/commands/ListReviewableHITsCommand.ts index b456ed9bb1f81..d4489c08138de 100644 --- a/clients/client-mturk/src/commands/ListReviewableHITsCommand.ts +++ b/clients/client-mturk/src/commands/ListReviewableHITsCommand.ts @@ -48,7 +48,7 @@ export interface ListReviewableHITsCommandOutput extends ListReviewableHITsRespo * const client = new MTurkClient(config); * const input = { // ListReviewableHITsRequest * HITTypeId: "STRING_VALUE", - * Status: "STRING_VALUE", + * Status: "Reviewable" || "Reviewing", * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; @@ -68,7 +68,7 @@ export interface ListReviewableHITsCommandOutput extends ListReviewableHITsRespo * // Description: "STRING_VALUE", * // Question: "STRING_VALUE", * // Keywords: "STRING_VALUE", - * // HITStatus: "STRING_VALUE", + * // HITStatus: "Assignable" || "Unassignable" || "Reviewable" || "Reviewing" || "Disposed", * // MaxAssignments: Number("int"), * // Reward: "STRING_VALUE", * // AutoApprovalDelayInSeconds: Number("long"), @@ -78,7 +78,7 @@ export interface ListReviewableHITsCommandOutput extends ListReviewableHITsRespo * // QualificationRequirements: [ // QualificationRequirementList * // { // QualificationRequirement * // QualificationTypeId: "STRING_VALUE", // required - * // Comparator: "STRING_VALUE", // required + * // Comparator: "LessThan" || "LessThanOrEqualTo" || "GreaterThan" || "GreaterThanOrEqualTo" || "EqualTo" || "NotEqualTo" || "Exists" || "DoesNotExist" || "In" || "NotIn", // required * // IntegerValues: [ // IntegerList * // Number("int"), * // ], @@ -89,10 +89,10 @@ export interface ListReviewableHITsCommandOutput extends ListReviewableHITsRespo * // }, * // ], * // RequiredToPreview: true || false, - * // ActionsGuarded: "STRING_VALUE", + * // ActionsGuarded: "Accept" || "PreviewAndAccept" || "DiscoverPreviewAndAccept", * // }, * // ], - * // HITReviewStatus: "STRING_VALUE", + * // HITReviewStatus: "NotReviewed" || "MarkedForReview" || "ReviewedAppropriate" || "ReviewedInappropriate", * // NumberOfAssignmentsPending: Number("int"), * // NumberOfAssignmentsAvailable: Number("int"), * // NumberOfAssignmentsCompleted: Number("int"), diff --git a/clients/client-mturk/src/commands/ListWorkersWithQualificationTypeCommand.ts b/clients/client-mturk/src/commands/ListWorkersWithQualificationTypeCommand.ts index 04cb5eee29c0d..b95308ad6865d 100644 --- a/clients/client-mturk/src/commands/ListWorkersWithQualificationTypeCommand.ts +++ b/clients/client-mturk/src/commands/ListWorkersWithQualificationTypeCommand.ts @@ -53,7 +53,7 @@ export interface ListWorkersWithQualificationTypeCommandOutput * const client = new MTurkClient(config); * const input = { // ListWorkersWithQualificationTypeRequest * QualificationTypeId: "STRING_VALUE", // required - * Status: "STRING_VALUE", + * Status: "Granted" || "Revoked", * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; @@ -72,7 +72,7 @@ export interface ListWorkersWithQualificationTypeCommandOutput * // Country: "STRING_VALUE", // required * // Subdivision: "STRING_VALUE", * // }, - * // Status: "STRING_VALUE", + * // Status: "Granted" || "Revoked", * // }, * // ], * // }; diff --git a/clients/client-mturk/src/commands/NotifyWorkersCommand.ts b/clients/client-mturk/src/commands/NotifyWorkersCommand.ts index 38c2dccd661fb..9fbdfec2c8237 100644 --- a/clients/client-mturk/src/commands/NotifyWorkersCommand.ts +++ b/clients/client-mturk/src/commands/NotifyWorkersCommand.ts @@ -64,7 +64,7 @@ export interface NotifyWorkersCommandOutput extends NotifyWorkersResponse, __Met * // { // NotifyWorkersResponse * // NotifyWorkersFailureStatuses: [ // NotifyWorkersFailureStatusList * // { // NotifyWorkersFailureStatus - * // NotifyWorkersFailureCode: "STRING_VALUE", + * // NotifyWorkersFailureCode: "SoftFailure" || "HardFailure", * // NotifyWorkersFailureMessage: "STRING_VALUE", * // WorkerId: "STRING_VALUE", * // }, diff --git a/clients/client-mturk/src/commands/SendTestEventNotificationCommand.ts b/clients/client-mturk/src/commands/SendTestEventNotificationCommand.ts index cccbe0938dd34..188558228b08f 100644 --- a/clients/client-mturk/src/commands/SendTestEventNotificationCommand.ts +++ b/clients/client-mturk/src/commands/SendTestEventNotificationCommand.ts @@ -52,13 +52,13 @@ export interface SendTestEventNotificationCommandOutput extends SendTestEventNot * const input = { // SendTestEventNotificationRequest * Notification: { // NotificationSpecification * Destination: "STRING_VALUE", // required - * Transport: "STRING_VALUE", // required + * Transport: "Email" || "SQS" || "SNS", // required * Version: "STRING_VALUE", // required * EventTypes: [ // EventTypeList // required - * "STRING_VALUE", + * "AssignmentAccepted" || "AssignmentAbandoned" || "AssignmentReturned" || "AssignmentSubmitted" || "AssignmentRejected" || "AssignmentApproved" || "HITCreated" || "HITExpired" || "HITReviewable" || "HITExtended" || "HITDisposed" || "Ping", * ], * }, - * TestEventType: "STRING_VALUE", // required + * TestEventType: "AssignmentAccepted" || "AssignmentAbandoned" || "AssignmentReturned" || "AssignmentSubmitted" || "AssignmentRejected" || "AssignmentApproved" || "HITCreated" || "HITExpired" || "HITReviewable" || "HITExtended" || "HITDisposed" || "Ping", // required * }; * const command = new SendTestEventNotificationCommand(input); * const response = await client.send(command); diff --git a/clients/client-mturk/src/commands/UpdateNotificationSettingsCommand.ts b/clients/client-mturk/src/commands/UpdateNotificationSettingsCommand.ts index 896c06ff46ff9..818a86fff03e2 100644 --- a/clients/client-mturk/src/commands/UpdateNotificationSettingsCommand.ts +++ b/clients/client-mturk/src/commands/UpdateNotificationSettingsCommand.ts @@ -58,10 +58,10 @@ export interface UpdateNotificationSettingsCommandOutput extends UpdateNotificat * HITTypeId: "STRING_VALUE", // required * Notification: { // NotificationSpecification * Destination: "STRING_VALUE", // required - * Transport: "STRING_VALUE", // required + * Transport: "Email" || "SQS" || "SNS", // required * Version: "STRING_VALUE", // required * EventTypes: [ // EventTypeList // required - * "STRING_VALUE", + * "AssignmentAccepted" || "AssignmentAbandoned" || "AssignmentReturned" || "AssignmentSubmitted" || "AssignmentRejected" || "AssignmentApproved" || "HITCreated" || "HITExpired" || "HITReviewable" || "HITExtended" || "HITDisposed" || "Ping", * ], * }, * Active: true || false, diff --git a/clients/client-mturk/src/commands/UpdateQualificationTypeCommand.ts b/clients/client-mturk/src/commands/UpdateQualificationTypeCommand.ts index a0ae79253dec6..c8d798a5c8c33 100644 --- a/clients/client-mturk/src/commands/UpdateQualificationTypeCommand.ts +++ b/clients/client-mturk/src/commands/UpdateQualificationTypeCommand.ts @@ -78,7 +78,7 @@ export interface UpdateQualificationTypeCommandOutput extends UpdateQualificatio * const input = { // UpdateQualificationTypeRequest * QualificationTypeId: "STRING_VALUE", // required * Description: "STRING_VALUE", - * QualificationTypeStatus: "STRING_VALUE", + * QualificationTypeStatus: "Active" || "Inactive", * Test: "STRING_VALUE", * AnswerKey: "STRING_VALUE", * TestDurationInSeconds: Number("long"), @@ -95,7 +95,7 @@ export interface UpdateQualificationTypeCommandOutput extends UpdateQualificatio * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // Keywords: "STRING_VALUE", - * // QualificationTypeStatus: "STRING_VALUE", + * // QualificationTypeStatus: "Active" || "Inactive", * // Test: "STRING_VALUE", * // TestDurationInSeconds: Number("long"), * // AnswerKey: "STRING_VALUE", diff --git a/clients/client-mturk/src/endpoint/ruleset.ts b/clients/client-mturk/src/endpoint/ruleset.ts index 2d3caf9f8e5d2..0b272e8bcdda3 100644 --- a/clients/client-mturk/src/endpoint/ruleset.ts +++ b/clients/client-mturk/src/endpoint/ruleset.ts @@ -6,25 +6,26 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/mturk.json */ -const q="required", -r="fn", -s="argv", -t="ref"; -const a="PartitionResult", +const r="required", +s="fn", +t="argv", +u="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[q]:false,"type":"String"}, -f={[q]:true,"default":false,"type":"Boolean"}, -g={[t]:"Region"}, -h={[t]:"Endpoint"}, -i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, -j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +e="PartitionResult", +f={[r]:false,"type":"String"}, +g={[r]:true,"default":false,"type":"Boolean"}, +h={[u]:"Endpoint"}, +i={[s]:"booleanEquals",[t]:[{[u]:"UseFIPS"},true]}, +j={[s]:"booleanEquals",[t]:[{[u]:"UseDualStack"},true]}, k={}, -l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:a},"supportsFIPS"]}]}, -m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:a},"supportsDualStack"]}]}, -n=[h], +l={[u]:"Region"}, +m={[s]:"booleanEquals",[t]:[true,{[s]:"getAttr",[t]:[{[u]:e},"supportsFIPS"]}]}, +n={[s]:"booleanEquals",[t]:[true,{[s]:"getAttr",[t]:[{[u]:e},"supportsDualStack"]}]}, o=[i], -p=[j]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[r]:"aws.partition",[s]:[g],assign:a}],type:b,rules:[{conditions:[{[r]:"isSet",[s]:n},{[r]:"parseURL",[s]:n,assign:"url"}],type:b,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://mturk-requester-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://mturk-requester-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://mturk-requester.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{conditions:[{[r]:"stringEquals",[s]:[g,"sandbox"]}],endpoint:{url:"https://mturk-requester-sandbox.us-east-1.amazonaws.com",properties:k,headers:k},type:d},{endpoint:{url:"https://mturk-requester.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]}; +p=[j], +q=[l]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[s]:a,[t]:[h]}],type:b,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[s]:a,[t]:q}],type:b,rules:[{conditions:[{[s]:"aws.partition",[t]:q,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[m,n],type:b,rules:[{endpoint:{url:"https://mturk-requester-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://mturk-requester-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:p,type:b,rules:[{conditions:[n],type:b,rules:[{endpoint:{url:"https://mturk-requester.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{conditions:[{[s]:"stringEquals",[t]:[l,"sandbox"]}],endpoint:{url:"https://mturk-requester-sandbox.us-east-1.amazonaws.com",properties:k,headers:k},type:d},{endpoint:{url:"https://mturk-requester.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-mwaa/src/endpoint/ruleset.ts b/clients/client-mwaa/src/endpoint/ruleset.ts index 360c36c0391d6..f20840418c9c3 100644 --- a/clients/client-mwaa/src/endpoint/ruleset.ts +++ b/clients/client-mwaa/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://airflow-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://airflow-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://airflow.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://airflow.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://airflow-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://airflow-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://airflow.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://airflow.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-neptune/src/endpoint/ruleset.ts b/clients/client-neptune/src/endpoint/ruleset.ts index 2211bccc6d525..68701a408b4c1 100644 --- a/clients/client-neptune/src/endpoint/ruleset.ts +++ b/clients/client-neptune/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, p=[j], q=[k], r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://rds-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://rds.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://rds-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://rds.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://rds.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://rds-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://rds.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://rds-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://rds.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://rds.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-networkmanager/src/endpoint/ruleset.ts b/clients/client-networkmanager/src/endpoint/ruleset.ts index 6b0dc0c5fc582..8279739f985f0 100644 --- a/clients/client-networkmanager/src/endpoint/ruleset.ts +++ b/clients/client-networkmanager/src/endpoint/ruleset.ts @@ -6,45 +6,31 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/networkmanager.json */ -const B="required", -C="type", -D="rules", -E="conditions", -F="fn", -G="argv", -H="ref", -I="url", -J="properties", -K="headers", -L="authSchemes", -M="signingName", -N="signingRegion"; +const w="required", +x="fn", +y="argv", +z="ref"; const a="isSet", b="tree", c="error", d="endpoint", e="PartitionResult", f="stringEquals", -g={[B]:false,[C]:"String"}, -h={[B]:true,"default":false,[C]:"Boolean"}, -i={[H]:"Endpoint"}, -j={}, -k={[H]:"Region"}, -l={[F]:"getAttr",[G]:[{[H]:e},"name"]}, -m={[E]:[{[F]:"booleanEquals",[G]:[{[H]:"UseFIPS"},true]},{[F]:"booleanEquals",[G]:[{[H]:"UseDualStack"},true]}],[C]:b,[D]:[{[E]:[{[F]:"booleanEquals",[G]:[true,{[F]:"getAttr",[G]:[{[H]:e},"supportsFIPS"]}]},{[F]:"booleanEquals",[G]:[true,{[F]:"getAttr",[G]:[{[H]:e},"supportsDualStack"]}]}],[C]:b,[D]:[{[d]:{[I]:"https://networkmanager-fips.{Region}.api.aws",[J]:{},[K]:{}},[C]:d}]},{[c]:"FIPS and DualStack are enabled, but this partition does not support one or both",[C]:c}]}, -n={[c]:"FIPS and DualStack are enabled, but this partition does not support one or both",[C]:c}, -o={[E]:[{[F]:"booleanEquals",[G]:[{[H]:"UseFIPS"},true]}],[C]:b,[D]:[{[E]:[{[F]:"booleanEquals",[G]:[true,{[F]:"getAttr",[G]:[{[H]:e},"supportsFIPS"]}]}],[C]:b,[D]:[{[d]:{[I]:"https://networkmanager-fips.{Region}.amazonaws.com",[J]:{},[K]:{}},[C]:d}]},{[c]:"FIPS is enabled but this partition does not support FIPS",[C]:c}]}, -p={[c]:"FIPS is enabled but this partition does not support FIPS",[C]:c}, -q={[E]:[{[F]:"booleanEquals",[G]:[{[H]:"UseDualStack"},true]}],[C]:b,[D]:[{[E]:[{[F]:"booleanEquals",[G]:[true,{[F]:"getAttr",[G]:[{[H]:e},"supportsDualStack"]}]}],[C]:b,[D]:[{[d]:{[I]:"https://networkmanager.{Region}.api.aws",[J]:{},[K]:{}},[C]:d}]},{[c]:"DualStack is enabled but this partition does not support DualStack",[C]:c}]}, -r={[c]:"DualStack is enabled but this partition does not support DualStack",[C]:c}, -s={[I]:"https://networkmanager.us-west-2.amazonaws.com",[J]:{[L]:[{"name":"sigv4",[M]:"networkmanager",[N]:"us-west-2"}]},[K]:{}}, -t={[I]:"https://networkmanager.us-gov-west-1.amazonaws.com",[J]:{[L]:[{"name":"sigv4",[M]:"networkmanager",[N]:"us-gov-west-1"}]},[K]:{}}, -u=[{[F]:"booleanEquals",[G]:[{[H]:"UseFIPS"},true]}], -v=[{[F]:"booleanEquals",[G]:[{[H]:"UseDualStack"},true]}], -w=[k], -x=[{[F]:"booleanEquals",[G]:[{[H]:"UseFIPS"},true]},{[F]:"booleanEquals",[G]:[{[H]:"UseDualStack"},true]}], -y=[{[F]:"booleanEquals",[G]:[true,{[F]:"getAttr",[G]:[{[H]:e},"supportsFIPS"]}]},{[F]:"booleanEquals",[G]:[true,{[F]:"getAttr",[G]:[{[H]:e},"supportsDualStack"]}]}], -z=[{[F]:"booleanEquals",[G]:[true,{[F]:"getAttr",[G]:[{[H]:e},"supportsFIPS"]}]}], -A=[{[F]:"booleanEquals",[G]:[true,{[F]:"getAttr",[G]:[{[H]:e},"supportsDualStack"]}]}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},[D]:[{[E]:[{[F]:a,[G]:[i]}],[C]:b,[D]:[{[E]:u,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[C]:c},{[C]:b,[D]:[{[E]:v,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[C]:c},{endpoint:{[I]:i,[J]:j,[K]:j},[C]:d}]}]},{[C]:b,[D]:[{[E]:[{[F]:a,[G]:w}],[C]:b,[D]:[{[E]:[{[F]:"aws.partition",[G]:w,assign:e}],[C]:b,[D]:[{[E]:[{[F]:f,[G]:[l,"aws"]}],[C]:b,[D]:[m,o,q,{endpoint:s,[C]:d}]},{[E]:[{[F]:f,[G]:[l,"aws-us-gov"]}],[C]:b,[D]:[m,o,q,{endpoint:t,[C]:d}]},{[E]:x,[C]:b,[D]:[{[E]:y,[C]:b,[D]:[{[C]:b,[D]:[{endpoint:{[I]:"https://networkmanager-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",[J]:j,[K]:j},[C]:d}]}]},n]},{[E]:u,[C]:b,[D]:[{[E]:z,[C]:b,[D]:[{[C]:b,[D]:[{endpoint:{[I]:"https://networkmanager-fips.{Region}.{PartitionResult#dnsSuffix}",[J]:j,[K]:j},[C]:d}]}]},p]},{[E]:v,[C]:b,[D]:[{[E]:A,[C]:b,[D]:[{[C]:b,[D]:[{endpoint:{[I]:"https://networkmanager.{Region}.{PartitionResult#dualStackDnsSuffix}",[J]:j,[K]:j},[C]:d}]}]},r]},{[C]:b,[D]:[{[E]:[{[F]:f,[G]:[k,"aws-global"]}],endpoint:s,[C]:d},{[E]:[{[F]:f,[G]:[k,"aws-us-gov-global"]}],endpoint:t,[C]:d},{endpoint:{[I]:"https://networkmanager.{Region}.{PartitionResult#dnsSuffix}",[J]:j,[K]:j},[C]:d}]}]}]},{error:"Invalid Configuration: Missing Region",[C]:c}]}]}; +g="sigv4", +h="networkmanager", +i={[w]:false,"type":"String"}, +j={[w]:true,"default":false,"type":"Boolean"}, +k={[z]:"Endpoint"}, +l={[x]:"booleanEquals",[y]:[{[z]:"UseFIPS"},true]}, +m={[x]:"booleanEquals",[y]:[{[z]:"UseDualStack"},true]}, +n={}, +o={[x]:"getAttr",[y]:[{[z]:e},"name"]}, +p={[x]:"booleanEquals",[y]:[{[z]:"UseFIPS"},false]}, +q={[x]:"booleanEquals",[y]:[{[z]:"UseDualStack"},false]}, +r={[x]:"booleanEquals",[y]:[true,{[x]:"getAttr",[y]:[{[z]:e},"supportsFIPS"]}]}, +s={[x]:"booleanEquals",[y]:[true,{[x]:"getAttr",[y]:[{[z]:e},"supportsDualStack"]}]}, +t=[l], +u=[m], +v=[{[z]:"Region"}]; +const _data={version:"1.0",parameters:{Region:i,UseDualStack:j,UseFIPS:j,Endpoint:i},rules:[{conditions:[{[x]:a,[y]:[k]}],type:b,rules:[{conditions:t,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:u,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:k,properties:n,headers:n},type:d}]},{conditions:[{[x]:a,[y]:v}],type:b,rules:[{conditions:[{[x]:"aws.partition",[y]:v,assign:e}],type:b,rules:[{conditions:[{[x]:f,[y]:[o,"aws"]},p,q],endpoint:{url:"https://networkmanager.us-west-2.amazonaws.com",properties:{authSchemes:[{name:g,signingName:h,signingRegion:"us-west-2"}]},headers:n},type:d},{conditions:[{[x]:f,[y]:[o,"aws-us-gov"]},p,q],endpoint:{url:"https://networkmanager.us-gov-west-1.amazonaws.com",properties:{authSchemes:[{name:g,signingName:h,signingRegion:"us-gov-west-1"}]},headers:n},type:d},{conditions:[l,m],type:b,rules:[{conditions:[r,s],type:b,rules:[{endpoint:{url:"https://networkmanager-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:t,type:b,rules:[{conditions:[r],type:b,rules:[{endpoint:{url:"https://networkmanager-fips.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:u,type:b,rules:[{conditions:[s],type:b,rules:[{endpoint:{url:"https://networkmanager.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://networkmanager.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-nimble/src/endpoint/EndpointParameters.ts b/clients/client-nimble/src/endpoint/EndpointParameters.ts index 1c4150a8bce6b..e1458af3d7898 100644 --- a/clients/client-nimble/src/endpoint/EndpointParameters.ts +++ b/clients/client-nimble/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-nimble/src/endpoint/ruleset.ts b/clients/client-nimble/src/endpoint/ruleset.ts index 9ec533cc2cb80..2bd4f582e5d98 100644 --- a/clients/client-nimble/src/endpoint/ruleset.ts +++ b/clients/client-nimble/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/nimble.json */ -const q="fn", -r="argv", -s="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h={"required":true,"default":false,"type":"Boolean"}, -i={[s]:"Endpoint"}, -j={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -k={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -l={}, -m={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsFIPS"]}]}, -n={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsDualStack"]}]}, +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], o=[j], -p=[k]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[q]:"isSet",[r]:[i]}],type:e,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{endpoint:{url:"https://nimble-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:o,type:e,rules:[{conditions:[m],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://nimble-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:p,type:e,rules:[{conditions:[n],type:e,rules:[{endpoint:{url:"https://nimble.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{endpoint:{url:"https://nimble.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]}; +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://nimble-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://nimble-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://nimble.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://nimble.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-oam/src/endpoint/EndpointParameters.ts b/clients/client-oam/src/endpoint/EndpointParameters.ts index 87dcd9e807c2e..58b3321a2f8e1 100644 --- a/clients/client-oam/src/endpoint/EndpointParameters.ts +++ b/clients/client-oam/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-oam/src/endpoint/ruleset.ts b/clients/client-oam/src/endpoint/ruleset.ts index a33fd126d68a2..be4c2f4b31123 100644 --- a/clients/client-oam/src/endpoint/ruleset.ts +++ b/clients/client-oam/src/endpoint/ruleset.ts @@ -6,25 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/oam.json */ -const r="fn", +const q="required", +r="fn", s="argv", t="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h={"required":true,"default":false,"type":"Boolean"}, -i={[t]:"Endpoint"}, -j={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, -k={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, -l={}, -m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:d},"supportsFIPS"]}]}, -n={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:d},"supportsDualStack"]}]}, -o=[i], -p=[j], -q=[k]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[r]:"aws.partition",[s]:[{[t]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[r]:"isSet",[s]:o},{[r]:"parseURL",[s]:o,assign:"url"}],type:e,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{endpoint:{url:"https://oam-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:p,type:e,rules:[{conditions:[m],type:e,rules:[{endpoint:{url:"https://oam-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:q,type:e,rules:[{conditions:[n],type:e,rules:[{endpoint:{url:"https://oam.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{endpoint:{url:"https://oam.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]}; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://oam-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://oam-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://oam.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://oam.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-opensearch/src/endpoint/ruleset.ts b/clients/client-opensearch/src/endpoint/ruleset.ts index b9504be16686e..ce55878df9547 100644 --- a/clients/client-opensearch/src/endpoint/ruleset.ts +++ b/clients/client-opensearch/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://es-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://es-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://es.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://es.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://es-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://es-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://es.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://es.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-opsworks/src/commands/CloneStackCommand.ts b/clients/client-opsworks/src/commands/CloneStackCommand.ts index 8e0074270a1c8..ccaa7e3e6af26 100644 --- a/clients/client-opsworks/src/commands/CloneStackCommand.ts +++ b/clients/client-opsworks/src/commands/CloneStackCommand.ts @@ -74,7 +74,7 @@ export interface CloneStackCommandOutput extends CloneStackResult, __MetadataBea * UseCustomCookbooks: true || false, * UseOpsworksSecurityGroups: true || false, * CustomCookbooksSource: { // Source - * Type: "STRING_VALUE", + * Type: "git" || "svn" || "archive" || "s3", * Url: "STRING_VALUE", * Username: "STRING_VALUE", * Password: "STRING_VALUE", @@ -86,7 +86,7 @@ export interface CloneStackCommandOutput extends CloneStackResult, __MetadataBea * CloneAppIds: [ // Strings * "STRING_VALUE", * ], - * DefaultRootDeviceType: "STRING_VALUE", + * DefaultRootDeviceType: "ebs" || "instance-store", * AgentVersion: "STRING_VALUE", * }; * const command = new CloneStackCommand(input); diff --git a/clients/client-opsworks/src/commands/CreateAppCommand.ts b/clients/client-opsworks/src/commands/CreateAppCommand.ts index 904ba06674396..95c242b57bcd0 100644 --- a/clients/client-opsworks/src/commands/CreateAppCommand.ts +++ b/clients/client-opsworks/src/commands/CreateAppCommand.ts @@ -61,9 +61,9 @@ export interface CreateAppCommandOutput extends CreateAppResult, __MetadataBeare * DatabaseName: "STRING_VALUE", * }, * ], - * Type: "STRING_VALUE", // required + * Type: "aws-flow-ruby" || "java" || "rails" || "php" || "nodejs" || "static" || "other", // required * AppSource: { // Source - * Type: "STRING_VALUE", + * Type: "git" || "svn" || "archive" || "s3", * Url: "STRING_VALUE", * Username: "STRING_VALUE", * Password: "STRING_VALUE", diff --git a/clients/client-opsworks/src/commands/CreateDeploymentCommand.ts b/clients/client-opsworks/src/commands/CreateDeploymentCommand.ts index 74260c6aabe7a..f1170557d697e 100644 --- a/clients/client-opsworks/src/commands/CreateDeploymentCommand.ts +++ b/clients/client-opsworks/src/commands/CreateDeploymentCommand.ts @@ -59,7 +59,7 @@ export interface CreateDeploymentCommandOutput extends CreateDeploymentResult, _ * "STRING_VALUE", * ], * Command: { // DeploymentCommand - * Name: "STRING_VALUE", // required + * Name: "install_dependencies" || "update_dependencies" || "update_custom_cookbooks" || "execute_recipes" || "configure" || "setup" || "deploy" || "rollback" || "start" || "stop" || "restart" || "undeploy", // required * Args: { // DeploymentCommandArgs * "": [ * "STRING_VALUE", diff --git a/clients/client-opsworks/src/commands/CreateInstanceCommand.ts b/clients/client-opsworks/src/commands/CreateInstanceCommand.ts index c4444658b0e2d..d5ea585173bc1 100644 --- a/clients/client-opsworks/src/commands/CreateInstanceCommand.ts +++ b/clients/client-opsworks/src/commands/CreateInstanceCommand.ts @@ -55,7 +55,7 @@ export interface CreateInstanceCommandOutput extends CreateInstanceResult, __Met * "STRING_VALUE", * ], * InstanceType: "STRING_VALUE", // required - * AutoScalingType: "STRING_VALUE", + * AutoScalingType: "load" || "timer", * Hostname: "STRING_VALUE", * Os: "STRING_VALUE", * AmiId: "STRING_VALUE", @@ -63,8 +63,8 @@ export interface CreateInstanceCommandOutput extends CreateInstanceResult, __Met * AvailabilityZone: "STRING_VALUE", * VirtualizationType: "STRING_VALUE", * SubnetId: "STRING_VALUE", - * Architecture: "STRING_VALUE", - * RootDeviceType: "STRING_VALUE", + * Architecture: "x86_64" || "i386", + * RootDeviceType: "ebs" || "instance-store", * BlockDeviceMappings: [ // BlockDeviceMappings * { // BlockDeviceMapping * DeviceName: "STRING_VALUE", @@ -74,7 +74,7 @@ export interface CreateInstanceCommandOutput extends CreateInstanceResult, __Met * SnapshotId: "STRING_VALUE", * Iops: Number("int"), * VolumeSize: Number("int"), - * VolumeType: "STRING_VALUE", + * VolumeType: "gp2" || "io1" || "standard", * DeleteOnTermination: true || false, * }, * }, diff --git a/clients/client-opsworks/src/commands/CreateLayerCommand.ts b/clients/client-opsworks/src/commands/CreateLayerCommand.ts index 1d076971f8fab..73ce57144ef91 100644 --- a/clients/client-opsworks/src/commands/CreateLayerCommand.ts +++ b/clients/client-opsworks/src/commands/CreateLayerCommand.ts @@ -58,7 +58,7 @@ export interface CreateLayerCommandOutput extends CreateLayerResult, __MetadataB * const client = new OpsWorksClient(config); * const input = { // CreateLayerRequest * StackId: "STRING_VALUE", // required - * Type: "STRING_VALUE", // required + * Type: "aws-flow-ruby" || "ecs-cluster" || "java-app" || "lb" || "web" || "php-app" || "rails-app" || "nodejs-app" || "memcached" || "db-master" || "monitoring-master" || "custom", // required * Name: "STRING_VALUE", // required * Shortname: "STRING_VALUE", // required * Attributes: { // LayerAttributes @@ -70,12 +70,12 @@ export interface CreateLayerCommandOutput extends CreateLayerResult, __MetadataB * { // CloudWatchLogsLogStream * LogGroupName: "STRING_VALUE", * DatetimeFormat: "STRING_VALUE", - * TimeZone: "STRING_VALUE", + * TimeZone: "LOCAL" || "UTC", * File: "STRING_VALUE", * FileFingerprintLines: "STRING_VALUE", * MultiLineStartPattern: "STRING_VALUE", - * InitialPosition: "STRING_VALUE", - * Encoding: "STRING_VALUE", + * InitialPosition: "start_of_file" || "end_of_file", + * Encoding: "ascii" || "big5" || "big5hkscs" || "cp037" || "cp424" || "cp437" || "cp500" || "cp720" || "cp737" || "cp775" || "cp850" || "cp852" || "cp855" || "cp856" || "cp857" || "cp858" || "cp860" || "cp861" || "cp862" || "cp863" || "cp864" || "cp865" || "cp866" || "cp869" || "cp874" || "cp875" || "cp932" || "cp949" || "cp950" || "cp1006" || "cp1026" || "cp1140" || "cp1250" || "cp1251" || "cp1252" || "cp1253" || "cp1254" || "cp1255" || "cp1256" || "cp1257" || "cp1258" || "euc_jp" || "euc_jis_2004" || "euc_jisx0213" || "euc_kr" || "gb2312" || "gbk" || "gb18030" || "hz" || "iso2022_jp" || "iso2022_jp_1" || "iso2022_jp_2" || "iso2022_jp_2004" || "iso2022_jp_3" || "iso2022_jp_ext" || "iso2022_kr" || "latin_1" || "iso8859_2" || "iso8859_3" || "iso8859_4" || "iso8859_5" || "iso8859_6" || "iso8859_7" || "iso8859_8" || "iso8859_9" || "iso8859_10" || "iso8859_13" || "iso8859_14" || "iso8859_15" || "iso8859_16" || "johab" || "koi8_r" || "koi8_u" || "mac_cyrillic" || "mac_greek" || "mac_iceland" || "mac_latin2" || "mac_roman" || "mac_turkish" || "ptcp154" || "shift_jis" || "shift_jis_2004" || "shift_jisx0213" || "utf_32" || "utf_32_be" || "utf_32_le" || "utf_16" || "utf_16_be" || "utf_16_le" || "utf_7" || "utf_8" || "utf_8_sig", * BufferDuration: Number("int"), * BatchCount: Number("int"), * BatchSize: Number("int"), diff --git a/clients/client-opsworks/src/commands/CreateStackCommand.ts b/clients/client-opsworks/src/commands/CreateStackCommand.ts index d576e83c4bece..70058ba9a77e6 100644 --- a/clients/client-opsworks/src/commands/CreateStackCommand.ts +++ b/clients/client-opsworks/src/commands/CreateStackCommand.ts @@ -73,7 +73,7 @@ export interface CreateStackCommandOutput extends CreateStackResult, __MetadataB * UseCustomCookbooks: true || false, * UseOpsworksSecurityGroups: true || false, * CustomCookbooksSource: { // Source - * Type: "STRING_VALUE", + * Type: "git" || "svn" || "archive" || "s3", * Url: "STRING_VALUE", * Username: "STRING_VALUE", * Password: "STRING_VALUE", @@ -81,7 +81,7 @@ export interface CreateStackCommandOutput extends CreateStackResult, __MetadataB * Revision: "STRING_VALUE", * }, * DefaultSshKeyName: "STRING_VALUE", - * DefaultRootDeviceType: "STRING_VALUE", + * DefaultRootDeviceType: "ebs" || "instance-store", * AgentVersion: "STRING_VALUE", * }; * const command = new CreateStackCommand(input); diff --git a/clients/client-opsworks/src/commands/DescribeAppsCommand.ts b/clients/client-opsworks/src/commands/DescribeAppsCommand.ts index c723768523938..f2cfa23f327d1 100644 --- a/clients/client-opsworks/src/commands/DescribeAppsCommand.ts +++ b/clients/client-opsworks/src/commands/DescribeAppsCommand.ts @@ -74,9 +74,9 @@ export interface DescribeAppsCommandOutput extends DescribeAppsResult, __Metadat * // DatabaseName: "STRING_VALUE", * // }, * // ], - * // Type: "STRING_VALUE", + * // Type: "aws-flow-ruby" || "java" || "rails" || "php" || "nodejs" || "static" || "other", * // AppSource: { // Source - * // Type: "STRING_VALUE", + * // Type: "git" || "svn" || "archive" || "s3", * // Url: "STRING_VALUE", * // Username: "STRING_VALUE", * // Password: "STRING_VALUE", diff --git a/clients/client-opsworks/src/commands/DescribeDeploymentsCommand.ts b/clients/client-opsworks/src/commands/DescribeDeploymentsCommand.ts index 817600e5812bb..b0a3607c84be0 100644 --- a/clients/client-opsworks/src/commands/DescribeDeploymentsCommand.ts +++ b/clients/client-opsworks/src/commands/DescribeDeploymentsCommand.ts @@ -72,7 +72,7 @@ export interface DescribeDeploymentsCommandOutput extends DescribeDeploymentsRes * // IamUserArn: "STRING_VALUE", * // Comment: "STRING_VALUE", * // Command: { // DeploymentCommand - * // Name: "STRING_VALUE", // required + * // Name: "install_dependencies" || "update_dependencies" || "update_custom_cookbooks" || "execute_recipes" || "configure" || "setup" || "deploy" || "rollback" || "start" || "stop" || "restart" || "undeploy", // required * // Args: { // DeploymentCommandArgs * // "": [ // Strings * // "STRING_VALUE", diff --git a/clients/client-opsworks/src/commands/DescribeInstancesCommand.ts b/clients/client-opsworks/src/commands/DescribeInstancesCommand.ts index 681eb7a2c7289..b42f260dabbea 100644 --- a/clients/client-opsworks/src/commands/DescribeInstancesCommand.ts +++ b/clients/client-opsworks/src/commands/DescribeInstancesCommand.ts @@ -65,9 +65,9 @@ export interface DescribeInstancesCommandOutput extends DescribeInstancesResult, * // { // Instance * // AgentVersion: "STRING_VALUE", * // AmiId: "STRING_VALUE", - * // Architecture: "STRING_VALUE", + * // Architecture: "x86_64" || "i386", * // Arn: "STRING_VALUE", - * // AutoScalingType: "STRING_VALUE", + * // AutoScalingType: "load" || "timer", * // AvailabilityZone: "STRING_VALUE", * // BlockDeviceMappings: [ // BlockDeviceMappings * // { // BlockDeviceMapping @@ -78,7 +78,7 @@ export interface DescribeInstancesCommandOutput extends DescribeInstancesResult, * // SnapshotId: "STRING_VALUE", * // Iops: Number("int"), * // VolumeSize: Number("int"), - * // VolumeType: "STRING_VALUE", + * // VolumeType: "gp2" || "io1" || "standard", * // DeleteOnTermination: true || false, * // }, * // }, @@ -112,7 +112,7 @@ export interface DescribeInstancesCommandOutput extends DescribeInstancesResult, * // Name: "STRING_VALUE", * // Version: "STRING_VALUE", * // }, - * // RootDeviceType: "STRING_VALUE", + * // RootDeviceType: "ebs" || "instance-store", * // RootDeviceVolumeId: "STRING_VALUE", * // SecurityGroupIds: [ * // "STRING_VALUE", @@ -124,7 +124,7 @@ export interface DescribeInstancesCommandOutput extends DescribeInstancesResult, * // Status: "STRING_VALUE", * // SubnetId: "STRING_VALUE", * // Tenancy: "STRING_VALUE", - * // VirtualizationType: "STRING_VALUE", + * // VirtualizationType: "paravirtual" || "hvm", * // }, * // ], * // }; diff --git a/clients/client-opsworks/src/commands/DescribeLayersCommand.ts b/clients/client-opsworks/src/commands/DescribeLayersCommand.ts index 91b3ecb94c53b..fa81178b9d781 100644 --- a/clients/client-opsworks/src/commands/DescribeLayersCommand.ts +++ b/clients/client-opsworks/src/commands/DescribeLayersCommand.ts @@ -65,7 +65,7 @@ export interface DescribeLayersCommandOutput extends DescribeLayersResult, __Met * // Arn: "STRING_VALUE", * // StackId: "STRING_VALUE", * // LayerId: "STRING_VALUE", - * // Type: "STRING_VALUE", + * // Type: "aws-flow-ruby" || "ecs-cluster" || "java-app" || "lb" || "web" || "php-app" || "rails-app" || "nodejs-app" || "memcached" || "db-master" || "monitoring-master" || "custom", * // Name: "STRING_VALUE", * // Shortname: "STRING_VALUE", * // Attributes: { // LayerAttributes @@ -77,12 +77,12 @@ export interface DescribeLayersCommandOutput extends DescribeLayersResult, __Met * // { // CloudWatchLogsLogStream * // LogGroupName: "STRING_VALUE", * // DatetimeFormat: "STRING_VALUE", - * // TimeZone: "STRING_VALUE", + * // TimeZone: "LOCAL" || "UTC", * // File: "STRING_VALUE", * // FileFingerprintLines: "STRING_VALUE", * // MultiLineStartPattern: "STRING_VALUE", - * // InitialPosition: "STRING_VALUE", - * // Encoding: "STRING_VALUE", + * // InitialPosition: "start_of_file" || "end_of_file", + * // Encoding: "ascii" || "big5" || "big5hkscs" || "cp037" || "cp424" || "cp437" || "cp500" || "cp720" || "cp737" || "cp775" || "cp850" || "cp852" || "cp855" || "cp856" || "cp857" || "cp858" || "cp860" || "cp861" || "cp862" || "cp863" || "cp864" || "cp865" || "cp866" || "cp869" || "cp874" || "cp875" || "cp932" || "cp949" || "cp950" || "cp1006" || "cp1026" || "cp1140" || "cp1250" || "cp1251" || "cp1252" || "cp1253" || "cp1254" || "cp1255" || "cp1256" || "cp1257" || "cp1258" || "euc_jp" || "euc_jis_2004" || "euc_jisx0213" || "euc_kr" || "gb2312" || "gbk" || "gb18030" || "hz" || "iso2022_jp" || "iso2022_jp_1" || "iso2022_jp_2" || "iso2022_jp_2004" || "iso2022_jp_3" || "iso2022_jp_ext" || "iso2022_kr" || "latin_1" || "iso8859_2" || "iso8859_3" || "iso8859_4" || "iso8859_5" || "iso8859_6" || "iso8859_7" || "iso8859_8" || "iso8859_9" || "iso8859_10" || "iso8859_13" || "iso8859_14" || "iso8859_15" || "iso8859_16" || "johab" || "koi8_r" || "koi8_u" || "mac_cyrillic" || "mac_greek" || "mac_iceland" || "mac_latin2" || "mac_roman" || "mac_turkish" || "ptcp154" || "shift_jis" || "shift_jis_2004" || "shift_jisx0213" || "utf_32" || "utf_32_be" || "utf_32_le" || "utf_16" || "utf_16_be" || "utf_16_le" || "utf_7" || "utf_8" || "utf_8_sig", * // BufferDuration: Number("int"), * // BatchCount: Number("int"), * // BatchSize: Number("int"), diff --git a/clients/client-opsworks/src/commands/DescribeStacksCommand.ts b/clients/client-opsworks/src/commands/DescribeStacksCommand.ts index 6d9ecd7a844bd..3603f437b773e 100644 --- a/clients/client-opsworks/src/commands/DescribeStacksCommand.ts +++ b/clients/client-opsworks/src/commands/DescribeStacksCommand.ts @@ -84,7 +84,7 @@ export interface DescribeStacksCommandOutput extends DescribeStacksResult, __Met * // UseCustomCookbooks: true || false, * // UseOpsworksSecurityGroups: true || false, * // CustomCookbooksSource: { // Source - * // Type: "STRING_VALUE", + * // Type: "git" || "svn" || "archive" || "s3", * // Url: "STRING_VALUE", * // Username: "STRING_VALUE", * // Password: "STRING_VALUE", @@ -93,7 +93,7 @@ export interface DescribeStacksCommandOutput extends DescribeStacksResult, __Met * // }, * // DefaultSshKeyName: "STRING_VALUE", * // CreatedAt: "STRING_VALUE", - * // DefaultRootDeviceType: "STRING_VALUE", + * // DefaultRootDeviceType: "ebs" || "instance-store", * // AgentVersion: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-opsworks/src/commands/UpdateAppCommand.ts b/clients/client-opsworks/src/commands/UpdateAppCommand.ts index 8d85ba4a10f8a..662d03ee63ad3 100644 --- a/clients/client-opsworks/src/commands/UpdateAppCommand.ts +++ b/clients/client-opsworks/src/commands/UpdateAppCommand.ts @@ -59,9 +59,9 @@ export interface UpdateAppCommandOutput extends __MetadataBearer {} * DatabaseName: "STRING_VALUE", * }, * ], - * Type: "STRING_VALUE", + * Type: "aws-flow-ruby" || "java" || "rails" || "php" || "nodejs" || "static" || "other", * AppSource: { // Source - * Type: "STRING_VALUE", + * Type: "git" || "svn" || "archive" || "s3", * Url: "STRING_VALUE", * Username: "STRING_VALUE", * Password: "STRING_VALUE", diff --git a/clients/client-opsworks/src/commands/UpdateInstanceCommand.ts b/clients/client-opsworks/src/commands/UpdateInstanceCommand.ts index 86f21a68f87f3..b8807a5e869d1 100644 --- a/clients/client-opsworks/src/commands/UpdateInstanceCommand.ts +++ b/clients/client-opsworks/src/commands/UpdateInstanceCommand.ts @@ -54,12 +54,12 @@ export interface UpdateInstanceCommandOutput extends __MetadataBearer {} * "STRING_VALUE", * ], * InstanceType: "STRING_VALUE", - * AutoScalingType: "STRING_VALUE", + * AutoScalingType: "load" || "timer", * Hostname: "STRING_VALUE", * Os: "STRING_VALUE", * AmiId: "STRING_VALUE", * SshKeyName: "STRING_VALUE", - * Architecture: "STRING_VALUE", + * Architecture: "x86_64" || "i386", * InstallUpdatesOnBoot: true || false, * EbsOptimized: true || false, * AgentVersion: "STRING_VALUE", diff --git a/clients/client-opsworks/src/commands/UpdateLayerCommand.ts b/clients/client-opsworks/src/commands/UpdateLayerCommand.ts index 8d719c5c4f135..37730e8ad8f71 100644 --- a/clients/client-opsworks/src/commands/UpdateLayerCommand.ts +++ b/clients/client-opsworks/src/commands/UpdateLayerCommand.ts @@ -61,12 +61,12 @@ export interface UpdateLayerCommandOutput extends __MetadataBearer {} * { // CloudWatchLogsLogStream * LogGroupName: "STRING_VALUE", * DatetimeFormat: "STRING_VALUE", - * TimeZone: "STRING_VALUE", + * TimeZone: "LOCAL" || "UTC", * File: "STRING_VALUE", * FileFingerprintLines: "STRING_VALUE", * MultiLineStartPattern: "STRING_VALUE", - * InitialPosition: "STRING_VALUE", - * Encoding: "STRING_VALUE", + * InitialPosition: "start_of_file" || "end_of_file", + * Encoding: "ascii" || "big5" || "big5hkscs" || "cp037" || "cp424" || "cp437" || "cp500" || "cp720" || "cp737" || "cp775" || "cp850" || "cp852" || "cp855" || "cp856" || "cp857" || "cp858" || "cp860" || "cp861" || "cp862" || "cp863" || "cp864" || "cp865" || "cp866" || "cp869" || "cp874" || "cp875" || "cp932" || "cp949" || "cp950" || "cp1006" || "cp1026" || "cp1140" || "cp1250" || "cp1251" || "cp1252" || "cp1253" || "cp1254" || "cp1255" || "cp1256" || "cp1257" || "cp1258" || "euc_jp" || "euc_jis_2004" || "euc_jisx0213" || "euc_kr" || "gb2312" || "gbk" || "gb18030" || "hz" || "iso2022_jp" || "iso2022_jp_1" || "iso2022_jp_2" || "iso2022_jp_2004" || "iso2022_jp_3" || "iso2022_jp_ext" || "iso2022_kr" || "latin_1" || "iso8859_2" || "iso8859_3" || "iso8859_4" || "iso8859_5" || "iso8859_6" || "iso8859_7" || "iso8859_8" || "iso8859_9" || "iso8859_10" || "iso8859_13" || "iso8859_14" || "iso8859_15" || "iso8859_16" || "johab" || "koi8_r" || "koi8_u" || "mac_cyrillic" || "mac_greek" || "mac_iceland" || "mac_latin2" || "mac_roman" || "mac_turkish" || "ptcp154" || "shift_jis" || "shift_jis_2004" || "shift_jisx0213" || "utf_32" || "utf_32_be" || "utf_32_le" || "utf_16" || "utf_16_be" || "utf_16_le" || "utf_7" || "utf_8" || "utf_8_sig", * BufferDuration: Number("int"), * BatchCount: Number("int"), * BatchSize: Number("int"), diff --git a/clients/client-opsworks/src/commands/UpdateStackCommand.ts b/clients/client-opsworks/src/commands/UpdateStackCommand.ts index 3d119dcc6c4fe..ccc972de17610 100644 --- a/clients/client-opsworks/src/commands/UpdateStackCommand.ts +++ b/clients/client-opsworks/src/commands/UpdateStackCommand.ts @@ -71,7 +71,7 @@ export interface UpdateStackCommandOutput extends __MetadataBearer {} * }, * UseCustomCookbooks: true || false, * CustomCookbooksSource: { // Source - * Type: "STRING_VALUE", + * Type: "git" || "svn" || "archive" || "s3", * Url: "STRING_VALUE", * Username: "STRING_VALUE", * Password: "STRING_VALUE", @@ -79,7 +79,7 @@ export interface UpdateStackCommandOutput extends __MetadataBearer {} * Revision: "STRING_VALUE", * }, * DefaultSshKeyName: "STRING_VALUE", - * DefaultRootDeviceType: "STRING_VALUE", + * DefaultRootDeviceType: "ebs" || "instance-store", * UseOpsworksSecurityGroups: true || false, * AgentVersion: "STRING_VALUE", * }; diff --git a/clients/client-opsworks/src/endpoint/ruleset.ts b/clients/client-opsworks/src/endpoint/ruleset.ts index 3f095aea8da5c..113c17f18f56c 100644 --- a/clients/client-opsworks/src/endpoint/ruleset.ts +++ b/clients/client-opsworks/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/opsworks.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://opsworks-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://opsworks-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://opsworks.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://opsworks.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://opsworks-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://opsworks-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://opsworks.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://opsworks.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-opsworks/src/models/models_0.ts b/clients/client-opsworks/src/models/models_0.ts index b25a5996ad0f3..9efc1ee8ab8fc 100644 --- a/clients/client-opsworks/src/models/models_0.ts +++ b/clients/client-opsworks/src/models/models_0.ts @@ -41,8 +41,19 @@ export interface AgentVersion { /** * @public + * @enum */ -export type SourceType = "archive" | "git" | "s3" | "svn"; +export const SourceType = { + archive: "archive", + git: "git", + s3: "s3", + svn: "svn", +} as const; + +/** + * @public + */ +export type SourceType = (typeof SourceType)[keyof typeof SourceType]; /** * @public @@ -113,8 +124,19 @@ export interface Source { /** * @public + * @enum */ -export type AppAttributesKeys = "AutoBundleOnDeploy" | "AwsFlowRubySettings" | "DocumentRoot" | "RailsEnv"; +export const AppAttributesKeys = { + AutoBundleOnDeploy: "AutoBundleOnDeploy", + AwsFlowRubySettings: "AwsFlowRubySettings", + DocumentRoot: "DocumentRoot", + RailsEnv: "RailsEnv", +} as const; + +/** + * @public + */ +export type AppAttributesKeys = (typeof AppAttributesKeys)[keyof typeof AppAttributesKeys]; /** * @public @@ -192,10 +214,24 @@ export interface SslConfiguration { Chain?: string; } +/** + * @public + * @enum + */ +export const AppType = { + aws_flow_ruby: "aws-flow-ruby", + java: "java", + nodejs: "nodejs", + other: "other", + php: "php", + rails: "rails", + static: "static", +} as const; + /** * @public */ -export type AppType = "aws-flow-ruby" | "java" | "nodejs" | "other" | "php" | "rails" | "static"; +export type AppType = (typeof AppType)[keyof typeof AppType]; /** * @public @@ -296,8 +332,17 @@ export interface App { /** * @public + * @enum */ -export type Architecture = "i386" | "x86_64"; +export const Architecture = { + i386: "i386", + x86_64: "x86_64", +} as const; + +/** + * @public + */ +export type Architecture = (typeof Architecture)[keyof typeof Architecture]; /** * @public @@ -469,13 +514,32 @@ export interface AutoScalingThresholds { /** * @public + * @enum + */ +export const AutoScalingType = { + load: "load", + timer: "timer", +} as const; + +/** + * @public + */ +export type AutoScalingType = (typeof AutoScalingType)[keyof typeof AutoScalingType]; + +/** + * @public + * @enum */ -export type AutoScalingType = "load" | "timer"; +export const VolumeType = { + gp2: "gp2", + io1: "io1", + standard: "standard", +} as const; /** * @public */ -export type VolumeType = "gp2" | "io1" | "standard"; +export type VolumeType = (typeof VolumeType)[keyof typeof VolumeType]; /** * @public @@ -572,13 +636,30 @@ export interface ChefConfiguration { /** * @public + * @enum */ -export type StackAttributesKeys = "Color"; +export const StackAttributesKeys = { + Color: "Color", +} as const; /** * @public */ -export type RootDeviceType = "ebs" | "instance-store"; +export type StackAttributesKeys = (typeof StackAttributesKeys)[keyof typeof StackAttributesKeys]; + +/** + * @public + * @enum + */ +export const RootDeviceType = { + ebs: "ebs", + instance_store: "instance-store", +} as const; + +/** + * @public + */ +export type RootDeviceType = (typeof RootDeviceType)[keyof typeof RootDeviceType]; /** * @public @@ -921,110 +1002,136 @@ export interface CloneStackResult { /** * @public - */ -export type CloudWatchLogsEncoding = - | "ascii" - | "big5" - | "big5hkscs" - | "cp037" - | "cp1006" - | "cp1026" - | "cp1140" - | "cp1250" - | "cp1251" - | "cp1252" - | "cp1253" - | "cp1254" - | "cp1255" - | "cp1256" - | "cp1257" - | "cp1258" - | "cp424" - | "cp437" - | "cp500" - | "cp720" - | "cp737" - | "cp775" - | "cp850" - | "cp852" - | "cp855" - | "cp856" - | "cp857" - | "cp858" - | "cp860" - | "cp861" - | "cp862" - | "cp863" - | "cp864" - | "cp865" - | "cp866" - | "cp869" - | "cp874" - | "cp875" - | "cp932" - | "cp949" - | "cp950" - | "euc_jis_2004" - | "euc_jisx0213" - | "euc_jp" - | "euc_kr" - | "gb18030" - | "gb2312" - | "gbk" - | "hz" - | "iso2022_jp" - | "iso2022_jp_1" - | "iso2022_jp_2" - | "iso2022_jp_2004" - | "iso2022_jp_3" - | "iso2022_jp_ext" - | "iso2022_kr" - | "iso8859_10" - | "iso8859_13" - | "iso8859_14" - | "iso8859_15" - | "iso8859_16" - | "iso8859_2" - | "iso8859_3" - | "iso8859_4" - | "iso8859_5" - | "iso8859_6" - | "iso8859_7" - | "iso8859_8" - | "iso8859_9" - | "johab" - | "koi8_r" - | "koi8_u" - | "latin_1" - | "mac_cyrillic" - | "mac_greek" - | "mac_iceland" - | "mac_latin2" - | "mac_roman" - | "mac_turkish" - | "ptcp154" - | "shift_jis" - | "shift_jis_2004" - | "shift_jisx0213" - | "utf_16" - | "utf_16_be" - | "utf_16_le" - | "utf_32" - | "utf_32_be" - | "utf_32_le" - | "utf_7" - | "utf_8" - | "utf_8_sig"; - -/** - * @public - */ -export type CloudWatchLogsInitialPosition = "end_of_file" | "start_of_file"; - -/** - * @public - */ -export type CloudWatchLogsTimeZone = "LOCAL" | "UTC"; + * @enum + */ +export const CloudWatchLogsEncoding = { + ascii: "ascii", + big5: "big5", + big5hkscs: "big5hkscs", + cp037: "cp037", + cp1006: "cp1006", + cp1026: "cp1026", + cp1140: "cp1140", + cp1250: "cp1250", + cp1251: "cp1251", + cp1252: "cp1252", + cp1253: "cp1253", + cp1254: "cp1254", + cp1255: "cp1255", + cp1256: "cp1256", + cp1257: "cp1257", + cp1258: "cp1258", + cp424: "cp424", + cp437: "cp437", + cp500: "cp500", + cp720: "cp720", + cp737: "cp737", + cp775: "cp775", + cp850: "cp850", + cp852: "cp852", + cp855: "cp855", + cp856: "cp856", + cp857: "cp857", + cp858: "cp858", + cp860: "cp860", + cp861: "cp861", + cp862: "cp862", + cp863: "cp863", + cp864: "cp864", + cp865: "cp865", + cp866: "cp866", + cp869: "cp869", + cp874: "cp874", + cp875: "cp875", + cp932: "cp932", + cp949: "cp949", + cp950: "cp950", + euc_jis_2004: "euc_jis_2004", + euc_jisx0213: "euc_jisx0213", + euc_jp: "euc_jp", + euc_kr: "euc_kr", + gb18030: "gb18030", + gb2312: "gb2312", + gbk: "gbk", + hz: "hz", + iso2022_jp: "iso2022_jp", + iso2022_jp_1: "iso2022_jp_1", + iso2022_jp_2: "iso2022_jp_2", + iso2022_jp_2004: "iso2022_jp_2004", + iso2022_jp_3: "iso2022_jp_3", + iso2022_jp_ext: "iso2022_jp_ext", + iso2022_kr: "iso2022_kr", + iso8859_10: "iso8859_10", + iso8859_13: "iso8859_13", + iso8859_14: "iso8859_14", + iso8859_15: "iso8859_15", + iso8859_16: "iso8859_16", + iso8859_2: "iso8859_2", + iso8859_3: "iso8859_3", + iso8859_4: "iso8859_4", + iso8859_5: "iso8859_5", + iso8859_6: "iso8859_6", + iso8859_7: "iso8859_7", + iso8859_8: "iso8859_8", + iso8859_9: "iso8859_9", + johab: "johab", + koi8_r: "koi8_r", + koi8_u: "koi8_u", + latin_1: "latin_1", + mac_cyrillic: "mac_cyrillic", + mac_greek: "mac_greek", + mac_iceland: "mac_iceland", + mac_latin2: "mac_latin2", + mac_roman: "mac_roman", + mac_turkish: "mac_turkish", + ptcp154: "ptcp154", + shift_jis: "shift_jis", + shift_jis_2004: "shift_jis_2004", + shift_jisx0213: "shift_jisx0213", + utf_16: "utf_16", + utf_16_be: "utf_16_be", + utf_16_le: "utf_16_le", + utf_32: "utf_32", + utf_32_be: "utf_32_be", + utf_32_le: "utf_32_le", + utf_7: "utf_7", + utf_8: "utf_8", + utf_8_sig: "utf_8_sig", +} as const; + +/** + * @public + */ +export type CloudWatchLogsEncoding = (typeof CloudWatchLogsEncoding)[keyof typeof CloudWatchLogsEncoding]; + +/** + * @public + * @enum + */ +export const CloudWatchLogsInitialPosition = { + end_of_file: "end_of_file", + start_of_file: "start_of_file", +} as const; + +/** + * @public + */ +export type CloudWatchLogsInitialPosition = + (typeof CloudWatchLogsInitialPosition)[keyof typeof CloudWatchLogsInitialPosition]; + +/** + * @public + * @enum + */ +export const CloudWatchLogsTimeZone = { + LOCAL: "LOCAL", + UTC: "UTC", +} as const; + +/** + * @public + */ +export type CloudWatchLogsTimeZone = (typeof CloudWatchLogsTimeZone)[keyof typeof CloudWatchLogsTimeZone]; /** * @public @@ -1375,22 +1482,29 @@ export interface CreateAppResult { AppId?: string; } +/** + * @public + * @enum + */ +export const DeploymentCommandName = { + configure: "configure", + deploy: "deploy", + execute_recipes: "execute_recipes", + install_dependencies: "install_dependencies", + restart: "restart", + rollback: "rollback", + setup: "setup", + start: "start", + stop: "stop", + undeploy: "undeploy", + update_custom_cookbooks: "update_custom_cookbooks", + update_dependencies: "update_dependencies", +} as const; + /** * @public */ -export type DeploymentCommandName = - | "configure" - | "deploy" - | "execute_recipes" - | "install_dependencies" - | "restart" - | "rollback" - | "setup" - | "start" - | "stop" - | "undeploy" - | "update_custom_cookbooks" - | "update_dependencies"; +export type DeploymentCommandName = (typeof DeploymentCommandName)[keyof typeof DeploymentCommandName]; /** * @public @@ -1757,33 +1871,40 @@ export interface CreateInstanceResult { /** * @public + * @enum */ -export type LayerAttributesKeys = - | "BundlerVersion" - | "EcsClusterArn" - | "EnableHaproxyStats" - | "GangliaPassword" - | "GangliaUrl" - | "GangliaUser" - | "HaproxyHealthCheckMethod" - | "HaproxyHealthCheckUrl" - | "HaproxyStatsPassword" - | "HaproxyStatsUrl" - | "HaproxyStatsUser" - | "JavaAppServer" - | "JavaAppServerVersion" - | "Jvm" - | "JvmOptions" - | "JvmVersion" - | "ManageBundler" - | "MemcachedMemory" - | "MysqlRootPassword" - | "MysqlRootPasswordUbiquitous" - | "NodejsVersion" - | "PassengerVersion" - | "RailsStack" - | "RubyVersion" - | "RubygemsVersion"; +export const LayerAttributesKeys = { + BundlerVersion: "BundlerVersion", + EcsClusterArn: "EcsClusterArn", + EnableHaproxyStats: "EnableHaproxyStats", + GangliaPassword: "GangliaPassword", + GangliaUrl: "GangliaUrl", + GangliaUser: "GangliaUser", + HaproxyHealthCheckMethod: "HaproxyHealthCheckMethod", + HaproxyHealthCheckUrl: "HaproxyHealthCheckUrl", + HaproxyStatsPassword: "HaproxyStatsPassword", + HaproxyStatsUrl: "HaproxyStatsUrl", + HaproxyStatsUser: "HaproxyStatsUser", + JavaAppServer: "JavaAppServer", + JavaAppServerVersion: "JavaAppServerVersion", + Jvm: "Jvm", + JvmOptions: "JvmOptions", + JvmVersion: "JvmVersion", + ManageBundler: "ManageBundler", + MemcachedMemory: "MemcachedMemory", + MysqlRootPassword: "MysqlRootPassword", + MysqlRootPasswordUbiquitous: "MysqlRootPasswordUbiquitous", + NodejsVersion: "NodejsVersion", + PassengerVersion: "PassengerVersion", + RailsStack: "RailsStack", + RubyVersion: "RubyVersion", + RubygemsVersion: "RubygemsVersion", +} as const; + +/** + * @public + */ +export type LayerAttributesKeys = (typeof LayerAttributesKeys)[keyof typeof LayerAttributesKeys]; /** * @public @@ -1861,22 +1982,29 @@ export interface LifecycleEventConfiguration { Shutdown?: ShutdownEventConfiguration; } +/** + * @public + * @enum + */ +export const LayerType = { + aws_flow_ruby: "aws-flow-ruby", + custom: "custom", + db_master: "db-master", + ecs_cluster: "ecs-cluster", + java_app: "java-app", + lb: "lb", + memcached: "memcached", + monitoring_master: "monitoring-master", + nodejs_app: "nodejs-app", + php_app: "php-app", + rails_app: "rails-app", + web: "web", +} as const; + /** * @public */ -export type LayerType = - | "aws-flow-ruby" - | "custom" - | "db-master" - | "ecs-cluster" - | "java-app" - | "lb" - | "memcached" - | "monitoring-master" - | "nodejs-app" - | "php-app" - | "rails-app" - | "web"; +export type LayerType = (typeof LayerType)[keyof typeof LayerType]; /** * @public @@ -3137,10 +3265,19 @@ export interface ReportedOs { Version?: string; } +/** + * @public + * @enum + */ +export const VirtualizationType = { + hvm: "hvm", + paravirtual: "paravirtual", +} as const; + /** * @public */ -export type VirtualizationType = "hvm" | "paravirtual"; +export type VirtualizationType = (typeof VirtualizationType)[keyof typeof VirtualizationType]; /** * @public diff --git a/clients/client-opsworkscm/src/commands/CreateBackupCommand.ts b/clients/client-opsworkscm/src/commands/CreateBackupCommand.ts index 24077e5744774..d35b1a104d676 100644 --- a/clients/client-opsworkscm/src/commands/CreateBackupCommand.ts +++ b/clients/client-opsworkscm/src/commands/CreateBackupCommand.ts @@ -76,7 +76,7 @@ export interface CreateBackupCommandOutput extends CreateBackupResponse, __Metad * // Backup: { // Backup * // BackupArn: "STRING_VALUE", * // BackupId: "STRING_VALUE", - * // BackupType: "STRING_VALUE", + * // BackupType: "AUTOMATED" || "MANUAL", * // CreatedAt: new Date("TIMESTAMP"), * // Description: "STRING_VALUE", * // Engine: "STRING_VALUE", @@ -95,7 +95,7 @@ export interface CreateBackupCommandOutput extends CreateBackupResponse, __Metad * // ], * // ServerName: "STRING_VALUE", * // ServiceRoleArn: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "IN_PROGRESS" || "OK" || "FAILED" || "DELETING", * // StatusDescription: "STRING_VALUE", * // SubnetIds: [ * // "STRING_VALUE", diff --git a/clients/client-opsworkscm/src/commands/CreateServerCommand.ts b/clients/client-opsworkscm/src/commands/CreateServerCommand.ts index f5f1b23058e8a..f78b0ebe7b979 100644 --- a/clients/client-opsworkscm/src/commands/CreateServerCommand.ts +++ b/clients/client-opsworkscm/src/commands/CreateServerCommand.ts @@ -136,14 +136,14 @@ export interface CreateServerCommandOutput extends CreateServerResponse, __Metad * // InstanceProfileArn: "STRING_VALUE", * // InstanceType: "STRING_VALUE", * // KeyPair: "STRING_VALUE", - * // MaintenanceStatus: "STRING_VALUE", + * // MaintenanceStatus: "SUCCESS" || "FAILED", * // PreferredMaintenanceWindow: "STRING_VALUE", * // PreferredBackupWindow: "STRING_VALUE", * // SecurityGroupIds: [ // Strings * // "STRING_VALUE", * // ], * // ServiceRoleArn: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "BACKING_UP" || "CONNECTION_LOST" || "CREATING" || "DELETING" || "MODIFYING" || "FAILED" || "HEALTHY" || "RUNNING" || "RESTORING" || "SETUP" || "UNDER_MAINTENANCE" || "UNHEALTHY" || "TERMINATED", * // StatusReason: "STRING_VALUE", * // SubnetIds: [ * // "STRING_VALUE", diff --git a/clients/client-opsworkscm/src/commands/DescribeBackupsCommand.ts b/clients/client-opsworkscm/src/commands/DescribeBackupsCommand.ts index bbcfd7c6cd821..63cef00ebd09f 100644 --- a/clients/client-opsworkscm/src/commands/DescribeBackupsCommand.ts +++ b/clients/client-opsworkscm/src/commands/DescribeBackupsCommand.ts @@ -66,7 +66,7 @@ export interface DescribeBackupsCommandOutput extends DescribeBackupsResponse, _ * // { // Backup * // BackupArn: "STRING_VALUE", * // BackupId: "STRING_VALUE", - * // BackupType: "STRING_VALUE", + * // BackupType: "AUTOMATED" || "MANUAL", * // CreatedAt: new Date("TIMESTAMP"), * // Description: "STRING_VALUE", * // Engine: "STRING_VALUE", @@ -85,7 +85,7 @@ export interface DescribeBackupsCommandOutput extends DescribeBackupsResponse, _ * // ], * // ServerName: "STRING_VALUE", * // ServiceRoleArn: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "IN_PROGRESS" || "OK" || "FAILED" || "DELETING", * // StatusDescription: "STRING_VALUE", * // SubnetIds: [ * // "STRING_VALUE", diff --git a/clients/client-opsworkscm/src/commands/DescribeNodeAssociationStatusCommand.ts b/clients/client-opsworkscm/src/commands/DescribeNodeAssociationStatusCommand.ts index 0564064b7e3b4..55ae9a11f619f 100644 --- a/clients/client-opsworkscm/src/commands/DescribeNodeAssociationStatusCommand.ts +++ b/clients/client-opsworkscm/src/commands/DescribeNodeAssociationStatusCommand.ts @@ -65,7 +65,7 @@ export interface DescribeNodeAssociationStatusCommandOutput * const command = new DescribeNodeAssociationStatusCommand(input); * const response = await client.send(command); * // { // DescribeNodeAssociationStatusResponse - * // NodeAssociationStatus: "STRING_VALUE", + * // NodeAssociationStatus: "SUCCESS" || "FAILED" || "IN_PROGRESS", * // EngineAttributes: [ // EngineAttributes * // { // EngineAttribute * // Name: "STRING_VALUE", diff --git a/clients/client-opsworkscm/src/commands/DescribeServersCommand.ts b/clients/client-opsworkscm/src/commands/DescribeServersCommand.ts index c572730320908..c7852838d1ace 100644 --- a/clients/client-opsworkscm/src/commands/DescribeServersCommand.ts +++ b/clients/client-opsworkscm/src/commands/DescribeServersCommand.ts @@ -88,14 +88,14 @@ export interface DescribeServersCommandOutput extends DescribeServersResponse, _ * // InstanceProfileArn: "STRING_VALUE", * // InstanceType: "STRING_VALUE", * // KeyPair: "STRING_VALUE", - * // MaintenanceStatus: "STRING_VALUE", + * // MaintenanceStatus: "SUCCESS" || "FAILED", * // PreferredMaintenanceWindow: "STRING_VALUE", * // PreferredBackupWindow: "STRING_VALUE", * // SecurityGroupIds: [ // Strings * // "STRING_VALUE", * // ], * // ServiceRoleArn: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "BACKING_UP" || "CONNECTION_LOST" || "CREATING" || "DELETING" || "MODIFYING" || "FAILED" || "HEALTHY" || "RUNNING" || "RESTORING" || "SETUP" || "UNDER_MAINTENANCE" || "UNHEALTHY" || "TERMINATED", * // StatusReason: "STRING_VALUE", * // SubnetIds: [ * // "STRING_VALUE", diff --git a/clients/client-opsworkscm/src/commands/RestoreServerCommand.ts b/clients/client-opsworkscm/src/commands/RestoreServerCommand.ts index 3851b490c287b..581c1b8e8416c 100644 --- a/clients/client-opsworkscm/src/commands/RestoreServerCommand.ts +++ b/clients/client-opsworkscm/src/commands/RestoreServerCommand.ts @@ -91,14 +91,14 @@ export interface RestoreServerCommandOutput extends RestoreServerResponse, __Met * // InstanceProfileArn: "STRING_VALUE", * // InstanceType: "STRING_VALUE", * // KeyPair: "STRING_VALUE", - * // MaintenanceStatus: "STRING_VALUE", + * // MaintenanceStatus: "SUCCESS" || "FAILED", * // PreferredMaintenanceWindow: "STRING_VALUE", * // PreferredBackupWindow: "STRING_VALUE", * // SecurityGroupIds: [ // Strings * // "STRING_VALUE", * // ], * // ServiceRoleArn: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "BACKING_UP" || "CONNECTION_LOST" || "CREATING" || "DELETING" || "MODIFYING" || "FAILED" || "HEALTHY" || "RUNNING" || "RESTORING" || "SETUP" || "UNDER_MAINTENANCE" || "UNHEALTHY" || "TERMINATED", * // StatusReason: "STRING_VALUE", * // SubnetIds: [ * // "STRING_VALUE", diff --git a/clients/client-opsworkscm/src/commands/StartMaintenanceCommand.ts b/clients/client-opsworkscm/src/commands/StartMaintenanceCommand.ts index ba25875208c60..9012de573f330 100644 --- a/clients/client-opsworkscm/src/commands/StartMaintenanceCommand.ts +++ b/clients/client-opsworkscm/src/commands/StartMaintenanceCommand.ts @@ -88,14 +88,14 @@ export interface StartMaintenanceCommandOutput extends StartMaintenanceResponse, * // InstanceProfileArn: "STRING_VALUE", * // InstanceType: "STRING_VALUE", * // KeyPair: "STRING_VALUE", - * // MaintenanceStatus: "STRING_VALUE", + * // MaintenanceStatus: "SUCCESS" || "FAILED", * // PreferredMaintenanceWindow: "STRING_VALUE", * // PreferredBackupWindow: "STRING_VALUE", * // SecurityGroupIds: [ // Strings * // "STRING_VALUE", * // ], * // ServiceRoleArn: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "BACKING_UP" || "CONNECTION_LOST" || "CREATING" || "DELETING" || "MODIFYING" || "FAILED" || "HEALTHY" || "RUNNING" || "RESTORING" || "SETUP" || "UNDER_MAINTENANCE" || "UNHEALTHY" || "TERMINATED", * // StatusReason: "STRING_VALUE", * // SubnetIds: [ * // "STRING_VALUE", diff --git a/clients/client-opsworkscm/src/commands/UpdateServerCommand.ts b/clients/client-opsworkscm/src/commands/UpdateServerCommand.ts index 3b16a59e27f0e..57de4733f70e2 100644 --- a/clients/client-opsworkscm/src/commands/UpdateServerCommand.ts +++ b/clients/client-opsworkscm/src/commands/UpdateServerCommand.ts @@ -79,14 +79,14 @@ export interface UpdateServerCommandOutput extends UpdateServerResponse, __Metad * // InstanceProfileArn: "STRING_VALUE", * // InstanceType: "STRING_VALUE", * // KeyPair: "STRING_VALUE", - * // MaintenanceStatus: "STRING_VALUE", + * // MaintenanceStatus: "SUCCESS" || "FAILED", * // PreferredMaintenanceWindow: "STRING_VALUE", * // PreferredBackupWindow: "STRING_VALUE", * // SecurityGroupIds: [ // Strings * // "STRING_VALUE", * // ], * // ServiceRoleArn: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "BACKING_UP" || "CONNECTION_LOST" || "CREATING" || "DELETING" || "MODIFYING" || "FAILED" || "HEALTHY" || "RUNNING" || "RESTORING" || "SETUP" || "UNDER_MAINTENANCE" || "UNHEALTHY" || "TERMINATED", * // StatusReason: "STRING_VALUE", * // SubnetIds: [ * // "STRING_VALUE", diff --git a/clients/client-opsworkscm/src/commands/UpdateServerEngineAttributesCommand.ts b/clients/client-opsworkscm/src/commands/UpdateServerEngineAttributesCommand.ts index 1787f240b9917..8bba8122b1b35 100644 --- a/clients/client-opsworkscm/src/commands/UpdateServerEngineAttributesCommand.ts +++ b/clients/client-opsworkscm/src/commands/UpdateServerEngineAttributesCommand.ts @@ -94,14 +94,14 @@ export interface UpdateServerEngineAttributesCommandOutput * // InstanceProfileArn: "STRING_VALUE", * // InstanceType: "STRING_VALUE", * // KeyPair: "STRING_VALUE", - * // MaintenanceStatus: "STRING_VALUE", + * // MaintenanceStatus: "SUCCESS" || "FAILED", * // PreferredMaintenanceWindow: "STRING_VALUE", * // PreferredBackupWindow: "STRING_VALUE", * // SecurityGroupIds: [ // Strings * // "STRING_VALUE", * // ], * // ServiceRoleArn: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "BACKING_UP" || "CONNECTION_LOST" || "CREATING" || "DELETING" || "MODIFYING" || "FAILED" || "HEALTHY" || "RUNNING" || "RESTORING" || "SETUP" || "UNDER_MAINTENANCE" || "UNHEALTHY" || "TERMINATED", * // StatusReason: "STRING_VALUE", * // SubnetIds: [ * // "STRING_VALUE", diff --git a/clients/client-opsworkscm/src/endpoint/ruleset.ts b/clients/client-opsworkscm/src/endpoint/ruleset.ts index 5e2043c6afb09..ea621c8dd458d 100644 --- a/clients/client-opsworkscm/src/endpoint/ruleset.ts +++ b/clients/client-opsworkscm/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/opsworkscm.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://opsworks-cm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://opsworks-cm-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://opsworks-cm.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://opsworks-cm.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://opsworks-cm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://opsworks-cm-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://opsworks-cm.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://opsworks-cm.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-outposts/src/endpoint/ruleset.ts b/clients/client-outposts/src/endpoint/ruleset.ts index 0fecb8389f9cc..22bff87353679 100644 --- a/clients/client-outposts/src/endpoint/ruleset.ts +++ b/clients/client-outposts/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, p=[j], q=[k], r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://outposts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://outposts.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://outposts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://outposts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://outposts.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://outposts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://outposts.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://outposts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://outposts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://outposts.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-panorama/src/endpoint/EndpointParameters.ts b/clients/client-panorama/src/endpoint/EndpointParameters.ts index 1db18177951ae..53e495b5e19d7 100644 --- a/clients/client-panorama/src/endpoint/EndpointParameters.ts +++ b/clients/client-panorama/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-panorama/src/endpoint/ruleset.ts b/clients/client-panorama/src/endpoint/ruleset.ts index 4bff4ac600d9b..2b08fa6759084 100644 --- a/clients/client-panorama/src/endpoint/ruleset.ts +++ b/clients/client-panorama/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/panorama.json */ -const q="fn", -r="argv", -s="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h={"required":true,"default":false,"type":"Boolean"}, -i={[s]:"Endpoint"}, -j={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -k={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -l={}, -m={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsFIPS"]}]}, -n={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsDualStack"]}]}, +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], o=[j], -p=[k]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[q]:"isSet",[r]:[i]}],type:e,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{endpoint:{url:"https://panorama-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:o,type:e,rules:[{conditions:[m],type:e,rules:[{endpoint:{url:"https://panorama-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:p,type:e,rules:[{conditions:[n],type:e,rules:[{endpoint:{url:"https://panorama.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{endpoint:{url:"https://panorama.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]}; +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://panorama-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://panorama-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://panorama.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://panorama.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-personalize-events/src/endpoint/ruleset.ts b/clients/client-personalize-events/src/endpoint/ruleset.ts index a6fb295419b2a..36d9f68d302c6 100644 --- a/clients/client-personalize-events/src/endpoint/ruleset.ts +++ b/clients/client-personalize-events/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/personalize-events.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://personalize-events-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://personalize-events-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://personalize-events.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://personalize-events.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://personalize-events-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://personalize-events-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://personalize-events.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://personalize-events.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-personalize-events/src/models/models_0.ts b/clients/client-personalize-events/src/models/models_0.ts index fc79dac9751b1..d9f67cc7df057 100644 --- a/clients/client-personalize-events/src/models/models_0.ts +++ b/clients/client-personalize-events/src/models/models_0.ts @@ -79,7 +79,6 @@ export interface Event { * user rates a movie on your site, other than movie ID (itemId) and rating (eventValue) * , you might also send the number of movie ratings made by the user.

                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                          Each item in the map consists of a key-value pair. For example,

                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                          * \{"numberOfRatings": "12"\} *

                                                                                                                                                                                                                                                          diff --git a/clients/client-personalize-runtime/src/endpoint/ruleset.ts b/clients/client-personalize-runtime/src/endpoint/ruleset.ts index bfba48d1f3c89..d81ff3423ab60 100644 --- a/clients/client-personalize-runtime/src/endpoint/ruleset.ts +++ b/clients/client-personalize-runtime/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/personalize-runtime.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://personalize-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://personalize-runtime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://personalize-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://personalize-runtime.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://personalize-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://personalize-runtime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://personalize-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://personalize-runtime.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-personalize/src/endpoint/ruleset.ts b/clients/client-personalize/src/endpoint/ruleset.ts index 3ec704286ea43..cb3576166545d 100644 --- a/clients/client-personalize/src/endpoint/ruleset.ts +++ b/clients/client-personalize/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://personalize-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://personalize-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://personalize.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://personalize.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://personalize-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://personalize-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://personalize.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://personalize.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-pinpoint-email/src/commands/CreateConfigurationSetCommand.ts b/clients/client-pinpoint-email/src/commands/CreateConfigurationSetCommand.ts index f7a5552ab481e..2bcee1c176e02 100644 --- a/clients/client-pinpoint-email/src/commands/CreateConfigurationSetCommand.ts +++ b/clients/client-pinpoint-email/src/commands/CreateConfigurationSetCommand.ts @@ -53,7 +53,7 @@ export interface CreateConfigurationSetCommandOutput extends CreateConfiguration * CustomRedirectDomain: "STRING_VALUE", // required * }, * DeliveryOptions: { // DeliveryOptions - * TlsPolicy: "STRING_VALUE", + * TlsPolicy: "REQUIRE" || "OPTIONAL", * SendingPoolName: "STRING_VALUE", * }, * ReputationOptions: { // ReputationOptions diff --git a/clients/client-pinpoint-email/src/commands/CreateConfigurationSetEventDestinationCommand.ts b/clients/client-pinpoint-email/src/commands/CreateConfigurationSetEventDestinationCommand.ts index 81090aad92400..fc23e5a061491 100644 --- a/clients/client-pinpoint-email/src/commands/CreateConfigurationSetEventDestinationCommand.ts +++ b/clients/client-pinpoint-email/src/commands/CreateConfigurationSetEventDestinationCommand.ts @@ -64,7 +64,7 @@ export interface CreateConfigurationSetEventDestinationCommandOutput * EventDestination: { // EventDestinationDefinition * Enabled: true || false, * MatchingEventTypes: [ // EventTypes - * "STRING_VALUE", + * "SEND" || "REJECT" || "BOUNCE" || "COMPLAINT" || "DELIVERY" || "OPEN" || "CLICK" || "RENDERING_FAILURE", * ], * KinesisFirehoseDestination: { // KinesisFirehoseDestination * IamRoleArn: "STRING_VALUE", // required @@ -74,7 +74,7 @@ export interface CreateConfigurationSetEventDestinationCommandOutput * DimensionConfigurations: [ // CloudWatchDimensionConfigurations // required * { // CloudWatchDimensionConfiguration * DimensionName: "STRING_VALUE", // required - * DimensionValueSource: "STRING_VALUE", // required + * DimensionValueSource: "MESSAGE_TAG" || "EMAIL_HEADER" || "LINK_TAG", // required * DefaultDimensionValue: "STRING_VALUE", // required * }, * ], diff --git a/clients/client-pinpoint-email/src/commands/CreateDeliverabilityTestReportCommand.ts b/clients/client-pinpoint-email/src/commands/CreateDeliverabilityTestReportCommand.ts index d8cfa70f5048d..37d1bcdd2ff25 100644 --- a/clients/client-pinpoint-email/src/commands/CreateDeliverabilityTestReportCommand.ts +++ b/clients/client-pinpoint-email/src/commands/CreateDeliverabilityTestReportCommand.ts @@ -93,7 +93,7 @@ export interface CreateDeliverabilityTestReportCommandOutput * const response = await client.send(command); * // { // CreateDeliverabilityTestReportResponse * // ReportId: "STRING_VALUE", // required - * // DeliverabilityTestStatus: "STRING_VALUE", // required + * // DeliverabilityTestStatus: "IN_PROGRESS" || "COMPLETED", // required * // }; * * ``` diff --git a/clients/client-pinpoint-email/src/commands/CreateEmailIdentityCommand.ts b/clients/client-pinpoint-email/src/commands/CreateEmailIdentityCommand.ts index 7f567fb32d1e1..43e56fa51949e 100644 --- a/clients/client-pinpoint-email/src/commands/CreateEmailIdentityCommand.ts +++ b/clients/client-pinpoint-email/src/commands/CreateEmailIdentityCommand.ts @@ -68,11 +68,11 @@ export interface CreateEmailIdentityCommandOutput extends CreateEmailIdentityRes * const command = new CreateEmailIdentityCommand(input); * const response = await client.send(command); * // { // CreateEmailIdentityResponse - * // IdentityType: "STRING_VALUE", + * // IdentityType: "EMAIL_ADDRESS" || "DOMAIN" || "MANAGED_DOMAIN", * // VerifiedForSendingStatus: true || false, * // DkimAttributes: { // DkimAttributes * // SigningEnabled: true || false, - * // Status: "STRING_VALUE", + * // Status: "PENDING" || "SUCCESS" || "FAILED" || "TEMPORARY_FAILURE" || "NOT_STARTED", * // Tokens: [ // DnsTokenList * // "STRING_VALUE", * // ], diff --git a/clients/client-pinpoint-email/src/commands/GetConfigurationSetCommand.ts b/clients/client-pinpoint-email/src/commands/GetConfigurationSetCommand.ts index c3e912778eadb..6f6cef12b2e15 100644 --- a/clients/client-pinpoint-email/src/commands/GetConfigurationSetCommand.ts +++ b/clients/client-pinpoint-email/src/commands/GetConfigurationSetCommand.ts @@ -61,7 +61,7 @@ export interface GetConfigurationSetCommandOutput extends GetConfigurationSetRes * // CustomRedirectDomain: "STRING_VALUE", // required * // }, * // DeliveryOptions: { // DeliveryOptions - * // TlsPolicy: "STRING_VALUE", + * // TlsPolicy: "REQUIRE" || "OPTIONAL", * // SendingPoolName: "STRING_VALUE", * // }, * // ReputationOptions: { // ReputationOptions diff --git a/clients/client-pinpoint-email/src/commands/GetConfigurationSetEventDestinationsCommand.ts b/clients/client-pinpoint-email/src/commands/GetConfigurationSetEventDestinationsCommand.ts index 9f22056eea709..2794266712727 100644 --- a/clients/client-pinpoint-email/src/commands/GetConfigurationSetEventDestinationsCommand.ts +++ b/clients/client-pinpoint-email/src/commands/GetConfigurationSetEventDestinationsCommand.ts @@ -68,7 +68,7 @@ export interface GetConfigurationSetEventDestinationsCommandOutput * // Name: "STRING_VALUE", // required * // Enabled: true || false, * // MatchingEventTypes: [ // EventTypes // required - * // "STRING_VALUE", + * // "SEND" || "REJECT" || "BOUNCE" || "COMPLAINT" || "DELIVERY" || "OPEN" || "CLICK" || "RENDERING_FAILURE", * // ], * // KinesisFirehoseDestination: { // KinesisFirehoseDestination * // IamRoleArn: "STRING_VALUE", // required @@ -78,7 +78,7 @@ export interface GetConfigurationSetEventDestinationsCommandOutput * // DimensionConfigurations: [ // CloudWatchDimensionConfigurations // required * // { // CloudWatchDimensionConfiguration * // DimensionName: "STRING_VALUE", // required - * // DimensionValueSource: "STRING_VALUE", // required + * // DimensionValueSource: "MESSAGE_TAG" || "EMAIL_HEADER" || "LINK_TAG", // required * // DefaultDimensionValue: "STRING_VALUE", // required * // }, * // ], diff --git a/clients/client-pinpoint-email/src/commands/GetDedicatedIpCommand.ts b/clients/client-pinpoint-email/src/commands/GetDedicatedIpCommand.ts index 07fed9cb9961e..2462351becb5a 100644 --- a/clients/client-pinpoint-email/src/commands/GetDedicatedIpCommand.ts +++ b/clients/client-pinpoint-email/src/commands/GetDedicatedIpCommand.ts @@ -53,7 +53,7 @@ export interface GetDedicatedIpCommandOutput extends GetDedicatedIpResponse, __M * // { // GetDedicatedIpResponse * // DedicatedIp: { // DedicatedIp * // Ip: "STRING_VALUE", // required - * // WarmupStatus: "STRING_VALUE", // required + * // WarmupStatus: "IN_PROGRESS" || "DONE", // required * // WarmupPercentage: Number("int"), // required * // PoolName: "STRING_VALUE", * // }, diff --git a/clients/client-pinpoint-email/src/commands/GetDedicatedIpsCommand.ts b/clients/client-pinpoint-email/src/commands/GetDedicatedIpsCommand.ts index 7270b1b182454..4e3683d8b96c0 100644 --- a/clients/client-pinpoint-email/src/commands/GetDedicatedIpsCommand.ts +++ b/clients/client-pinpoint-email/src/commands/GetDedicatedIpsCommand.ts @@ -55,7 +55,7 @@ export interface GetDedicatedIpsCommandOutput extends GetDedicatedIpsResponse, _ * // DedicatedIps: [ // DedicatedIpList * // { // DedicatedIp * // Ip: "STRING_VALUE", // required - * // WarmupStatus: "STRING_VALUE", // required + * // WarmupStatus: "IN_PROGRESS" || "DONE", // required * // WarmupPercentage: Number("int"), // required * // PoolName: "STRING_VALUE", * // }, diff --git a/clients/client-pinpoint-email/src/commands/GetDeliverabilityDashboardOptionsCommand.ts b/clients/client-pinpoint-email/src/commands/GetDeliverabilityDashboardOptionsCommand.ts index 759dd524e747b..5eaad9efc926d 100644 --- a/clients/client-pinpoint-email/src/commands/GetDeliverabilityDashboardOptionsCommand.ts +++ b/clients/client-pinpoint-email/src/commands/GetDeliverabilityDashboardOptionsCommand.ts @@ -63,7 +63,7 @@ export interface GetDeliverabilityDashboardOptionsCommandOutput * // { // GetDeliverabilityDashboardOptionsResponse * // DashboardEnabled: true || false, // required * // SubscriptionExpiryDate: new Date("TIMESTAMP"), - * // AccountStatus: "STRING_VALUE", + * // AccountStatus: "ACTIVE" || "PENDING_EXPIRATION" || "DISABLED", * // ActiveSubscribedDomains: [ // DomainDeliverabilityTrackingOptions * // { // DomainDeliverabilityTrackingOption * // Domain: "STRING_VALUE", diff --git a/clients/client-pinpoint-email/src/commands/GetDeliverabilityTestReportCommand.ts b/clients/client-pinpoint-email/src/commands/GetDeliverabilityTestReportCommand.ts index 90794bfc12198..55095aabec31f 100644 --- a/clients/client-pinpoint-email/src/commands/GetDeliverabilityTestReportCommand.ts +++ b/clients/client-pinpoint-email/src/commands/GetDeliverabilityTestReportCommand.ts @@ -60,7 +60,7 @@ export interface GetDeliverabilityTestReportCommandOutput * // Subject: "STRING_VALUE", * // FromEmailAddress: "STRING_VALUE", * // CreateDate: new Date("TIMESTAMP"), - * // DeliverabilityTestStatus: "STRING_VALUE", + * // DeliverabilityTestStatus: "IN_PROGRESS" || "COMPLETED", * // }, * // OverallPlacement: { // PlacementStatistics * // InboxPercentage: Number("double"), diff --git a/clients/client-pinpoint-email/src/commands/GetEmailIdentityCommand.ts b/clients/client-pinpoint-email/src/commands/GetEmailIdentityCommand.ts index 73d3a4a55629e..b6e715a5d4d60 100644 --- a/clients/client-pinpoint-email/src/commands/GetEmailIdentityCommand.ts +++ b/clients/client-pinpoint-email/src/commands/GetEmailIdentityCommand.ts @@ -51,20 +51,20 @@ export interface GetEmailIdentityCommandOutput extends GetEmailIdentityResponse, * const command = new GetEmailIdentityCommand(input); * const response = await client.send(command); * // { // GetEmailIdentityResponse - * // IdentityType: "STRING_VALUE", + * // IdentityType: "EMAIL_ADDRESS" || "DOMAIN" || "MANAGED_DOMAIN", * // FeedbackForwardingStatus: true || false, * // VerifiedForSendingStatus: true || false, * // DkimAttributes: { // DkimAttributes * // SigningEnabled: true || false, - * // Status: "STRING_VALUE", + * // Status: "PENDING" || "SUCCESS" || "FAILED" || "TEMPORARY_FAILURE" || "NOT_STARTED", * // Tokens: [ // DnsTokenList * // "STRING_VALUE", * // ], * // }, * // MailFromAttributes: { // MailFromAttributes * // MailFromDomain: "STRING_VALUE", // required - * // MailFromDomainStatus: "STRING_VALUE", // required - * // BehaviorOnMxFailure: "STRING_VALUE", // required + * // MailFromDomainStatus: "PENDING" || "SUCCESS" || "FAILED" || "TEMPORARY_FAILURE", // required + * // BehaviorOnMxFailure: "USE_DEFAULT_VALUE" || "REJECT_MESSAGE", // required * // }, * // Tags: [ // TagList * // { // Tag diff --git a/clients/client-pinpoint-email/src/commands/ListDeliverabilityTestReportsCommand.ts b/clients/client-pinpoint-email/src/commands/ListDeliverabilityTestReportsCommand.ts index 05b6fe96109c9..c9d747ee8fc8d 100644 --- a/clients/client-pinpoint-email/src/commands/ListDeliverabilityTestReportsCommand.ts +++ b/clients/client-pinpoint-email/src/commands/ListDeliverabilityTestReportsCommand.ts @@ -64,7 +64,7 @@ export interface ListDeliverabilityTestReportsCommandOutput * // Subject: "STRING_VALUE", * // FromEmailAddress: "STRING_VALUE", * // CreateDate: new Date("TIMESTAMP"), - * // DeliverabilityTestStatus: "STRING_VALUE", + * // DeliverabilityTestStatus: "IN_PROGRESS" || "COMPLETED", * // }, * // ], * // NextToken: "STRING_VALUE", diff --git a/clients/client-pinpoint-email/src/commands/ListEmailIdentitiesCommand.ts b/clients/client-pinpoint-email/src/commands/ListEmailIdentitiesCommand.ts index e2e1578ea9694..e63a31cb44616 100644 --- a/clients/client-pinpoint-email/src/commands/ListEmailIdentitiesCommand.ts +++ b/clients/client-pinpoint-email/src/commands/ListEmailIdentitiesCommand.ts @@ -54,7 +54,7 @@ export interface ListEmailIdentitiesCommandOutput extends ListEmailIdentitiesRes * // { // ListEmailIdentitiesResponse * // EmailIdentities: [ // IdentityInfoList * // { // IdentityInfo - * // IdentityType: "STRING_VALUE", + * // IdentityType: "EMAIL_ADDRESS" || "DOMAIN" || "MANAGED_DOMAIN", * // IdentityName: "STRING_VALUE", * // SendingEnabled: true || false, * // }, diff --git a/clients/client-pinpoint-email/src/commands/PutConfigurationSetDeliveryOptionsCommand.ts b/clients/client-pinpoint-email/src/commands/PutConfigurationSetDeliveryOptionsCommand.ts index 31620ba719288..1b662b7f1552b 100644 --- a/clients/client-pinpoint-email/src/commands/PutConfigurationSetDeliveryOptionsCommand.ts +++ b/clients/client-pinpoint-email/src/commands/PutConfigurationSetDeliveryOptionsCommand.ts @@ -54,7 +54,7 @@ export interface PutConfigurationSetDeliveryOptionsCommandOutput * const client = new PinpointEmailClient(config); * const input = { // PutConfigurationSetDeliveryOptionsRequest * ConfigurationSetName: "STRING_VALUE", // required - * TlsPolicy: "STRING_VALUE", + * TlsPolicy: "REQUIRE" || "OPTIONAL", * SendingPoolName: "STRING_VALUE", * }; * const command = new PutConfigurationSetDeliveryOptionsCommand(input); diff --git a/clients/client-pinpoint-email/src/commands/PutEmailIdentityMailFromAttributesCommand.ts b/clients/client-pinpoint-email/src/commands/PutEmailIdentityMailFromAttributesCommand.ts index 8603dfecc5920..c29e03c85511f 100644 --- a/clients/client-pinpoint-email/src/commands/PutEmailIdentityMailFromAttributesCommand.ts +++ b/clients/client-pinpoint-email/src/commands/PutEmailIdentityMailFromAttributesCommand.ts @@ -55,7 +55,7 @@ export interface PutEmailIdentityMailFromAttributesCommandOutput * const input = { // PutEmailIdentityMailFromAttributesRequest * EmailIdentity: "STRING_VALUE", // required * MailFromDomain: "STRING_VALUE", - * BehaviorOnMxFailure: "STRING_VALUE", + * BehaviorOnMxFailure: "USE_DEFAULT_VALUE" || "REJECT_MESSAGE", * }; * const command = new PutEmailIdentityMailFromAttributesCommand(input); * const response = await client.send(command); diff --git a/clients/client-pinpoint-email/src/commands/UpdateConfigurationSetEventDestinationCommand.ts b/clients/client-pinpoint-email/src/commands/UpdateConfigurationSetEventDestinationCommand.ts index a39f1429f0975..ba8c899d93320 100644 --- a/clients/client-pinpoint-email/src/commands/UpdateConfigurationSetEventDestinationCommand.ts +++ b/clients/client-pinpoint-email/src/commands/UpdateConfigurationSetEventDestinationCommand.ts @@ -63,7 +63,7 @@ export interface UpdateConfigurationSetEventDestinationCommandOutput * EventDestination: { // EventDestinationDefinition * Enabled: true || false, * MatchingEventTypes: [ // EventTypes - * "STRING_VALUE", + * "SEND" || "REJECT" || "BOUNCE" || "COMPLAINT" || "DELIVERY" || "OPEN" || "CLICK" || "RENDERING_FAILURE", * ], * KinesisFirehoseDestination: { // KinesisFirehoseDestination * IamRoleArn: "STRING_VALUE", // required @@ -73,7 +73,7 @@ export interface UpdateConfigurationSetEventDestinationCommandOutput * DimensionConfigurations: [ // CloudWatchDimensionConfigurations // required * { // CloudWatchDimensionConfiguration * DimensionName: "STRING_VALUE", // required - * DimensionValueSource: "STRING_VALUE", // required + * DimensionValueSource: "MESSAGE_TAG" || "EMAIL_HEADER" || "LINK_TAG", // required * DefaultDimensionValue: "STRING_VALUE", // required * }, * ], diff --git a/clients/client-pinpoint-email/src/endpoint/ruleset.ts b/clients/client-pinpoint-email/src/endpoint/ruleset.ts index 20e881015d2d6..570bce7dc8adb 100644 --- a/clients/client-pinpoint-email/src/endpoint/ruleset.ts +++ b/clients/client-pinpoint-email/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/pinpoint-email.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://email-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://email-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://email.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://email.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://email-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://email-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://email.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://email.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-pinpoint-sms-voice-v2/src/endpoint/ruleset.ts b/clients/client-pinpoint-sms-voice-v2/src/endpoint/ruleset.ts index 9aec5a81b88ef..e385e4b727543 100644 --- a/clients/client-pinpoint-sms-voice-v2/src/endpoint/ruleset.ts +++ b/clients/client-pinpoint-sms-voice-v2/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/pinpoint-sms-voice-v2.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://sms-voice-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://sms-voice-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://sms-voice.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://sms-voice.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://sms-voice-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://sms-voice-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://sms-voice.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://sms-voice.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-pinpoint-sms-voice/src/commands/CreateConfigurationSetEventDestinationCommand.ts b/clients/client-pinpoint-sms-voice/src/commands/CreateConfigurationSetEventDestinationCommand.ts index 97580dfb37f2b..f4461ccbf6bfd 100644 --- a/clients/client-pinpoint-sms-voice/src/commands/CreateConfigurationSetEventDestinationCommand.ts +++ b/clients/client-pinpoint-sms-voice/src/commands/CreateConfigurationSetEventDestinationCommand.ts @@ -65,7 +65,7 @@ export interface CreateConfigurationSetEventDestinationCommandOutput * IamRoleArn: "STRING_VALUE", * }, * MatchingEventTypes: [ // EventTypes - * "STRING_VALUE", + * "INITIATED_CALL" || "RINGING" || "ANSWERED" || "COMPLETED_CALL" || "BUSY" || "FAILED" || "NO_ANSWER", * ], * SnsDestination: { // SnsDestination * TopicArn: "STRING_VALUE", diff --git a/clients/client-pinpoint-sms-voice/src/commands/GetConfigurationSetEventDestinationsCommand.ts b/clients/client-pinpoint-sms-voice/src/commands/GetConfigurationSetEventDestinationsCommand.ts index 52de54a657808..e3f7c7b0b7ecb 100644 --- a/clients/client-pinpoint-sms-voice/src/commands/GetConfigurationSetEventDestinationsCommand.ts +++ b/clients/client-pinpoint-sms-voice/src/commands/GetConfigurationSetEventDestinationsCommand.ts @@ -69,7 +69,7 @@ export interface GetConfigurationSetEventDestinationsCommandOutput * // IamRoleArn: "STRING_VALUE", * // }, * // MatchingEventTypes: [ // EventTypes - * // "STRING_VALUE", + * // "INITIATED_CALL" || "RINGING" || "ANSWERED" || "COMPLETED_CALL" || "BUSY" || "FAILED" || "NO_ANSWER", * // ], * // Name: "STRING_VALUE", * // SnsDestination: { // SnsDestination diff --git a/clients/client-pinpoint-sms-voice/src/commands/UpdateConfigurationSetEventDestinationCommand.ts b/clients/client-pinpoint-sms-voice/src/commands/UpdateConfigurationSetEventDestinationCommand.ts index 58cae85a7aeb3..70a3f3aeb5440 100644 --- a/clients/client-pinpoint-sms-voice/src/commands/UpdateConfigurationSetEventDestinationCommand.ts +++ b/clients/client-pinpoint-sms-voice/src/commands/UpdateConfigurationSetEventDestinationCommand.ts @@ -65,7 +65,7 @@ export interface UpdateConfigurationSetEventDestinationCommandOutput * IamRoleArn: "STRING_VALUE", * }, * MatchingEventTypes: [ // EventTypes - * "STRING_VALUE", + * "INITIATED_CALL" || "RINGING" || "ANSWERED" || "COMPLETED_CALL" || "BUSY" || "FAILED" || "NO_ANSWER", * ], * SnsDestination: { // SnsDestination * TopicArn: "STRING_VALUE", diff --git a/clients/client-pinpoint-sms-voice/src/endpoint/ruleset.ts b/clients/client-pinpoint-sms-voice/src/endpoint/ruleset.ts index da2ab12143edf..d1cde1138aba4 100644 --- a/clients/client-pinpoint-sms-voice/src/endpoint/ruleset.ts +++ b/clients/client-pinpoint-sms-voice/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/pinpoint-sms-voice.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://sms-voice.pinpoint-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://sms-voice.pinpoint-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://sms-voice.pinpoint.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://sms-voice.pinpoint.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://sms-voice.pinpoint-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://sms-voice.pinpoint-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://sms-voice.pinpoint.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://sms-voice.pinpoint.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-pinpoint/src/endpoint/ruleset.ts b/clients/client-pinpoint/src/endpoint/ruleset.ts index f13e933ec3094..bc3d33895f463 100644 --- a/clients/client-pinpoint/src/endpoint/ruleset.ts +++ b/clients/client-pinpoint/src/endpoint/ruleset.ts @@ -30,5 +30,5 @@ q={"url":"https://pinpoint.{Region}.amazonaws.com","properties":{},"headers":{}} r=[j], s=[k], t=[m]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[v]:a,[w]:[i]}],type:b,rules:[{conditions:r,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:s,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[v]:a,[w]:t}],type:b,rules:[{conditions:[{[v]:"aws.partition",[w]:t,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[n,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://pinpoint-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:r,type:b,rules:[{conditions:[n],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://pinpoint-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:s,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://pinpoint.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{conditions:[{[v]:f,[w]:[m,"us-east-1"]}],endpoint:{url:"https://pinpoint.us-east-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:[m,"us-west-2"]}],endpoint:{url:"https://pinpoint.us-west-2.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:[m,"us-gov-west-1"]}],endpoint:{url:"https://pinpoint.us-gov-west-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:["aws",p]}],endpoint:q,type:d},{conditions:[{[v]:f,[w]:["aws-us-gov",p]}],endpoint:q,type:d},{endpoint:{url:"https://pinpoint.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[v]:a,[w]:[i]}],type:b,rules:[{conditions:r,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:s,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[v]:a,[w]:t}],type:b,rules:[{conditions:[{[v]:"aws.partition",[w]:t,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[n,o],type:b,rules:[{endpoint:{url:"https://pinpoint-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:r,type:b,rules:[{conditions:[n],type:b,rules:[{endpoint:{url:"https://pinpoint-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:s,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://pinpoint.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{conditions:[{[v]:f,[w]:[m,"us-east-1"]}],endpoint:{url:"https://pinpoint.us-east-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:[m,"us-west-2"]}],endpoint:{url:"https://pinpoint.us-west-2.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:[m,"us-gov-west-1"]}],endpoint:{url:"https://pinpoint.us-gov-west-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:["aws",p]}],endpoint:q,type:d},{conditions:[{[v]:f,[w]:["aws-us-gov",p]}],endpoint:q,type:d},{endpoint:{url:"https://pinpoint.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-pricing/src/endpoint/ruleset.ts b/clients/client-pricing/src/endpoint/ruleset.ts index 59cbff1279bc8..50d31e2f4ce06 100644 --- a/clients/client-pricing/src/endpoint/ruleset.ts +++ b/clients/client-pricing/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, p=[j], q=[k], r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://api.pricing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://api.pricing-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://api.pricing.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://api.pricing.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://api.pricing.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://api.pricing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://api.pricing-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://api.pricing.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{conditions:[{[t]:"stringEquals",[u]:["aws",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://api.pricing.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://api.pricing.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-privatenetworks/src/endpoint/ruleset.ts b/clients/client-privatenetworks/src/endpoint/ruleset.ts index e300536d1c34b..b9c73a7eeab65 100644 --- a/clients/client-privatenetworks/src/endpoint/ruleset.ts +++ b/clients/client-privatenetworks/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://private-networks-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://private-networks-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://private-networks.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://private-networks.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://private-networks-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://private-networks-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://private-networks.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://private-networks.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-proton/src/endpoint/ruleset.ts b/clients/client-proton/src/endpoint/ruleset.ts index b3de034f63ce7..bfce593a84253 100644 --- a/clients/client-proton/src/endpoint/ruleset.ts +++ b/clients/client-proton/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://proton-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://proton-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://proton.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://proton.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://proton-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://proton-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://proton.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://proton.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-qldb-session/src/endpoint/ruleset.ts b/clients/client-qldb-session/src/endpoint/ruleset.ts index a41e518a3ec82..f79729e4dc946 100644 --- a/clients/client-qldb-session/src/endpoint/ruleset.ts +++ b/clients/client-qldb-session/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/qldb-session.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://session.qldb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://session.qldb-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://session.qldb.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://session.qldb.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://session.qldb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://session.qldb-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://session.qldb.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://session.qldb.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-qldb/src/endpoint/ruleset.ts b/clients/client-qldb/src/endpoint/ruleset.ts index 50e57f8f15cda..4db95fd7662a7 100644 --- a/clients/client-qldb/src/endpoint/ruleset.ts +++ b/clients/client-qldb/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://qldb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://qldb-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://qldb.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://qldb.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://qldb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://qldb-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://qldb.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://qldb.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-ram/src/endpoint/ruleset.ts b/clients/client-ram/src/endpoint/ruleset.ts index 7e93408e04593..50c99f499ff1f 100644 --- a/clients/client-ram/src/endpoint/ruleset.ts +++ b/clients/client-ram/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, p=[j], q=[k], r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ram-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://ram.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://ram-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ram.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://ram.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://ram-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://ram.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://ram-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://ram.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://ram.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-rbin/README.md b/clients/client-rbin/README.md index 6bacf06bac07e..623d5f0e28b03 100644 --- a/clients/client-rbin/README.md +++ b/clients/client-rbin/README.md @@ -8,11 +8,9 @@ AWS SDK for JavaScript Rbin Client for Node.js, Browser and React Native.

                                                                                                                                                                                                                                                          This is the Recycle Bin API Reference. This documentation provides descriptions and syntax for each of the actions and data types in Recycle Bin.

                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                          Recycle Bin is a resource recovery feature that enables you to restore accidentally deleted snapshots and EBS-backed AMIs. When using Recycle Bin, if your resources are deleted, they are retained in the Recycle Bin for a time period that you specify.

                                                                                                                                                                                                                                                          -

                                                                                                                                                                                                                                                          You can restore a resource from the Recycle Bin at any time before its retention period expires. After you restore a resource from the Recycle Bin, the resource is removed from the Recycle Bin, and you can then use it in the same way you use any other resource of that type diff --git a/clients/client-rbin/src/Rbin.ts b/clients/client-rbin/src/Rbin.ts index f9709ab1efefe..c5edd24df7c39 100644 --- a/clients/client-rbin/src/Rbin.ts +++ b/clients/client-rbin/src/Rbin.ts @@ -157,11 +157,9 @@ export interface Rbin { * @public *

                                                                                                                                                                                                                                                          This is the Recycle Bin API Reference. This documentation provides * descriptions and syntax for each of the actions and data types in Recycle Bin.

                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                          Recycle Bin is a resource recovery feature that enables you to restore accidentally * deleted snapshots and EBS-backed AMIs. When using Recycle Bin, if your resources are * deleted, they are retained in the Recycle Bin for a time period that you specify.

                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                          You can restore a resource from the Recycle Bin at any time before its retention period * expires. After you restore a resource from the Recycle Bin, the resource is removed from the * Recycle Bin, and you can then use it in the same way you use any other resource of that type diff --git a/clients/client-rbin/src/RbinClient.ts b/clients/client-rbin/src/RbinClient.ts index 675745610a958..1f5e1d4dda593 100644 --- a/clients/client-rbin/src/RbinClient.ts +++ b/clients/client-rbin/src/RbinClient.ts @@ -276,11 +276,9 @@ export interface RbinClientResolvedConfig extends RbinClientResolvedConfigType { * @public *

                                                                                                                                                                                                                                                          This is the Recycle Bin API Reference. This documentation provides * descriptions and syntax for each of the actions and data types in Recycle Bin.

                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                          Recycle Bin is a resource recovery feature that enables you to restore accidentally * deleted snapshots and EBS-backed AMIs. When using Recycle Bin, if your resources are * deleted, they are retained in the Recycle Bin for a time period that you specify.

                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                          You can restore a resource from the Recycle Bin at any time before its retention period * expires. After you restore a resource from the Recycle Bin, the resource is removed from the * Recycle Bin, and you can then use it in the same way you use any other resource of that type diff --git a/clients/client-rbin/src/endpoint/EndpointParameters.ts b/clients/client-rbin/src/endpoint/EndpointParameters.ts index 2995d7fa16dfd..b94370760527a 100644 --- a/clients/client-rbin/src/endpoint/EndpointParameters.ts +++ b/clients/client-rbin/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-rbin/src/endpoint/ruleset.ts b/clients/client-rbin/src/endpoint/ruleset.ts index 3b5d84b774907..96593333013bb 100644 --- a/clients/client-rbin/src/endpoint/ruleset.ts +++ b/clients/client-rbin/src/endpoint/ruleset.ts @@ -6,25 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/rbin.json */ -const r="fn", +const q="required", +r="fn", s="argv", t="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h={"required":true,"default":false,"type":"Boolean"}, -i={[t]:"Endpoint"}, -j={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, -k={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, -l={}, -m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:d},"supportsFIPS"]}]}, -n={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:d},"supportsDualStack"]}]}, -o=[i], -p=[j], -q=[k]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[r]:"aws.partition",[s]:[{[t]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[r]:"isSet",[s]:o},{[r]:"parseURL",[s]:o,assign:"url"}],type:e,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{endpoint:{url:"https://rbin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:p,type:e,rules:[{conditions:[m],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://rbin-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:q,type:e,rules:[{conditions:[n],type:e,rules:[{endpoint:{url:"https://rbin.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{endpoint:{url:"https://rbin.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]}; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://rbin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://rbin-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://rbin.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://rbin.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-rbin/src/index.ts b/clients/client-rbin/src/index.ts index b2696f1e57158..e7b5a3ed566ea 100644 --- a/clients/client-rbin/src/index.ts +++ b/clients/client-rbin/src/index.ts @@ -3,11 +3,9 @@ /** *

                                                                                                                                                                                                                                                          This is the Recycle Bin API Reference. This documentation provides * descriptions and syntax for each of the actions and data types in Recycle Bin.

                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                          Recycle Bin is a resource recovery feature that enables you to restore accidentally * deleted snapshots and EBS-backed AMIs. When using Recycle Bin, if your resources are * deleted, they are retained in the Recycle Bin for a time period that you specify.

                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                          You can restore a resource from the Recycle Bin at any time before its retention period * expires. After you restore a resource from the Recycle Bin, the resource is removed from the * Recycle Bin, and you can then use it in the same way you use any other resource of that type diff --git a/clients/client-rds-data/src/endpoint/ruleset.ts b/clients/client-rds-data/src/endpoint/ruleset.ts index 5b5e1089f14c1..e6c8805fd5680 100644 --- a/clients/client-rds-data/src/endpoint/ruleset.ts +++ b/clients/client-rds-data/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/rds-data.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://rds-data-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://rds-data-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://rds-data.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://rds-data.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://rds-data-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://rds-data-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://rds-data.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://rds-data.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-redshift-data/src/endpoint/ruleset.ts b/clients/client-redshift-data/src/endpoint/ruleset.ts index 4698f313a5fc6..a453c982c65ee 100644 --- a/clients/client-redshift-data/src/endpoint/ruleset.ts +++ b/clients/client-redshift-data/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://redshift-data-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://redshift-data-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://redshift-data.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://redshift-data.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://redshift-data-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://redshift-data-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://redshift-data.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://redshift-data.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-redshift-serverless/src/endpoint/EndpointParameters.ts b/clients/client-redshift-serverless/src/endpoint/EndpointParameters.ts index a5d4dd0207ab7..0ec3bd7545414 100644 --- a/clients/client-redshift-serverless/src/endpoint/EndpointParameters.ts +++ b/clients/client-redshift-serverless/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-redshift-serverless/src/endpoint/ruleset.ts b/clients/client-redshift-serverless/src/endpoint/ruleset.ts index 2b0133d77742e..23987c0212acf 100644 --- a/clients/client-redshift-serverless/src/endpoint/ruleset.ts +++ b/clients/client-redshift-serverless/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/redshift-serverless.json */ -const q="fn", -r="argv", -s="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h={"required":true,"default":false,"type":"Boolean"}, -i={[s]:"Endpoint"}, -j={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -k={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -l={}, -m={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsFIPS"]}]}, -n={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsDualStack"]}]}, +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], o=[j], -p=[k]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[q]:"isSet",[r]:[i]}],type:e,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://redshift-serverless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:o,type:e,rules:[{conditions:[m],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://redshift-serverless-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:p,type:e,rules:[{conditions:[n],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://redshift-serverless.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{type:e,rules:[{endpoint:{url:"https://redshift-serverless.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]}]}; +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://redshift-serverless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://redshift-serverless-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://redshift-serverless.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://redshift-serverless.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-redshift/src/endpoint/ruleset.ts b/clients/client-redshift/src/endpoint/ruleset.ts index 4b49488d845c7..7f2e8effb6151 100644 --- a/clients/client-redshift/src/endpoint/ruleset.ts +++ b/clients/client-redshift/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, p=[j], q=[k], r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://redshift-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://redshift.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://redshift-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://redshift.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://redshift.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://redshift-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://redshift.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://redshift-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://redshift.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://redshift.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-resiliencehub/src/endpoint/ruleset.ts b/clients/client-resiliencehub/src/endpoint/ruleset.ts index 1f3a7d907af39..6d53285762b99 100644 --- a/clients/client-resiliencehub/src/endpoint/ruleset.ts +++ b/clients/client-resiliencehub/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://resiliencehub-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://resiliencehub-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://resiliencehub.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://resiliencehub.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://resiliencehub-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://resiliencehub-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://resiliencehub.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://resiliencehub.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-resource-explorer-2/src/endpoint/ruleset.ts b/clients/client-resource-explorer-2/src/endpoint/ruleset.ts index 41b732c0ac198..8ee3b954c045a 100644 --- a/clients/client-resource-explorer-2/src/endpoint/ruleset.ts +++ b/clients/client-resource-explorer-2/src/endpoint/ruleset.ts @@ -25,5 +25,5 @@ n={[f]:"FIPS is enabled but this partition does not support FIPS","type":f}, o=[{"fn":e,[r]:[{[s]:"UseFIPS"},true]}], p=[{[s]:"Region"}], q=[{"fn":e,[r]:[true,{"fn":i,[r]:[m,"supportsFIPS"]}]}]; -const _data={version:"1.0",parameters:{Region:j,UseFIPS:{required:b,default:a,type:"Boolean"},Endpoint:j},rules:[{conditions:[{fn:c,[r]:[k]}],type:d,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{endpoint:{url:k,properties:l,headers:l},type:g}]},{type:d,rules:[{conditions:[{fn:c,[r]:p}],type:d,rules:[{conditions:[{fn:"aws.partition",[r]:p,assign:h}],type:d,rules:[{type:d,rules:[{conditions:[{fn:e,[r]:[b,{fn:i,[r]:[m,"supportsDualStack"]}]}],type:d,rules:[{conditions:o,type:d,rules:[{conditions:q,type:d,rules:[{endpoint:{url:"https://resource-explorer-2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},n]},{endpoint:{url:"https://resource-explorer-2.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{type:d,rules:[{conditions:o,type:d,rules:[{conditions:q,type:d,rules:[{type:d,rules:[{endpoint:{url:"https://resource-explorer-2-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]},n]},{type:d,rules:[{endpoint:{url:"https://resource-explorer-2.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]}]}]}]},{error:"Invalid Configuration: Missing Region",type:f}]}]}; +const _data={version:"1.0",parameters:{Region:j,UseFIPS:{required:b,default:a,type:"Boolean"},Endpoint:j},rules:[{conditions:[{fn:c,[r]:[k]}],type:d,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{endpoint:{url:k,properties:l,headers:l},type:g}]},{conditions:[{fn:c,[r]:p}],type:d,rules:[{conditions:[{fn:"aws.partition",[r]:p,assign:h}],type:d,rules:[{conditions:[{fn:e,[r]:[b,{fn:i,[r]:[m,"supportsDualStack"]}]}],type:d,rules:[{conditions:o,type:d,rules:[{conditions:q,type:d,rules:[{endpoint:{url:"https://resource-explorer-2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},n]},{endpoint:{url:"https://resource-explorer-2.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{conditions:o,type:d,rules:[{conditions:q,type:d,rules:[{endpoint:{url:"https://resource-explorer-2-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]},n]},{endpoint:{url:"https://resource-explorer-2.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"Invalid Configuration: Missing Region",type:f}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-resource-groups-tagging-api/src/commands/DescribeReportCreationCommand.ts b/clients/client-resource-groups-tagging-api/src/commands/DescribeReportCreationCommand.ts index 846fd94b2ca02..c599c2d607f84 100644 --- a/clients/client-resource-groups-tagging-api/src/commands/DescribeReportCreationCommand.ts +++ b/clients/client-resource-groups-tagging-api/src/commands/DescribeReportCreationCommand.ts @@ -41,7 +41,7 @@ export interface DescribeReportCreationCommandOutput extends DescribeReportCreat /** * @public *

                                                                                                                                                                                                                                                          Describes the status of the StartReportCreation operation.

                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                          You can call this operation only from the organization's + *

                                                                                                                                                                                                                                                          You can call this operation only from the organization's * management account and from the us-east-1 Region.

                                                                                                                                                                                                                                                          * @example * Use a bare-bones client and the command you need to make an API call. @@ -69,22 +69,22 @@ export interface DescribeReportCreationCommandOutput extends DescribeReportCreat * * @throws {@link ConstraintViolationException} (client fault) *

                                                                                                                                                                                                                                                          The request was denied because performing this operation violates a constraint.

                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                          Some of the reasons in the following list might not apply to this specific + *

                                                                                                                                                                                                                                                          Some of the reasons in the following list might not apply to this specific * operation.

                                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                              You must meet the prerequisites for using tag policies. For information, see + *

                                                                                                                                                                                                                                                              You must meet the prerequisites for using tag policies. For information, see * Prerequisites and Permissions for Using Tag Policies in the * Organizations User Guide. *

                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                              You must enable the tag policies service principal + *

                                                                                                                                                                                                                                                              You must enable the tag policies service principal * (tagpolicies.tag.amazonaws.com) to integrate with Organizations For * information, see EnableAWSServiceAccess.

                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                              You must have a tag policy attached to the organization root, an OU, or an + *

                                                                                                                                                                                                                                                              You must have a tag policy attached to the organization root, an OU, or an * account.

                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                            @@ -95,21 +95,21 @@ export interface DescribeReportCreationCommandOutput extends DescribeReportCreat * * @throws {@link InvalidParameterException} (client fault) *

                                                                                                                                                                                                                                                            This error indicates one of the following:

                                                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                A parameter is missing.

                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                A parameter is missing.

                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                A malformed string was supplied for the request parameter.

                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                A malformed string was supplied for the request parameter.

                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                An out-of-range value was supplied for the request parameter.

                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                An out-of-range value was supplied for the request parameter.

                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                The target ID is invalid, unsupported, or doesn't exist.

                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                The target ID is invalid, unsupported, or doesn't exist.

                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                You can't access the Amazon S3 bucket for report storage. For more information, see + *

                                                                                                                                                                                                                                                                You can't access the Amazon S3 bucket for report storage. For more information, see * Additional Requirements for Organization-wide Tag Compliance * Reports in the Organizations User Guide. *

                                                                                                                                                                                                                                                                diff --git a/clients/client-resource-groups-tagging-api/src/commands/GetComplianceSummaryCommand.ts b/clients/client-resource-groups-tagging-api/src/commands/GetComplianceSummaryCommand.ts index 553ec5ecff9fb..f3b0c15104410 100644 --- a/clients/client-resource-groups-tagging-api/src/commands/GetComplianceSummaryCommand.ts +++ b/clients/client-resource-groups-tagging-api/src/commands/GetComplianceSummaryCommand.ts @@ -42,12 +42,12 @@ export interface GetComplianceSummaryCommandOutput extends GetComplianceSummaryO * @public *

                                                                                                                                                                                                                                                                Returns a table that shows counts of resources that are noncompliant with their tag * policies.

                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                For more information on tag policies, see Tag Policies in + *

                                                                                                                                                                                                                                                                For more information on tag policies, see Tag Policies in * the Organizations User Guide. *

                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                You can call this operation only from the organization's + *

                                                                                                                                                                                                                                                                You can call this operation only from the organization's * management account and from the us-east-1 Region.

                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                This operation supports pagination, where the response can be sent in + *

                                                                                                                                                                                                                                                                This operation supports pagination, where the response can be sent in * multiple pages. You should check the PaginationToken response parameter to determine * if there are additional results available to return. Repeat the query, passing the * PaginationToken response parameter value as an input to the next request until you @@ -73,7 +73,7 @@ export interface GetComplianceSummaryCommandOutput extends GetComplianceSummaryO * "STRING_VALUE", * ], * GroupBy: [ // GroupBy - * "STRING_VALUE", + * "TARGET_ID" || "REGION" || "RESOURCE_TYPE", * ], * MaxResults: Number("int"), * PaginationToken: "STRING_VALUE", @@ -85,7 +85,7 @@ export interface GetComplianceSummaryCommandOutput extends GetComplianceSummaryO * // { // Summary * // LastUpdated: "STRING_VALUE", * // TargetId: "STRING_VALUE", - * // TargetIdType: "STRING_VALUE", + * // TargetIdType: "ACCOUNT" || "OU" || "ROOT", * // Region: "STRING_VALUE", * // ResourceType: "STRING_VALUE", * // NonCompliantResources: Number("long"), @@ -104,22 +104,22 @@ export interface GetComplianceSummaryCommandOutput extends GetComplianceSummaryO * * @throws {@link ConstraintViolationException} (client fault) *

                                                                                                                                                                                                                                                                The request was denied because performing this operation violates a constraint.

                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                Some of the reasons in the following list might not apply to this specific + *

                                                                                                                                                                                                                                                                Some of the reasons in the following list might not apply to this specific * operation.

                                                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                                                                  + *
                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                    You must meet the prerequisites for using tag policies. For information, see + *

                                                                                                                                                                                                                                                                    You must meet the prerequisites for using tag policies. For information, see * Prerequisites and Permissions for Using Tag Policies in the * Organizations User Guide. *

                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                    You must enable the tag policies service principal + *

                                                                                                                                                                                                                                                                    You must enable the tag policies service principal * (tagpolicies.tag.amazonaws.com) to integrate with Organizations For * information, see EnableAWSServiceAccess.

                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                    You must have a tag policy attached to the organization root, an OU, or an + *

                                                                                                                                                                                                                                                                    You must have a tag policy attached to the organization root, an OU, or an * account.

                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                  @@ -130,21 +130,21 @@ export interface GetComplianceSummaryCommandOutput extends GetComplianceSummaryO * * @throws {@link InvalidParameterException} (client fault) *

                                                                                                                                                                                                                                                                  This error indicates one of the following:

                                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                                    + *
                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                      A parameter is missing.

                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                      A parameter is missing.

                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                      A malformed string was supplied for the request parameter.

                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                      A malformed string was supplied for the request parameter.

                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                      An out-of-range value was supplied for the request parameter.

                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                      An out-of-range value was supplied for the request parameter.

                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                      The target ID is invalid, unsupported, or doesn't exist.

                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                      The target ID is invalid, unsupported, or doesn't exist.

                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                      You can't access the Amazon S3 bucket for report storage. For more information, see + *

                                                                                                                                                                                                                                                                      You can't access the Amazon S3 bucket for report storage. For more information, see * Additional Requirements for Organization-wide Tag Compliance * Reports in the Organizations User Guide. *

                                                                                                                                                                                                                                                                      diff --git a/clients/client-resource-groups-tagging-api/src/commands/GetResourcesCommand.ts b/clients/client-resource-groups-tagging-api/src/commands/GetResourcesCommand.ts index 362b42b5cef56..d9ca2e50d3056 100644 --- a/clients/client-resource-groups-tagging-api/src/commands/GetResourcesCommand.ts +++ b/clients/client-resource-groups-tagging-api/src/commands/GetResourcesCommand.ts @@ -42,23 +42,23 @@ export interface GetResourcesCommandOutput extends GetResourcesOutput, __Metadat * @public *

                                                                                                                                                                                                                                                                      Returns all the tagged or previously tagged resources that are located in the * specified Amazon Web Services Region for the account.

                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                      Depending on what information you want returned, you can also specify the + *

                                                                                                                                                                                                                                                                      Depending on what information you want returned, you can also specify the * following:

                                                                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                                                                        + *
                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                          * Filters that specify what tags and resource types you * want returned. The response includes all tags that are associated with the * requested resources.

                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                          Information about compliance with the account's effective tag policy. For more + *

                                                                                                                                                                                                                                                                          Information about compliance with the account's effective tag policy. For more * information on tag policies, see Tag * Policies in the Organizations User Guide. *

                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                        This operation supports pagination, where the response can be sent in + *

                                                                                                                                                                                                                                                                        This operation supports pagination, where the response can be sent in * multiple pages. You should check the PaginationToken response parameter to determine * if there are additional results available to return. Repeat the query, passing the * PaginationToken response parameter value as an input to the next request until you @@ -131,21 +131,21 @@ export interface GetResourcesCommandOutput extends GetResourcesOutput, __Metadat * * @throws {@link InvalidParameterException} (client fault) *

                                                                                                                                                                                                                                                                        This error indicates one of the following:

                                                                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                                                                          + *
                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                            A parameter is missing.

                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                            A parameter is missing.

                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                            A malformed string was supplied for the request parameter.

                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                            A malformed string was supplied for the request parameter.

                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                            An out-of-range value was supplied for the request parameter.

                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                            An out-of-range value was supplied for the request parameter.

                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                            The target ID is invalid, unsupported, or doesn't exist.

                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                            The target ID is invalid, unsupported, or doesn't exist.

                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                            You can't access the Amazon S3 bucket for report storage. For more information, see + *

                                                                                                                                                                                                                                                                            You can't access the Amazon S3 bucket for report storage. For more information, see * Additional Requirements for Organization-wide Tag Compliance * Reports in the Organizations User Guide. *

                                                                                                                                                                                                                                                                            diff --git a/clients/client-resource-groups-tagging-api/src/commands/GetTagKeysCommand.ts b/clients/client-resource-groups-tagging-api/src/commands/GetTagKeysCommand.ts index 7bdfd0dccc2c0..37361adcedfec 100644 --- a/clients/client-resource-groups-tagging-api/src/commands/GetTagKeysCommand.ts +++ b/clients/client-resource-groups-tagging-api/src/commands/GetTagKeysCommand.ts @@ -42,7 +42,7 @@ export interface GetTagKeysCommandOutput extends GetTagKeysOutput, __MetadataBea * @public *

                                                                                                                                                                                                                                                                            Returns all tag keys currently in use in the specified Amazon Web Services Region for the calling * account.

                                                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                                                            This operation supports pagination, where the response can be sent in + *

                                                                                                                                                                                                                                                                            This operation supports pagination, where the response can be sent in * multiple pages. You should check the PaginationToken response parameter to determine * if there are additional results available to return. Repeat the query, passing the * PaginationToken response parameter value as an input to the next request until you @@ -80,21 +80,21 @@ export interface GetTagKeysCommandOutput extends GetTagKeysOutput, __MetadataBea * * @throws {@link InvalidParameterException} (client fault) *

                                                                                                                                                                                                                                                                            This error indicates one of the following:

                                                                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                                A parameter is missing.

                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                A parameter is missing.

                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                                A malformed string was supplied for the request parameter.

                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                A malformed string was supplied for the request parameter.

                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                                An out-of-range value was supplied for the request parameter.

                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                An out-of-range value was supplied for the request parameter.

                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                                The target ID is invalid, unsupported, or doesn't exist.

                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                The target ID is invalid, unsupported, or doesn't exist.

                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                                You can't access the Amazon S3 bucket for report storage. For more information, see + *

                                                                                                                                                                                                                                                                                You can't access the Amazon S3 bucket for report storage. For more information, see * Additional Requirements for Organization-wide Tag Compliance * Reports in the Organizations User Guide. *

                                                                                                                                                                                                                                                                                diff --git a/clients/client-resource-groups-tagging-api/src/commands/GetTagValuesCommand.ts b/clients/client-resource-groups-tagging-api/src/commands/GetTagValuesCommand.ts index 0d7ffdaee7bfd..16e27aeefaa99 100644 --- a/clients/client-resource-groups-tagging-api/src/commands/GetTagValuesCommand.ts +++ b/clients/client-resource-groups-tagging-api/src/commands/GetTagValuesCommand.ts @@ -42,7 +42,7 @@ export interface GetTagValuesCommandOutput extends GetTagValuesOutput, __Metadat * @public *

                                                                                                                                                                                                                                                                                Returns all tag values for the specified key that are used in the specified Amazon Web Services * Region for the calling account.

                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                This operation supports pagination, where the response can be sent in + *

                                                                                                                                                                                                                                                                                This operation supports pagination, where the response can be sent in * multiple pages. You should check the PaginationToken response parameter to determine * if there are additional results available to return. Repeat the query, passing the * PaginationToken response parameter value as an input to the next request until you @@ -81,21 +81,21 @@ export interface GetTagValuesCommandOutput extends GetTagValuesOutput, __Metadat * * @throws {@link InvalidParameterException} (client fault) *

                                                                                                                                                                                                                                                                                This error indicates one of the following:

                                                                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                                                                                  + *
                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                    A parameter is missing.

                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                    A parameter is missing.

                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                    A malformed string was supplied for the request parameter.

                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                    A malformed string was supplied for the request parameter.

                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                    An out-of-range value was supplied for the request parameter.

                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                    An out-of-range value was supplied for the request parameter.

                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                    The target ID is invalid, unsupported, or doesn't exist.

                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                    The target ID is invalid, unsupported, or doesn't exist.

                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                    You can't access the Amazon S3 bucket for report storage. For more information, see + *

                                                                                                                                                                                                                                                                                    You can't access the Amazon S3 bucket for report storage. For more information, see * Additional Requirements for Organization-wide Tag Compliance * Reports in the Organizations User Guide. *

                                                                                                                                                                                                                                                                                    diff --git a/clients/client-resource-groups-tagging-api/src/commands/StartReportCreationCommand.ts b/clients/client-resource-groups-tagging-api/src/commands/StartReportCreationCommand.ts index 15a9ba0a7a200..218d4ef987519 100644 --- a/clients/client-resource-groups-tagging-api/src/commands/StartReportCreationCommand.ts +++ b/clients/client-resource-groups-tagging-api/src/commands/StartReportCreationCommand.ts @@ -43,11 +43,11 @@ export interface StartReportCreationCommandOutput extends StartReportCreationOut *

                                                                                                                                                                                                                                                                                    Generates a report that lists all tagged resources in the accounts across your * organization and tells whether each resource is compliant with the effective tag policy. * Compliance data is refreshed daily. The report is generated asynchronously.

                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                    The generated report is saved to the following location:

                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                    The generated report is saved to the following location:

                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                    * s3://example-bucket/AwsTagPolicies/o-exampleorgid/YYYY-MM-ddTHH:mm:ssZ/report.csv *

                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                    You can call this operation only from the organization's + *

                                                                                                                                                                                                                                                                                    You can call this operation only from the organization's * management account and from the us-east-1 Region.

                                                                                                                                                                                                                                                                                    * @example * Use a bare-bones client and the command you need to make an API call. @@ -76,22 +76,22 @@ export interface StartReportCreationCommandOutput extends StartReportCreationOut * * @throws {@link ConstraintViolationException} (client fault) *

                                                                                                                                                                                                                                                                                    The request was denied because performing this operation violates a constraint.

                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                    Some of the reasons in the following list might not apply to this specific + *

                                                                                                                                                                                                                                                                                    Some of the reasons in the following list might not apply to this specific * operation.

                                                                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                        You must meet the prerequisites for using tag policies. For information, see + *

                                                                                                                                                                                                                                                                                        You must meet the prerequisites for using tag policies. For information, see * Prerequisites and Permissions for Using Tag Policies in the * Organizations User Guide. *

                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                        You must enable the tag policies service principal + *

                                                                                                                                                                                                                                                                                        You must enable the tag policies service principal * (tagpolicies.tag.amazonaws.com) to integrate with Organizations For * information, see EnableAWSServiceAccess.

                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                        You must have a tag policy attached to the organization root, an OU, or an + *

                                                                                                                                                                                                                                                                                        You must have a tag policy attached to the organization root, an OU, or an * account.

                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                                                      @@ -102,21 +102,21 @@ export interface StartReportCreationCommandOutput extends StartReportCreationOut * * @throws {@link InvalidParameterException} (client fault) *

                                                                                                                                                                                                                                                                                      This error indicates one of the following:

                                                                                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                                                                                        + *
                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                                          A parameter is missing.

                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                          A parameter is missing.

                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                                          A malformed string was supplied for the request parameter.

                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                          A malformed string was supplied for the request parameter.

                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                                          An out-of-range value was supplied for the request parameter.

                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                          An out-of-range value was supplied for the request parameter.

                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                                          The target ID is invalid, unsupported, or doesn't exist.

                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                          The target ID is invalid, unsupported, or doesn't exist.

                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                                          You can't access the Amazon S3 bucket for report storage. For more information, see + *

                                                                                                                                                                                                                                                                                          You can't access the Amazon S3 bucket for report storage. For more information, see * Additional Requirements for Organization-wide Tag Compliance * Reports in the Organizations User Guide. *

                                                                                                                                                                                                                                                                                          diff --git a/clients/client-resource-groups-tagging-api/src/commands/TagResourcesCommand.ts b/clients/client-resource-groups-tagging-api/src/commands/TagResourcesCommand.ts index 313abdcbda257..25cca8cdb1cac 100644 --- a/clients/client-resource-groups-tagging-api/src/commands/TagResourcesCommand.ts +++ b/clients/client-resource-groups-tagging-api/src/commands/TagResourcesCommand.ts @@ -41,9 +41,9 @@ export interface TagResourcesCommandOutput extends TagResourcesOutput, __Metadat /** * @public *

                                                                                                                                                                                                                                                                                          Applies one or more tags to the specified resources. Note the following:

                                                                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                              Not all resources can have tags. For a list of services with resources that + *

                                                                                                                                                                                                                                                                                              Not all resources can have tags. For a list of services with resources that * support tagging using this operation, see Services that support the * Resource Groups Tagging API. If the resource doesn't yet support * this operation, the resource's service might support tagging using its own API @@ -51,41 +51,41 @@ export interface TagResourcesCommandOutput extends TagResourcesOutput, __Metadat * service.

                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                              Each resource can have up to 50 tags. For other limits, see Tag Naming and Usage Conventions in the Amazon Web Services General + *

                                                                                                                                                                                                                                                                                              Each resource can have up to 50 tags. For other limits, see Tag Naming and Usage Conventions in the Amazon Web Services General * Reference. *

                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                              You can only tag resources that are located in the specified Amazon Web Services Region for + *

                                                                                                                                                                                                                                                                                              You can only tag resources that are located in the specified Amazon Web Services Region for * the Amazon Web Services account.

                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                              To add tags to a resource, you need the necessary permissions for the service + *

                                                                                                                                                                                                                                                                                              To add tags to a resource, you need the necessary permissions for the service * that the resource belongs to as well as permissions for adding tags. For more * information, see the documentation for each service.

                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                            - * + * *

                                                                                                                                                                                                                                                                                            Do not store personally identifiable information (PII) or other confidential or * sensitive information in tags. We use tags to provide you with billing and * administration services. Tags are not intended to be used for private or sensitive * data.

                                                                                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                                                                            + * + *

                                                                                                                                                                                                                                                                                            * Minimum permissions *

                                                                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                                                                            In addition to the tag:TagResources permission required by this + *

                                                                                                                                                                                                                                                                                            In addition to the tag:TagResources permission required by this * operation, you must also have the tagging permission defined by the service that created * the resource. For example, to tag an Amazon EC2 instance using the TagResources * operation, you must have both of the following permissions:

                                                                                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                * tag:TagResource *

                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                * ec2:CreateTags *

                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                              • @@ -110,7 +110,7 @@ export interface TagResourcesCommandOutput extends TagResourcesOutput, __Metadat * // FailedResourcesMap: { // FailedResourcesMap * // "": { // FailureInfo * // StatusCode: Number("int"), - * // ErrorCode: "STRING_VALUE", + * // ErrorCode: "InternalServiceException" || "InvalidParameterException", * // ErrorMessage: "STRING_VALUE", * // }, * // }, @@ -130,21 +130,21 @@ export interface TagResourcesCommandOutput extends TagResourcesOutput, __Metadat * * @throws {@link InvalidParameterException} (client fault) *

                                                                                                                                                                                                                                                                                                This error indicates one of the following:

                                                                                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                                                                                                  + *
                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                    A parameter is missing.

                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                    A parameter is missing.

                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                    A malformed string was supplied for the request parameter.

                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                    A malformed string was supplied for the request parameter.

                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                    An out-of-range value was supplied for the request parameter.

                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                    An out-of-range value was supplied for the request parameter.

                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                    The target ID is invalid, unsupported, or doesn't exist.

                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                    The target ID is invalid, unsupported, or doesn't exist.

                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                    You can't access the Amazon S3 bucket for report storage. For more information, see + *

                                                                                                                                                                                                                                                                                                    You can't access the Amazon S3 bucket for report storage. For more information, see * Additional Requirements for Organization-wide Tag Compliance * Reports in the Organizations User Guide. *

                                                                                                                                                                                                                                                                                                    diff --git a/clients/client-resource-groups-tagging-api/src/commands/UntagResourcesCommand.ts b/clients/client-resource-groups-tagging-api/src/commands/UntagResourcesCommand.ts index abc2420a2be30..a757de42163a1 100644 --- a/clients/client-resource-groups-tagging-api/src/commands/UntagResourcesCommand.ts +++ b/clients/client-resource-groups-tagging-api/src/commands/UntagResourcesCommand.ts @@ -44,35 +44,34 @@ export interface UntagResourcesCommandOutput extends UntagResourcesOutput, __Met * the action removes both that key and its associated value. The operation succeeds even * if you attempt to remove tags from a resource that were already removed. Note the * following:

                                                                                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                                        To remove tags from a resource, you need the necessary permissions for the + *

                                                                                                                                                                                                                                                                                                        To remove tags from a resource, you need the necessary permissions for the * service that the resource belongs to as well as permissions for removing tags. * For more information, see the documentation for the service whose resource you * want to untag.

                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                                        You can only tag resources that are located in the specified Amazon Web Services Region for + *

                                                                                                                                                                                                                                                                                                        You can only tag resources that are located in the specified Amazon Web Services Region for * the calling Amazon Web Services account.

                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                                                                      - * - *

                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                      * Minimum permissions *

                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                      In addition to the tag:UntagResources permission required by this + *

                                                                                                                                                                                                                                                                                                      In addition to the tag:UntagResources permission required by this * operation, you must also have the remove tags permission defined by the service that * created the resource. For example, to remove the tags from an Amazon EC2 instance using the * UntagResources operation, you must have both of the following * permissions:

                                                                                                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                                                                                                        + *
                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                          * tag:UntagResource *

                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                          * ec2:DeleteTags *

                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                        • @@ -97,7 +96,7 @@ export interface UntagResourcesCommandOutput extends UntagResourcesOutput, __Met * // FailedResourcesMap: { // FailedResourcesMap * // "": { // FailureInfo * // StatusCode: Number("int"), - * // ErrorCode: "STRING_VALUE", + * // ErrorCode: "InternalServiceException" || "InvalidParameterException", * // ErrorMessage: "STRING_VALUE", * // }, * // }, @@ -117,21 +116,21 @@ export interface UntagResourcesCommandOutput extends UntagResourcesOutput, __Met * * @throws {@link InvalidParameterException} (client fault) *

                                                                                                                                                                                                                                                                                                          This error indicates one of the following:

                                                                                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                              A parameter is missing.

                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                              A parameter is missing.

                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                              A malformed string was supplied for the request parameter.

                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                              A malformed string was supplied for the request parameter.

                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                              An out-of-range value was supplied for the request parameter.

                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                              An out-of-range value was supplied for the request parameter.

                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                              The target ID is invalid, unsupported, or doesn't exist.

                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                              The target ID is invalid, unsupported, or doesn't exist.

                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                              You can't access the Amazon S3 bucket for report storage. For more information, see + *

                                                                                                                                                                                                                                                                                                              You can't access the Amazon S3 bucket for report storage. For more information, see * Additional Requirements for Organization-wide Tag Compliance * Reports in the Organizations User Guide. *

                                                                                                                                                                                                                                                                                                              diff --git a/clients/client-resource-groups-tagging-api/src/endpoint/ruleset.ts b/clients/client-resource-groups-tagging-api/src/endpoint/ruleset.ts index 8a06706aa6428..2edaca5281043 100644 --- a/clients/client-resource-groups-tagging-api/src/endpoint/ruleset.ts +++ b/clients/client-resource-groups-tagging-api/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/resource-groups-tagging-api.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://tagging-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://tagging-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://tagging.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://tagging.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://tagging-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://tagging-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://tagging.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://tagging.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-resource-groups-tagging-api/src/models/models_0.ts b/clients/client-resource-groups-tagging-api/src/models/models_0.ts index 7d07ea4b58e28..4a9de6245ee21 100644 --- a/clients/client-resource-groups-tagging-api/src/models/models_0.ts +++ b/clients/client-resource-groups-tagging-api/src/models/models_0.ts @@ -55,22 +55,22 @@ export class ConcurrentModificationException extends __BaseException { /** * @public *

                                                                                                                                                                                                                                                                                                              The request was denied because performing this operation violates a constraint.

                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                              Some of the reasons in the following list might not apply to this specific + *

                                                                                                                                                                                                                                                                                                              Some of the reasons in the following list might not apply to this specific * operation.

                                                                                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                                                                                                + *
                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                                                  You must meet the prerequisites for using tag policies. For information, see + *

                                                                                                                                                                                                                                                                                                                  You must meet the prerequisites for using tag policies. For information, see * Prerequisites and Permissions for Using Tag Policies in the * Organizations User Guide. *

                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                                                  You must enable the tag policies service principal + *

                                                                                                                                                                                                                                                                                                                  You must enable the tag policies service principal * (tagpolicies.tag.amazonaws.com) to integrate with Organizations For * information, see EnableAWSServiceAccess.

                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                                                  You must have a tag policy attached to the organization root, an OU, or an + *

                                                                                                                                                                                                                                                                                                                  You must have a tag policy attached to the organization root, an OU, or an * account.

                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                                                                                @@ -105,25 +105,25 @@ export interface DescribeReportCreationOutput { /** * @public *

                                                                                                                                                                                                                                                                                                                Reports the status of the operation.

                                                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                                                The operation status can be one of the following:

                                                                                                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                  The operation status can be one of the following:

                                                                                                                                                                                                                                                                                                                  + *
                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                    * RUNNING - Report creation is in progress.

                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                    * SUCCEEDED - Report creation is complete. You can open the report * from the Amazon S3 bucket that you specified when you ran * StartReportCreation.

                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                    * FAILED - Report creation timed out or the Amazon S3 bucket is not * accessible.

                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                    * NO REPORT - No report was generated in the last 90 days.

                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                  @@ -175,21 +175,21 @@ export class InternalServiceException extends __BaseException { /** * @public *

                                                                                                                                                                                                                                                                                                                  This error indicates one of the following:

                                                                                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                                                                                    + *
                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                                                                      A parameter is missing.

                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                      A parameter is missing.

                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                                                                      A malformed string was supplied for the request parameter.

                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                      A malformed string was supplied for the request parameter.

                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                                                                      An out-of-range value was supplied for the request parameter.

                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                      An out-of-range value was supplied for the request parameter.

                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                                                                      The target ID is invalid, unsupported, or doesn't exist.

                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                      The target ID is invalid, unsupported, or doesn't exist.

                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                                                                      You can't access the Amazon S3 bucket for report storage. For more information, see + *

                                                                                                                                                                                                                                                                                                                      You can't access the Amazon S3 bucket for report storage. For more information, see * Additional Requirements for Organization-wide Tag Compliance * Reports in the Organizations User Guide. *

                                                                                                                                                                                                                                                                                                                      @@ -257,31 +257,31 @@ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode]; * InvalidParameterException errors. It can also include any valid error * code returned by the Amazon Web Services service that hosts the resource that the ARN key * represents.

                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                      The following are common error codes that you might receive from other Amazon Web Services + *

                                                                                                                                                                                                                                                                                                                      The following are common error codes that you might receive from other Amazon Web Services * services:

                                                                                                                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                                                                                                                        + *
                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                                          * InternalServiceException – This can * mean that the Resource Groups Tagging API didn't receive a response from another Amazon Web Services service. It * can also mean that the resource type in the request is not supported by the * Resource Groups Tagging API. In these cases, it's safe to retry the request and then call GetResources to verify the changes.

                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                                          * AccessDeniedException – This can mean * that you need permission to call the tagging operations in the Amazon Web Services service * that contains the resource. For example, to use the Resource Groups Tagging API to tag a Amazon CloudWatch * alarm resource, you need permission to call both * TagResources * - * and - * + * and + * * TagResource * in the CloudWatch API.

                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                        For more information on errors that are generated from other Amazon Web Services services, see the + *

                                                                                                                                                                                                                                                                                                                        For more information on errors that are generated from other Amazon Web Services services, see the * documentation for that service.

                                                                                                                                                                                                                                                                                                                        */ export interface FailureInfo { @@ -350,25 +350,25 @@ export interface GetComplianceSummaryInput { * ec2 returns all Amazon EC2 resources (which includes EC2 instances). * Specifying a resource type of ec2:instance returns only EC2 * instances.

                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                        The string for each service name and resource type is the same as that embedded in a + *

                                                                                                                                                                                                                                                                                                                        The string for each service name and resource type is the same as that embedded in a * resource's Amazon Resource Name (ARN). Consult the * Amazon Web Services General Reference * * for the following:

                                                                                                                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                                                                                                                          + * - *

                                                                                                                                                                                                                                                                                                                          You can specify multiple resource types by using a comma separated array. The array + *

                                                                                                                                                                                                                                                                                                                          You can specify multiple resource types by using a comma separated array. The array * can include up to 100 items. Note that the length constraint requirement applies to each * resource type filter.

                                                                                                                                                                                                                                                                                                                          */ @@ -523,55 +523,55 @@ export interface GetResourcesInput { * resources that have tags with the specified keys and, if included, the specified values. * Each TagFilter must contain a key with values optional. A request can * include up to 50 keys, and each key can include up to 20 values.

                                                                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                                                                          Note the following when deciding how to use TagFilters:

                                                                                                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                                            Note the following when deciding how to use TagFilters:

                                                                                                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                                              If you don't specify a TagFilter, the + *

                                                                                                                                                                                                                                                                                                                              If you don't specify a TagFilter, the * response includes all resources that are currently tagged or ever had a tag. * Resources that currently don't have tags are shown with an empty tag set, like * this: "Tags": [].

                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                                              If you specify more than one filter in a single request, the response returns + *

                                                                                                                                                                                                                                                                                                                              If you specify more than one filter in a single request, the response returns * only those resources that satisfy all filters.

                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                                              If you specify a filter that contains more than one value for a key, the + *

                                                                                                                                                                                                                                                                                                                              If you specify a filter that contains more than one value for a key, the * response returns resources that match any of the specified * values for that key.

                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                                              If you don't specify a value for a key, the response returns all resources + *

                                                                                                                                                                                                                                                                                                                              If you don't specify a value for a key, the response returns all resources * that are tagged with that key, with any or no value.

                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                              For example, for the following filters: filter1= \{keyA,\{value1\}\}, + *

                                                                                                                                                                                                                                                                                                                              For example, for the following filters: filter1= \{keyA,\{value1\}\}, * filter2=\{keyB,\{value2,value3,value4\}\}, filter3= * \{keyC\}:

                                                                                                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                                                                                                                + *
                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                  * GetResources(\{filter1\}) returns resources tagged with * key1=value1 *

                                                                                                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                                                                                                • + * *
                                                                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                  * GetResources(\{filter2\}) returns resources tagged with * key2=value2 or key2=value3 or * key2=value4 *

                                                                                                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                                                                                                • + * *
                                                                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                  * GetResources(\{filter3\}) returns resources tagged with any * tag with the key key3, and with any or no value

                                                                                                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                                                                                                • + * *
                                                                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                  * GetResources(\{filter1,filter2,filter3\}) returns resources * tagged with (key1=value1) and (key2=value2 or key2=value3 or * key2=value4) and (key3, any or no value) *

                                                                                                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                                                                                                • + * *
                                                                                                                                                                                                                                                                                                                                * *
                                                                                                                                                                                                                                                                                                                              @@ -590,10 +590,10 @@ export interface GetResourcesInput { /** * @public *

                                                                                                                                                                                                                                                                                                                              Amazon Web Services recommends using ResourcesPerPage instead of this parameter.

                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                              A limit that restricts the number of tags (key and value pairs) returned by + *

                                                                                                                                                                                                                                                                                                                              A limit that restricts the number of tags (key and value pairs) returned by * GetResources in paginated output. A resource with no tags is counted as * having one tag (one key and value pair).

                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                                              * GetResources does not split a resource and its associated tags across * pages. If the specified TagsPerPage would cause such a break, a * PaginationToken is returned in place of the affected resource and its @@ -603,7 +603,7 @@ export interface GetResourcesInput { * will consist of three pages. The first page displays the first 10 resources, each with * its 10 tags. The second page displays the next 10 resources, each with its 10 tags. The * third page displays the remaining 2 resources, each with its 10 tags.

                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                              You can set TagsPerPage to a minimum of 100 items up to a maximum of 500 + *

                                                                                                                                                                                                                                                                                                                              You can set TagsPerPage to a minimum of 100 items up to a maximum of 500 * items.

                                                                                                                                                                                                                                                                                                                              */ TagsPerPage?: number; @@ -615,14 +615,14 @@ export interface GetResourcesInput { * resource type of ec2 returns all Amazon EC2 resources (which includes EC2 * instances). Specifying a resource type of ec2:instance returns only EC2 * instances.

                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                              The string for each service name and resource type is the same as that embedded in a + *

                                                                                                                                                                                                                                                                                                                              The string for each service name and resource type is the same as that embedded in a * resource's Amazon Resource Name (ARN). For the list of services whose resources you can * use in this parameter, see Services that support the Resource Groups Tagging API.

                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                              You can specify multiple resource types by using an array. The array can include up to + *

                                                                                                                                                                                                                                                                                                                              You can specify multiple resource types by using an array. The array can include up to * 100 items. Note that the length constraint requirement applies to each resource type * filter. For example, the following string would limit the response to only Amazon EC2 * instances, Amazon S3 buckets, or any Audit Manager resource:

                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                                              * ec2:instance,s3:bucket,auditmanager *

                                                                                                                                                                                                                                                                                                                              */ @@ -641,7 +641,7 @@ export interface GetResourcesInput { *

                                                                                                                                                                                                                                                                                                                              Specifies whether to exclude resources that are compliant with the tag policy. Set * this to true if you are interested in retrieving information on * noncompliant resources only.

                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                              You can use this parameter only if the IncludeComplianceDetails parameter + *

                                                                                                                                                                                                                                                                                                                              You can use this parameter only if the IncludeComplianceDetails parameter * is also set to true.

                                                                                                                                                                                                                                                                                                                              */ ExcludeCompliantResources?: boolean; @@ -653,9 +653,9 @@ export interface GetResourcesInput { * (ResourcesPerPage, TagsPerPage, * PaginationToken) in the same request. If you specify both, you get an * Invalid Parameter exception.

                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                              If a resource specified by this parameter doesn't exist, it doesn't generate an error; + *

                                                                                                                                                                                                                                                                                                                              If a resource specified by this parameter doesn't exist, it doesn't generate an error; * it simply isn't included in the response.

                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                              An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, + *

                                                                                                                                                                                                                                                                                                                              An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, * see Amazon * Resource Names (ARNs) and Amazon Web Services Service Namespaces in the * Amazon Web Services General Reference.

                                                                                                                                                                                                                                                                                                                              @@ -833,10 +833,10 @@ export interface StartReportCreationInput { /** * @public *

                                                                                                                                                                                                                                                                                                                              The name of the Amazon S3 bucket where the report will be stored; for example:

                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                                              * awsexamplebucket *

                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                              For more information on S3 bucket requirements, including an example bucket policy, + *

                                                                                                                                                                                                                                                                                                                              For more information on S3 bucket requirements, including an example bucket policy, * see the example S3 bucket policy on this page.

                                                                                                                                                                                                                                                                                                                              */ S3Bucket: string | undefined; @@ -854,7 +854,7 @@ export interface TagResourcesInput { /** * @public *

                                                                                                                                                                                                                                                                                                                              Specifies the list of ARNs of the resources that you want to apply tags to.

                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                              An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, + *

                                                                                                                                                                                                                                                                                                                              An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, * see Amazon * Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services * General Reference.

                                                                                                                                                                                                                                                                                                                              @@ -890,7 +890,7 @@ export interface UntagResourcesInput { /** * @public *

                                                                                                                                                                                                                                                                                                                              Specifies a list of ARNs of the resources that you want to remove tags from.

                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                              An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, + *

                                                                                                                                                                                                                                                                                                                              An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, * see Amazon * Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services * General Reference.

                                                                                                                                                                                                                                                                                                                              diff --git a/clients/client-resource-groups/src/endpoint/EndpointParameters.ts b/clients/client-resource-groups/src/endpoint/EndpointParameters.ts index 3d085b2eb3213..b2dd56eabc587 100644 --- a/clients/client-resource-groups/src/endpoint/EndpointParameters.ts +++ b/clients/client-resource-groups/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-resource-groups/src/endpoint/ruleset.ts b/clients/client-resource-groups/src/endpoint/ruleset.ts index eb1c1b3631291..f42814fa84f6d 100644 --- a/clients/client-resource-groups/src/endpoint/ruleset.ts +++ b/clients/client-resource-groups/src/endpoint/ruleset.ts @@ -6,27 +6,27 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/resource-groups.json */ -const t="fn", +const s="required", +t="fn", u="argv", v="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h="getAttr", -i={"required":true,"default":false,"type":"Boolean"}, -j={[v]:"Endpoint"}, -k={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, -l={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, -m={}, -n={[t]:"booleanEquals",[u]:[true,{[t]:h,[u]:[{[v]:d},"supportsFIPS"]}]}, -o={[v]:d}, -p={[t]:"booleanEquals",[u]:[true,{[t]:h,[u]:[o,"supportsDualStack"]}]}, -q={"url":"https://resource-groups.{Region}.{PartitionResult#dnsSuffix}","properties":{},"headers":{}}, -r=[k], -s=[l]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:i,UseFIPS:i,Endpoint:{required:b,type:c}},rules:[{conditions:[{[t]:"aws.partition",[u]:[{[v]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[t]:"isSet",[u]:[j]}],type:e,rules:[{conditions:r,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:s,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:j,properties:m,headers:m},type:g}]}]},{conditions:[k,l],type:e,rules:[{conditions:[n,p],type:e,rules:[{endpoint:{url:"https://resource-groups-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:r,type:e,rules:[{conditions:[n],type:e,rules:[{type:e,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:h,[u]:[o,"name"]}]}],endpoint:q,type:g},{endpoint:{url:"https://resource-groups-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:s,type:e,rules:[{conditions:[p],type:e,rules:[{endpoint:{url:"https://resource-groups.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{endpoint:q,type:g}]}]}; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f="getAttr", +g={[s]:false,"type":"String"}, +h={[s]:true,"default":false,"type":"Boolean"}, +i={[v]:"Endpoint"}, +j={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, +k={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, +l={}, +m={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[{[v]:e},"supportsFIPS"]}]}, +n={[v]:e}, +o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, +p=[j], +q=[k], +r=[{[v]:"Region"}]; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://resource-groups-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://resource-groups.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://resource-groups-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://resource-groups.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://resource-groups.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-robomaker/src/commands/BatchDescribeSimulationJobCommand.ts b/clients/client-robomaker/src/commands/BatchDescribeSimulationJobCommand.ts index aa847c6b8f9a0..6f0e8d9527e77 100644 --- a/clients/client-robomaker/src/commands/BatchDescribeSimulationJobCommand.ts +++ b/clients/client-robomaker/src/commands/BatchDescribeSimulationJobCommand.ts @@ -55,11 +55,11 @@ export interface BatchDescribeSimulationJobCommandOutput extends BatchDescribeSi * // { // SimulationJob * // arn: "STRING_VALUE", * // name: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "Pending" || "Preparing" || "Running" || "Restarting" || "Completed" || "Failed" || "RunningFailed" || "Terminating" || "Terminated" || "Canceled", * // lastStartedAt: new Date("TIMESTAMP"), * // lastUpdatedAt: new Date("TIMESTAMP"), - * // failureBehavior: "STRING_VALUE", - * // failureCode: "STRING_VALUE", + * // failureBehavior: "Fail" || "Continue", + * // failureCode: "InternalServiceError" || "RobotApplicationCrash" || "SimulationApplicationCrash" || "RobotApplicationHealthCheckFailure" || "SimulationApplicationHealthCheckFailure" || "BadPermissionsRobotApplication" || "BadPermissionsSimulationApplication" || "BadPermissionsS3Object" || "BadPermissionsS3Output" || "BadPermissionsCloudwatchLogs" || "SubnetIpLimitExceeded" || "ENILimitExceeded" || "BadPermissionsUserCredentials" || "InvalidBundleRobotApplication" || "InvalidBundleSimulationApplication" || "InvalidS3Resource" || "ThrottlingError" || "LimitExceeded" || "MismatchedEtag" || "RobotApplicationVersionMismatchedEtag" || "SimulationApplicationVersionMismatchedEtag" || "ResourceNotFound" || "RequestThrottled" || "BatchTimedOut" || "BatchCanceled" || "InvalidInput" || "WrongRegionS3Bucket" || "WrongRegionS3Output" || "WrongRegionRobotApplication" || "WrongRegionSimulationApplication" || "UploadContentMismatchError", * // failureReason: "STRING_VALUE", * // clientRequestToken: "STRING_VALUE", * // outputLocation: { // OutputLocation @@ -100,7 +100,7 @@ export interface BatchDescribeSimulationJobCommandOutput extends BatchDescribeSi * // { // UploadConfiguration * // name: "STRING_VALUE", // required * // path: "STRING_VALUE", // required - * // uploadBehavior: "STRING_VALUE", // required + * // uploadBehavior: "UPLOAD_ON_TERMINATE" || "UPLOAD_ROLLING_AUTO_REMOVE", // required * // }, * // ], * // useDefaultUploadConfigurations: true || false, @@ -110,7 +110,7 @@ export interface BatchDescribeSimulationJobCommandOutput extends BatchDescribeSi * // name: "STRING_VALUE", // required * // command: "STRING_VALUE", // required * // streamOutputToCloudWatch: true || false, - * // exitBehavior: "STRING_VALUE", + * // exitBehavior: "FAIL" || "RESTART", * // }, * // ], * // useDefaultTools: true || false, @@ -144,7 +144,7 @@ export interface BatchDescribeSimulationJobCommandOutput extends BatchDescribeSi * // { * // name: "STRING_VALUE", // required * // path: "STRING_VALUE", // required - * // uploadBehavior: "STRING_VALUE", // required + * // uploadBehavior: "UPLOAD_ON_TERMINATE" || "UPLOAD_ROLLING_AUTO_REMOVE", // required * // }, * // ], * // worldConfigs: [ // WorldConfigs @@ -159,7 +159,7 @@ export interface BatchDescribeSimulationJobCommandOutput extends BatchDescribeSi * // name: "STRING_VALUE", // required * // command: "STRING_VALUE", // required * // streamOutputToCloudWatch: true || false, - * // exitBehavior: "STRING_VALUE", + * // exitBehavior: "FAIL" || "RESTART", * // }, * // ], * // useDefaultTools: true || false, @@ -175,7 +175,7 @@ export interface BatchDescribeSimulationJobCommandOutput extends BatchDescribeSi * // etag: "STRING_VALUE", * // }, * // ], - * // type: "STRING_VALUE", + * // type: "Prefix" || "Archive" || "File", * // destination: "STRING_VALUE", * // }, * // ], @@ -199,7 +199,7 @@ export interface BatchDescribeSimulationJobCommandOutput extends BatchDescribeSi * // }, * // compute: { // ComputeResponse * // simulationUnitLimit: Number("int"), - * // computeType: "STRING_VALUE", + * // computeType: "CPU" || "GPU_AND_CPU", * // gpuUnitLimit: Number("int"), * // }, * // }, diff --git a/clients/client-robomaker/src/commands/CreateDeploymentJobCommand.ts b/clients/client-robomaker/src/commands/CreateDeploymentJobCommand.ts index f5be4e48cc3e8..d33ba3b34ca52 100644 --- a/clients/client-robomaker/src/commands/CreateDeploymentJobCommand.ts +++ b/clients/client-robomaker/src/commands/CreateDeploymentJobCommand.ts @@ -92,7 +92,7 @@ export interface CreateDeploymentJobCommandOutput extends CreateDeploymentJobRes * // { // CreateDeploymentJobResponse * // arn: "STRING_VALUE", * // fleet: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "Pending" || "Preparing" || "InProgress" || "Failed" || "Succeeded" || "Canceled", * // deploymentApplicationConfigs: [ // DeploymentApplicationConfigs * // { // DeploymentApplicationConfig * // application: "STRING_VALUE", // required @@ -109,7 +109,7 @@ export interface CreateDeploymentJobCommandOutput extends CreateDeploymentJobRes * // }, * // ], * // failureReason: "STRING_VALUE", - * // failureCode: "STRING_VALUE", + * // failureCode: "ResourceNotFound" || "EnvironmentSetupError" || "EtagMismatch" || "FailureThresholdBreached" || "RobotDeploymentAborted" || "RobotDeploymentNoResponse" || "RobotAgentConnectionTimeout" || "GreengrassDeploymentFailed" || "InvalidGreengrassGroup" || "MissingRobotArchitecture" || "MissingRobotApplicationArchitecture" || "MissingRobotDeploymentResource" || "GreengrassGroupVersionDoesNotExist" || "LambdaDeleted" || "ExtractingBundleFailure" || "PreLaunchFileFailure" || "PostLaunchFileFailure" || "BadPermissionError" || "DownloadConditionFailed" || "BadLambdaAssociated" || "InternalServerError" || "RobotApplicationDoesNotExist" || "DeploymentFleetDoesNotExist" || "FleetDeploymentTimeout", * // createdAt: new Date("TIMESTAMP"), * // deploymentConfig: { // DeploymentConfig * // concurrentDeploymentPercentage: Number("int"), diff --git a/clients/client-robomaker/src/commands/CreateRobotApplicationCommand.ts b/clients/client-robomaker/src/commands/CreateRobotApplicationCommand.ts index 688d74d6a19b6..70af4253e9e34 100644 --- a/clients/client-robomaker/src/commands/CreateRobotApplicationCommand.ts +++ b/clients/client-robomaker/src/commands/CreateRobotApplicationCommand.ts @@ -49,12 +49,12 @@ export interface CreateRobotApplicationCommandOutput extends CreateRobotApplicat * { // SourceConfig * s3Bucket: "STRING_VALUE", * s3Key: "STRING_VALUE", - * architecture: "STRING_VALUE", + * architecture: "X86_64" || "ARM64" || "ARMHF", * }, * ], * robotSoftwareSuite: { // RobotSoftwareSuite - * name: "STRING_VALUE", - * version: "STRING_VALUE", + * name: "ROS" || "ROS2" || "General", + * version: "Kinetic" || "Melodic" || "Dashing" || "Foxy", * }, * tags: { // TagMap * "": "STRING_VALUE", @@ -74,12 +74,12 @@ export interface CreateRobotApplicationCommandOutput extends CreateRobotApplicat * // s3Bucket: "STRING_VALUE", * // s3Key: "STRING_VALUE", * // etag: "STRING_VALUE", - * // architecture: "STRING_VALUE", + * // architecture: "X86_64" || "ARM64" || "ARMHF", * // }, * // ], * // robotSoftwareSuite: { // RobotSoftwareSuite - * // name: "STRING_VALUE", - * // version: "STRING_VALUE", + * // name: "ROS" || "ROS2" || "General", + * // version: "Kinetic" || "Melodic" || "Dashing" || "Foxy", * // }, * // lastUpdatedAt: new Date("TIMESTAMP"), * // revisionId: "STRING_VALUE", diff --git a/clients/client-robomaker/src/commands/CreateRobotApplicationVersionCommand.ts b/clients/client-robomaker/src/commands/CreateRobotApplicationVersionCommand.ts index 9cf777a73e4fc..e4a1273a2993b 100644 --- a/clients/client-robomaker/src/commands/CreateRobotApplicationVersionCommand.ts +++ b/clients/client-robomaker/src/commands/CreateRobotApplicationVersionCommand.ts @@ -67,12 +67,12 @@ export interface CreateRobotApplicationVersionCommandOutput * // s3Bucket: "STRING_VALUE", * // s3Key: "STRING_VALUE", * // etag: "STRING_VALUE", - * // architecture: "STRING_VALUE", + * // architecture: "X86_64" || "ARM64" || "ARMHF", * // }, * // ], * // robotSoftwareSuite: { // RobotSoftwareSuite - * // name: "STRING_VALUE", - * // version: "STRING_VALUE", + * // name: "ROS" || "ROS2" || "General", + * // version: "Kinetic" || "Melodic" || "Dashing" || "Foxy", * // }, * // lastUpdatedAt: new Date("TIMESTAMP"), * // revisionId: "STRING_VALUE", diff --git a/clients/client-robomaker/src/commands/CreateRobotCommand.ts b/clients/client-robomaker/src/commands/CreateRobotCommand.ts index ec918d4f48d8c..c26f68d79da47 100644 --- a/clients/client-robomaker/src/commands/CreateRobotCommand.ts +++ b/clients/client-robomaker/src/commands/CreateRobotCommand.ts @@ -50,7 +50,7 @@ export interface CreateRobotCommandOutput extends CreateRobotResponse, __Metadat * const client = new RoboMakerClient(config); * const input = { // CreateRobotRequest * name: "STRING_VALUE", // required - * architecture: "STRING_VALUE", // required + * architecture: "X86_64" || "ARM64" || "ARMHF", // required * greengrassGroupId: "STRING_VALUE", // required * tags: { // TagMap * "": "STRING_VALUE", @@ -63,7 +63,7 @@ export interface CreateRobotCommandOutput extends CreateRobotResponse, __Metadat * // name: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), * // greengrassGroupId: "STRING_VALUE", - * // architecture: "STRING_VALUE", + * // architecture: "X86_64" || "ARM64" || "ARMHF", * // tags: { // TagMap * // "": "STRING_VALUE", * // }, diff --git a/clients/client-robomaker/src/commands/CreateSimulationApplicationCommand.ts b/clients/client-robomaker/src/commands/CreateSimulationApplicationCommand.ts index f68810c57d70e..4a294615dc74e 100644 --- a/clients/client-robomaker/src/commands/CreateSimulationApplicationCommand.ts +++ b/clients/client-robomaker/src/commands/CreateSimulationApplicationCommand.ts @@ -54,19 +54,19 @@ export interface CreateSimulationApplicationCommandOutput * { // SourceConfig * s3Bucket: "STRING_VALUE", * s3Key: "STRING_VALUE", - * architecture: "STRING_VALUE", + * architecture: "X86_64" || "ARM64" || "ARMHF", * }, * ], * simulationSoftwareSuite: { // SimulationSoftwareSuite - * name: "STRING_VALUE", + * name: "Gazebo" || "RosbagPlay" || "SimulationRuntime", * version: "STRING_VALUE", * }, * robotSoftwareSuite: { // RobotSoftwareSuite - * name: "STRING_VALUE", - * version: "STRING_VALUE", + * name: "ROS" || "ROS2" || "General", + * version: "Kinetic" || "Melodic" || "Dashing" || "Foxy", * }, * renderingEngine: { // RenderingEngine - * name: "STRING_VALUE", + * name: "OGRE", * version: "STRING_VALUE", * }, * tags: { // TagMap @@ -87,19 +87,19 @@ export interface CreateSimulationApplicationCommandOutput * // s3Bucket: "STRING_VALUE", * // s3Key: "STRING_VALUE", * // etag: "STRING_VALUE", - * // architecture: "STRING_VALUE", + * // architecture: "X86_64" || "ARM64" || "ARMHF", * // }, * // ], * // simulationSoftwareSuite: { // SimulationSoftwareSuite - * // name: "STRING_VALUE", + * // name: "Gazebo" || "RosbagPlay" || "SimulationRuntime", * // version: "STRING_VALUE", * // }, * // robotSoftwareSuite: { // RobotSoftwareSuite - * // name: "STRING_VALUE", - * // version: "STRING_VALUE", + * // name: "ROS" || "ROS2" || "General", + * // version: "Kinetic" || "Melodic" || "Dashing" || "Foxy", * // }, * // renderingEngine: { // RenderingEngine - * // name: "STRING_VALUE", + * // name: "OGRE", * // version: "STRING_VALUE", * // }, * // lastUpdatedAt: new Date("TIMESTAMP"), diff --git a/clients/client-robomaker/src/commands/CreateSimulationApplicationVersionCommand.ts b/clients/client-robomaker/src/commands/CreateSimulationApplicationVersionCommand.ts index a9afe82e49f38..884ce8ba0eca8 100644 --- a/clients/client-robomaker/src/commands/CreateSimulationApplicationVersionCommand.ts +++ b/clients/client-robomaker/src/commands/CreateSimulationApplicationVersionCommand.ts @@ -70,19 +70,19 @@ export interface CreateSimulationApplicationVersionCommandOutput * // s3Bucket: "STRING_VALUE", * // s3Key: "STRING_VALUE", * // etag: "STRING_VALUE", - * // architecture: "STRING_VALUE", + * // architecture: "X86_64" || "ARM64" || "ARMHF", * // }, * // ], * // simulationSoftwareSuite: { // SimulationSoftwareSuite - * // name: "STRING_VALUE", + * // name: "Gazebo" || "RosbagPlay" || "SimulationRuntime", * // version: "STRING_VALUE", * // }, * // robotSoftwareSuite: { // RobotSoftwareSuite - * // name: "STRING_VALUE", - * // version: "STRING_VALUE", + * // name: "ROS" || "ROS2" || "General", + * // version: "Kinetic" || "Melodic" || "Dashing" || "Foxy", * // }, * // renderingEngine: { // RenderingEngine - * // name: "STRING_VALUE", + * // name: "OGRE", * // version: "STRING_VALUE", * // }, * // lastUpdatedAt: new Date("TIMESTAMP"), diff --git a/clients/client-robomaker/src/commands/CreateSimulationJobCommand.ts b/clients/client-robomaker/src/commands/CreateSimulationJobCommand.ts index 6ed5f5f481bff..0bac6f163d700 100644 --- a/clients/client-robomaker/src/commands/CreateSimulationJobCommand.ts +++ b/clients/client-robomaker/src/commands/CreateSimulationJobCommand.ts @@ -58,7 +58,7 @@ export interface CreateSimulationJobCommandOutput extends CreateSimulationJobRes * }, * maxJobDurationInSeconds: Number("long"), // required * iamRole: "STRING_VALUE", // required - * failureBehavior: "STRING_VALUE", + * failureBehavior: "Fail" || "Continue", * robotApplications: [ // RobotApplicationConfigs * { // RobotApplicationConfig * application: "STRING_VALUE", // required @@ -87,7 +87,7 @@ export interface CreateSimulationJobCommandOutput extends CreateSimulationJobRes * { // UploadConfiguration * name: "STRING_VALUE", // required * path: "STRING_VALUE", // required - * uploadBehavior: "STRING_VALUE", // required + * uploadBehavior: "UPLOAD_ON_TERMINATE" || "UPLOAD_ROLLING_AUTO_REMOVE", // required * }, * ], * useDefaultUploadConfigurations: true || false, @@ -97,7 +97,7 @@ export interface CreateSimulationJobCommandOutput extends CreateSimulationJobRes * name: "STRING_VALUE", // required * command: "STRING_VALUE", // required * streamOutputToCloudWatch: true || false, - * exitBehavior: "STRING_VALUE", + * exitBehavior: "FAIL" || "RESTART", * }, * ], * useDefaultTools: true || false, @@ -131,7 +131,7 @@ export interface CreateSimulationJobCommandOutput extends CreateSimulationJobRes * { * name: "STRING_VALUE", // required * path: "STRING_VALUE", // required - * uploadBehavior: "STRING_VALUE", // required + * uploadBehavior: "UPLOAD_ON_TERMINATE" || "UPLOAD_ROLLING_AUTO_REMOVE", // required * }, * ], * worldConfigs: [ // WorldConfigs @@ -146,7 +146,7 @@ export interface CreateSimulationJobCommandOutput extends CreateSimulationJobRes * name: "STRING_VALUE", // required * command: "STRING_VALUE", // required * streamOutputToCloudWatch: true || false, - * exitBehavior: "STRING_VALUE", + * exitBehavior: "FAIL" || "RESTART", * }, * ], * useDefaultTools: true || false, @@ -159,7 +159,7 @@ export interface CreateSimulationJobCommandOutput extends CreateSimulationJobRes * s3Keys: [ // S3KeysOrPrefixes // required * "STRING_VALUE", * ], - * type: "STRING_VALUE", + * type: "Prefix" || "Archive" || "File", * destination: "STRING_VALUE", * }, * ], @@ -177,7 +177,7 @@ export interface CreateSimulationJobCommandOutput extends CreateSimulationJobRes * }, * compute: { // Compute * simulationUnitLimit: Number("int"), - * computeType: "STRING_VALUE", + * computeType: "CPU" || "GPU_AND_CPU", * gpuUnitLimit: Number("int"), * }, * }; @@ -185,11 +185,11 @@ export interface CreateSimulationJobCommandOutput extends CreateSimulationJobRes * const response = await client.send(command); * // { // CreateSimulationJobResponse * // arn: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "Pending" || "Preparing" || "Running" || "Restarting" || "Completed" || "Failed" || "RunningFailed" || "Terminating" || "Terminated" || "Canceled", * // lastStartedAt: new Date("TIMESTAMP"), * // lastUpdatedAt: new Date("TIMESTAMP"), - * // failureBehavior: "STRING_VALUE", - * // failureCode: "STRING_VALUE", + * // failureBehavior: "Fail" || "Continue", + * // failureCode: "InternalServiceError" || "RobotApplicationCrash" || "SimulationApplicationCrash" || "RobotApplicationHealthCheckFailure" || "SimulationApplicationHealthCheckFailure" || "BadPermissionsRobotApplication" || "BadPermissionsSimulationApplication" || "BadPermissionsS3Object" || "BadPermissionsS3Output" || "BadPermissionsCloudwatchLogs" || "SubnetIpLimitExceeded" || "ENILimitExceeded" || "BadPermissionsUserCredentials" || "InvalidBundleRobotApplication" || "InvalidBundleSimulationApplication" || "InvalidS3Resource" || "ThrottlingError" || "LimitExceeded" || "MismatchedEtag" || "RobotApplicationVersionMismatchedEtag" || "SimulationApplicationVersionMismatchedEtag" || "ResourceNotFound" || "RequestThrottled" || "BatchTimedOut" || "BatchCanceled" || "InvalidInput" || "WrongRegionS3Bucket" || "WrongRegionS3Output" || "WrongRegionRobotApplication" || "WrongRegionSimulationApplication" || "UploadContentMismatchError", * // clientRequestToken: "STRING_VALUE", * // outputLocation: { // OutputLocation * // s3Bucket: "STRING_VALUE", @@ -229,7 +229,7 @@ export interface CreateSimulationJobCommandOutput extends CreateSimulationJobRes * // { // UploadConfiguration * // name: "STRING_VALUE", // required * // path: "STRING_VALUE", // required - * // uploadBehavior: "STRING_VALUE", // required + * // uploadBehavior: "UPLOAD_ON_TERMINATE" || "UPLOAD_ROLLING_AUTO_REMOVE", // required * // }, * // ], * // useDefaultUploadConfigurations: true || false, @@ -239,7 +239,7 @@ export interface CreateSimulationJobCommandOutput extends CreateSimulationJobRes * // name: "STRING_VALUE", // required * // command: "STRING_VALUE", // required * // streamOutputToCloudWatch: true || false, - * // exitBehavior: "STRING_VALUE", + * // exitBehavior: "FAIL" || "RESTART", * // }, * // ], * // useDefaultTools: true || false, @@ -273,7 +273,7 @@ export interface CreateSimulationJobCommandOutput extends CreateSimulationJobRes * // { * // name: "STRING_VALUE", // required * // path: "STRING_VALUE", // required - * // uploadBehavior: "STRING_VALUE", // required + * // uploadBehavior: "UPLOAD_ON_TERMINATE" || "UPLOAD_ROLLING_AUTO_REMOVE", // required * // }, * // ], * // worldConfigs: [ // WorldConfigs @@ -288,7 +288,7 @@ export interface CreateSimulationJobCommandOutput extends CreateSimulationJobRes * // name: "STRING_VALUE", // required * // command: "STRING_VALUE", // required * // streamOutputToCloudWatch: true || false, - * // exitBehavior: "STRING_VALUE", + * // exitBehavior: "FAIL" || "RESTART", * // }, * // ], * // useDefaultTools: true || false, @@ -304,7 +304,7 @@ export interface CreateSimulationJobCommandOutput extends CreateSimulationJobRes * // etag: "STRING_VALUE", * // }, * // ], - * // type: "STRING_VALUE", + * // type: "Prefix" || "Archive" || "File", * // destination: "STRING_VALUE", * // }, * // ], @@ -323,7 +323,7 @@ export interface CreateSimulationJobCommandOutput extends CreateSimulationJobRes * // }, * // compute: { // ComputeResponse * // simulationUnitLimit: Number("int"), - * // computeType: "STRING_VALUE", + * // computeType: "CPU" || "GPU_AND_CPU", * // gpuUnitLimit: Number("int"), * // }, * // }; diff --git a/clients/client-robomaker/src/commands/CreateWorldExportJobCommand.ts b/clients/client-robomaker/src/commands/CreateWorldExportJobCommand.ts index 9fc9949f5f8b7..0e361742c8f04 100644 --- a/clients/client-robomaker/src/commands/CreateWorldExportJobCommand.ts +++ b/clients/client-robomaker/src/commands/CreateWorldExportJobCommand.ts @@ -61,9 +61,9 @@ export interface CreateWorldExportJobCommandOutput extends CreateWorldExportJobR * const response = await client.send(command); * // { // CreateWorldExportJobResponse * // arn: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "Pending" || "Running" || "Completed" || "Failed" || "Canceling" || "Canceled", * // createdAt: new Date("TIMESTAMP"), - * // failureCode: "STRING_VALUE", + * // failureCode: "InternalServiceError" || "LimitExceeded" || "ResourceNotFound" || "RequestThrottled" || "InvalidInput" || "AccessDenied", * // clientRequestToken: "STRING_VALUE", * // outputLocation: { // OutputLocation * // s3Bucket: "STRING_VALUE", diff --git a/clients/client-robomaker/src/commands/CreateWorldGenerationJobCommand.ts b/clients/client-robomaker/src/commands/CreateWorldGenerationJobCommand.ts index 26d1072bcda43..0f9d2f2c42165 100644 --- a/clients/client-robomaker/src/commands/CreateWorldGenerationJobCommand.ts +++ b/clients/client-robomaker/src/commands/CreateWorldGenerationJobCommand.ts @@ -61,9 +61,9 @@ export interface CreateWorldGenerationJobCommandOutput extends CreateWorldGenera * const response = await client.send(command); * // { // CreateWorldGenerationJobResponse * // arn: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "Pending" || "Running" || "Completed" || "Failed" || "PartialFailed" || "Canceling" || "Canceled", * // createdAt: new Date("TIMESTAMP"), - * // failureCode: "STRING_VALUE", + * // failureCode: "InternalServiceError" || "LimitExceeded" || "ResourceNotFound" || "RequestThrottled" || "InvalidInput" || "AllWorldGenerationFailed", * // clientRequestToken: "STRING_VALUE", * // template: "STRING_VALUE", * // worldCount: { // WorldCount diff --git a/clients/client-robomaker/src/commands/DescribeDeploymentJobCommand.ts b/clients/client-robomaker/src/commands/DescribeDeploymentJobCommand.ts index f30cf6226571e..887586fb7ae46 100644 --- a/clients/client-robomaker/src/commands/DescribeDeploymentJobCommand.ts +++ b/clients/client-robomaker/src/commands/DescribeDeploymentJobCommand.ts @@ -56,7 +56,7 @@ export interface DescribeDeploymentJobCommandOutput extends DescribeDeploymentJo * // { // DescribeDeploymentJobResponse * // arn: "STRING_VALUE", * // fleet: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "Pending" || "Preparing" || "InProgress" || "Failed" || "Succeeded" || "Canceled", * // deploymentConfig: { // DeploymentConfig * // concurrentDeploymentPercentage: Number("int"), * // failureThresholdPercentage: Number("int"), @@ -83,22 +83,22 @@ export interface DescribeDeploymentJobCommandOutput extends DescribeDeploymentJo * // }, * // ], * // failureReason: "STRING_VALUE", - * // failureCode: "STRING_VALUE", + * // failureCode: "ResourceNotFound" || "EnvironmentSetupError" || "EtagMismatch" || "FailureThresholdBreached" || "RobotDeploymentAborted" || "RobotDeploymentNoResponse" || "RobotAgentConnectionTimeout" || "GreengrassDeploymentFailed" || "InvalidGreengrassGroup" || "MissingRobotArchitecture" || "MissingRobotApplicationArchitecture" || "MissingRobotDeploymentResource" || "GreengrassGroupVersionDoesNotExist" || "LambdaDeleted" || "ExtractingBundleFailure" || "PreLaunchFileFailure" || "PostLaunchFileFailure" || "BadPermissionError" || "DownloadConditionFailed" || "BadLambdaAssociated" || "InternalServerError" || "RobotApplicationDoesNotExist" || "DeploymentFleetDoesNotExist" || "FleetDeploymentTimeout", * // createdAt: new Date("TIMESTAMP"), * // robotDeploymentSummary: [ // RobotDeploymentSummary * // { // RobotDeployment * // arn: "STRING_VALUE", * // deploymentStartTime: new Date("TIMESTAMP"), * // deploymentFinishTime: new Date("TIMESTAMP"), - * // status: "STRING_VALUE", + * // status: "Available" || "Registered" || "PendingNewDeployment" || "Deploying" || "Failed" || "InSync" || "NoResponse", * // progressDetail: { // ProgressDetail - * // currentProgress: "STRING_VALUE", + * // currentProgress: "Validating" || "DownloadingExtracting" || "ExecutingDownloadCondition" || "ExecutingPreLaunch" || "Launching" || "ExecutingPostLaunch" || "Finished", * // percentDone: Number("float"), * // estimatedTimeRemainingSeconds: Number("int"), * // targetResource: "STRING_VALUE", * // }, * // failureReason: "STRING_VALUE", - * // failureCode: "STRING_VALUE", + * // failureCode: "ResourceNotFound" || "EnvironmentSetupError" || "EtagMismatch" || "FailureThresholdBreached" || "RobotDeploymentAborted" || "RobotDeploymentNoResponse" || "RobotAgentConnectionTimeout" || "GreengrassDeploymentFailed" || "InvalidGreengrassGroup" || "MissingRobotArchitecture" || "MissingRobotApplicationArchitecture" || "MissingRobotDeploymentResource" || "GreengrassGroupVersionDoesNotExist" || "LambdaDeleted" || "ExtractingBundleFailure" || "PreLaunchFileFailure" || "PostLaunchFileFailure" || "BadPermissionError" || "DownloadConditionFailed" || "BadLambdaAssociated" || "InternalServerError" || "RobotApplicationDoesNotExist" || "DeploymentFleetDoesNotExist" || "FleetDeploymentTimeout", * // }, * // ], * // tags: { // TagMap diff --git a/clients/client-robomaker/src/commands/DescribeFleetCommand.ts b/clients/client-robomaker/src/commands/DescribeFleetCommand.ts index 1c92cde7e4424..5c5ff2b01f15f 100644 --- a/clients/client-robomaker/src/commands/DescribeFleetCommand.ts +++ b/clients/client-robomaker/src/commands/DescribeFleetCommand.ts @@ -61,16 +61,16 @@ export interface DescribeFleetCommandOutput extends DescribeFleetResponse, __Met * // arn: "STRING_VALUE", * // name: "STRING_VALUE", * // fleetArn: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "Available" || "Registered" || "PendingNewDeployment" || "Deploying" || "Failed" || "InSync" || "NoResponse", * // greenGrassGroupId: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), - * // architecture: "STRING_VALUE", + * // architecture: "X86_64" || "ARM64" || "ARMHF", * // lastDeploymentJob: "STRING_VALUE", * // lastDeploymentTime: new Date("TIMESTAMP"), * // }, * // ], * // createdAt: new Date("TIMESTAMP"), - * // lastDeploymentStatus: "STRING_VALUE", + * // lastDeploymentStatus: "Pending" || "Preparing" || "InProgress" || "Failed" || "Succeeded" || "Canceled", * // lastDeploymentJob: "STRING_VALUE", * // lastDeploymentTime: new Date("TIMESTAMP"), * // tags: { // TagMap diff --git a/clients/client-robomaker/src/commands/DescribeRobotApplicationCommand.ts b/clients/client-robomaker/src/commands/DescribeRobotApplicationCommand.ts index 3ddfbf29074ac..7c577d35abd76 100644 --- a/clients/client-robomaker/src/commands/DescribeRobotApplicationCommand.ts +++ b/clients/client-robomaker/src/commands/DescribeRobotApplicationCommand.ts @@ -58,12 +58,12 @@ export interface DescribeRobotApplicationCommandOutput extends DescribeRobotAppl * // s3Bucket: "STRING_VALUE", * // s3Key: "STRING_VALUE", * // etag: "STRING_VALUE", - * // architecture: "STRING_VALUE", + * // architecture: "X86_64" || "ARM64" || "ARMHF", * // }, * // ], * // robotSoftwareSuite: { // RobotSoftwareSuite - * // name: "STRING_VALUE", - * // version: "STRING_VALUE", + * // name: "ROS" || "ROS2" || "General", + * // version: "Kinetic" || "Melodic" || "Dashing" || "Foxy", * // }, * // revisionId: "STRING_VALUE", * // lastUpdatedAt: new Date("TIMESTAMP"), diff --git a/clients/client-robomaker/src/commands/DescribeRobotCommand.ts b/clients/client-robomaker/src/commands/DescribeRobotCommand.ts index ddcae096c1578..d90f884b7524d 100644 --- a/clients/client-robomaker/src/commands/DescribeRobotCommand.ts +++ b/clients/client-robomaker/src/commands/DescribeRobotCommand.ts @@ -57,10 +57,10 @@ export interface DescribeRobotCommandOutput extends DescribeRobotResponse, __Met * // arn: "STRING_VALUE", * // name: "STRING_VALUE", * // fleetArn: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "Available" || "Registered" || "PendingNewDeployment" || "Deploying" || "Failed" || "InSync" || "NoResponse", * // greengrassGroupId: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), - * // architecture: "STRING_VALUE", + * // architecture: "X86_64" || "ARM64" || "ARMHF", * // lastDeploymentJob: "STRING_VALUE", * // lastDeploymentTime: new Date("TIMESTAMP"), * // tags: { // TagMap diff --git a/clients/client-robomaker/src/commands/DescribeSimulationApplicationCommand.ts b/clients/client-robomaker/src/commands/DescribeSimulationApplicationCommand.ts index a6250997087ff..24d8bf9c9fcaa 100644 --- a/clients/client-robomaker/src/commands/DescribeSimulationApplicationCommand.ts +++ b/clients/client-robomaker/src/commands/DescribeSimulationApplicationCommand.ts @@ -63,19 +63,19 @@ export interface DescribeSimulationApplicationCommandOutput * // s3Bucket: "STRING_VALUE", * // s3Key: "STRING_VALUE", * // etag: "STRING_VALUE", - * // architecture: "STRING_VALUE", + * // architecture: "X86_64" || "ARM64" || "ARMHF", * // }, * // ], * // simulationSoftwareSuite: { // SimulationSoftwareSuite - * // name: "STRING_VALUE", + * // name: "Gazebo" || "RosbagPlay" || "SimulationRuntime", * // version: "STRING_VALUE", * // }, * // robotSoftwareSuite: { // RobotSoftwareSuite - * // name: "STRING_VALUE", - * // version: "STRING_VALUE", + * // name: "ROS" || "ROS2" || "General", + * // version: "Kinetic" || "Melodic" || "Dashing" || "Foxy", * // }, * // renderingEngine: { // RenderingEngine - * // name: "STRING_VALUE", + * // name: "OGRE", * // version: "STRING_VALUE", * // }, * // revisionId: "STRING_VALUE", diff --git a/clients/client-robomaker/src/commands/DescribeSimulationJobBatchCommand.ts b/clients/client-robomaker/src/commands/DescribeSimulationJobBatchCommand.ts index a208416c37668..a2dadf4e73bd1 100644 --- a/clients/client-robomaker/src/commands/DescribeSimulationJobBatchCommand.ts +++ b/clients/client-robomaker/src/commands/DescribeSimulationJobBatchCommand.ts @@ -50,7 +50,7 @@ export interface DescribeSimulationJobBatchCommandOutput extends DescribeSimulat * const response = await client.send(command); * // { // DescribeSimulationJobBatchResponse * // arn: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "Pending" || "InProgress" || "Failed" || "Completed" || "Canceled" || "Canceling" || "Completing" || "TimingOut" || "TimedOut", * // lastUpdatedAt: new Date("TIMESTAMP"), * // createdAt: new Date("TIMESTAMP"), * // clientRequestToken: "STRING_VALUE", @@ -58,7 +58,7 @@ export interface DescribeSimulationJobBatchCommandOutput extends DescribeSimulat * // timeoutInSeconds: Number("long"), * // maxConcurrency: Number("int"), * // }, - * // failureCode: "STRING_VALUE", + * // failureCode: "InternalServiceError", * // failureReason: "STRING_VALUE", * // failedRequests: [ // FailedCreateSimulationJobRequests * // { // FailedCreateSimulationJobRequest @@ -72,7 +72,7 @@ export interface DescribeSimulationJobBatchCommandOutput extends DescribeSimulat * // }, * // maxJobDurationInSeconds: Number("long"), // required * // iamRole: "STRING_VALUE", - * // failureBehavior: "STRING_VALUE", + * // failureBehavior: "Fail" || "Continue", * // useDefaultApplications: true || false, * // robotApplications: [ // RobotApplicationConfigs * // { // RobotApplicationConfig @@ -102,7 +102,7 @@ export interface DescribeSimulationJobBatchCommandOutput extends DescribeSimulat * // { // UploadConfiguration * // name: "STRING_VALUE", // required * // path: "STRING_VALUE", // required - * // uploadBehavior: "STRING_VALUE", // required + * // uploadBehavior: "UPLOAD_ON_TERMINATE" || "UPLOAD_ROLLING_AUTO_REMOVE", // required * // }, * // ], * // useDefaultUploadConfigurations: true || false, @@ -112,7 +112,7 @@ export interface DescribeSimulationJobBatchCommandOutput extends DescribeSimulat * // name: "STRING_VALUE", // required * // command: "STRING_VALUE", // required * // streamOutputToCloudWatch: true || false, - * // exitBehavior: "STRING_VALUE", + * // exitBehavior: "FAIL" || "RESTART", * // }, * // ], * // useDefaultTools: true || false, @@ -146,7 +146,7 @@ export interface DescribeSimulationJobBatchCommandOutput extends DescribeSimulat * // { * // name: "STRING_VALUE", // required * // path: "STRING_VALUE", // required - * // uploadBehavior: "STRING_VALUE", // required + * // uploadBehavior: "UPLOAD_ON_TERMINATE" || "UPLOAD_ROLLING_AUTO_REMOVE", // required * // }, * // ], * // worldConfigs: [ // WorldConfigs @@ -161,7 +161,7 @@ export interface DescribeSimulationJobBatchCommandOutput extends DescribeSimulat * // name: "STRING_VALUE", // required * // command: "STRING_VALUE", // required * // streamOutputToCloudWatch: true || false, - * // exitBehavior: "STRING_VALUE", + * // exitBehavior: "FAIL" || "RESTART", * // }, * // ], * // useDefaultTools: true || false, @@ -174,7 +174,7 @@ export interface DescribeSimulationJobBatchCommandOutput extends DescribeSimulat * // s3Keys: [ // S3KeysOrPrefixes // required * // "STRING_VALUE", * // ], - * // type: "STRING_VALUE", + * // type: "Prefix" || "Archive" || "File", * // destination: "STRING_VALUE", * // }, * // ], @@ -189,7 +189,7 @@ export interface DescribeSimulationJobBatchCommandOutput extends DescribeSimulat * // }, * // compute: { // Compute * // simulationUnitLimit: Number("int"), - * // computeType: "STRING_VALUE", + * // computeType: "CPU" || "GPU_AND_CPU", * // gpuUnitLimit: Number("int"), * // }, * // tags: { // TagMap @@ -197,7 +197,7 @@ export interface DescribeSimulationJobBatchCommandOutput extends DescribeSimulat * // }, * // }, * // failureReason: "STRING_VALUE", - * // failureCode: "STRING_VALUE", + * // failureCode: "InternalServiceError" || "RobotApplicationCrash" || "SimulationApplicationCrash" || "RobotApplicationHealthCheckFailure" || "SimulationApplicationHealthCheckFailure" || "BadPermissionsRobotApplication" || "BadPermissionsSimulationApplication" || "BadPermissionsS3Object" || "BadPermissionsS3Output" || "BadPermissionsCloudwatchLogs" || "SubnetIpLimitExceeded" || "ENILimitExceeded" || "BadPermissionsUserCredentials" || "InvalidBundleRobotApplication" || "InvalidBundleSimulationApplication" || "InvalidS3Resource" || "ThrottlingError" || "LimitExceeded" || "MismatchedEtag" || "RobotApplicationVersionMismatchedEtag" || "SimulationApplicationVersionMismatchedEtag" || "ResourceNotFound" || "RequestThrottled" || "BatchTimedOut" || "BatchCanceled" || "InvalidInput" || "WrongRegionS3Bucket" || "WrongRegionS3Output" || "WrongRegionRobotApplication" || "WrongRegionSimulationApplication" || "UploadContentMismatchError", * // failedAt: new Date("TIMESTAMP"), * // }, * // ], @@ -212,7 +212,7 @@ export interface DescribeSimulationJobBatchCommandOutput extends DescribeSimulat * // }, * // maxJobDurationInSeconds: Number("long"), // required * // iamRole: "STRING_VALUE", - * // failureBehavior: "STRING_VALUE", + * // failureBehavior: "Fail" || "Continue", * // useDefaultApplications: true || false, * // robotApplications: [ * // { @@ -242,7 +242,7 @@ export interface DescribeSimulationJobBatchCommandOutput extends DescribeSimulat * // { * // name: "STRING_VALUE", // required * // path: "STRING_VALUE", // required - * // uploadBehavior: "STRING_VALUE", // required + * // uploadBehavior: "UPLOAD_ON_TERMINATE" || "UPLOAD_ROLLING_AUTO_REMOVE", // required * // }, * // ], * // useDefaultUploadConfigurations: true || false, @@ -252,7 +252,7 @@ export interface DescribeSimulationJobBatchCommandOutput extends DescribeSimulat * // name: "STRING_VALUE", // required * // command: "STRING_VALUE", // required * // streamOutputToCloudWatch: true || false, - * // exitBehavior: "STRING_VALUE", + * // exitBehavior: "FAIL" || "RESTART", * // }, * // ], * // useDefaultTools: true || false, @@ -286,7 +286,7 @@ export interface DescribeSimulationJobBatchCommandOutput extends DescribeSimulat * // { * // name: "STRING_VALUE", // required * // path: "STRING_VALUE", // required - * // uploadBehavior: "STRING_VALUE", // required + * // uploadBehavior: "UPLOAD_ON_TERMINATE" || "UPLOAD_ROLLING_AUTO_REMOVE", // required * // }, * // ], * // worldConfigs: [ @@ -301,7 +301,7 @@ export interface DescribeSimulationJobBatchCommandOutput extends DescribeSimulat * // name: "STRING_VALUE", // required * // command: "STRING_VALUE", // required * // streamOutputToCloudWatch: true || false, - * // exitBehavior: "STRING_VALUE", + * // exitBehavior: "FAIL" || "RESTART", * // }, * // ], * // useDefaultTools: true || false, @@ -314,7 +314,7 @@ export interface DescribeSimulationJobBatchCommandOutput extends DescribeSimulat * // s3Keys: [ // required * // "STRING_VALUE", * // ], - * // type: "STRING_VALUE", + * // type: "Prefix" || "Archive" || "File", * // destination: "STRING_VALUE", * // }, * // ], @@ -329,7 +329,7 @@ export interface DescribeSimulationJobBatchCommandOutput extends DescribeSimulat * // }, * // compute: { * // simulationUnitLimit: Number("int"), - * // computeType: "STRING_VALUE", + * // computeType: "CPU" || "GPU_AND_CPU", * // gpuUnitLimit: Number("int"), * // }, * // tags: { @@ -342,7 +342,7 @@ export interface DescribeSimulationJobBatchCommandOutput extends DescribeSimulat * // arn: "STRING_VALUE", * // lastUpdatedAt: new Date("TIMESTAMP"), * // name: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "Pending" || "Preparing" || "Running" || "Restarting" || "Completed" || "Failed" || "RunningFailed" || "Terminating" || "Terminated" || "Canceled", * // simulationApplicationNames: [ // SimulationApplicationNames * // "STRING_VALUE", * // ], @@ -352,7 +352,7 @@ export interface DescribeSimulationJobBatchCommandOutput extends DescribeSimulat * // dataSourceNames: [ // DataSourceNames * // "STRING_VALUE", * // ], - * // computeType: "STRING_VALUE", + * // computeType: "CPU" || "GPU_AND_CPU", * // }, * // ], * // tags: "", diff --git a/clients/client-robomaker/src/commands/DescribeSimulationJobCommand.ts b/clients/client-robomaker/src/commands/DescribeSimulationJobCommand.ts index 1dad6c766602a..f132c7aa013da 100644 --- a/clients/client-robomaker/src/commands/DescribeSimulationJobCommand.ts +++ b/clients/client-robomaker/src/commands/DescribeSimulationJobCommand.ts @@ -51,11 +51,11 @@ export interface DescribeSimulationJobCommandOutput extends DescribeSimulationJo * // { // DescribeSimulationJobResponse * // arn: "STRING_VALUE", * // name: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "Pending" || "Preparing" || "Running" || "Restarting" || "Completed" || "Failed" || "RunningFailed" || "Terminating" || "Terminated" || "Canceled", * // lastStartedAt: new Date("TIMESTAMP"), * // lastUpdatedAt: new Date("TIMESTAMP"), - * // failureBehavior: "STRING_VALUE", - * // failureCode: "STRING_VALUE", + * // failureBehavior: "Fail" || "Continue", + * // failureCode: "InternalServiceError" || "RobotApplicationCrash" || "SimulationApplicationCrash" || "RobotApplicationHealthCheckFailure" || "SimulationApplicationHealthCheckFailure" || "BadPermissionsRobotApplication" || "BadPermissionsSimulationApplication" || "BadPermissionsS3Object" || "BadPermissionsS3Output" || "BadPermissionsCloudwatchLogs" || "SubnetIpLimitExceeded" || "ENILimitExceeded" || "BadPermissionsUserCredentials" || "InvalidBundleRobotApplication" || "InvalidBundleSimulationApplication" || "InvalidS3Resource" || "ThrottlingError" || "LimitExceeded" || "MismatchedEtag" || "RobotApplicationVersionMismatchedEtag" || "SimulationApplicationVersionMismatchedEtag" || "ResourceNotFound" || "RequestThrottled" || "BatchTimedOut" || "BatchCanceled" || "InvalidInput" || "WrongRegionS3Bucket" || "WrongRegionS3Output" || "WrongRegionRobotApplication" || "WrongRegionSimulationApplication" || "UploadContentMismatchError", * // failureReason: "STRING_VALUE", * // clientRequestToken: "STRING_VALUE", * // outputLocation: { // OutputLocation @@ -96,7 +96,7 @@ export interface DescribeSimulationJobCommandOutput extends DescribeSimulationJo * // { // UploadConfiguration * // name: "STRING_VALUE", // required * // path: "STRING_VALUE", // required - * // uploadBehavior: "STRING_VALUE", // required + * // uploadBehavior: "UPLOAD_ON_TERMINATE" || "UPLOAD_ROLLING_AUTO_REMOVE", // required * // }, * // ], * // useDefaultUploadConfigurations: true || false, @@ -106,7 +106,7 @@ export interface DescribeSimulationJobCommandOutput extends DescribeSimulationJo * // name: "STRING_VALUE", // required * // command: "STRING_VALUE", // required * // streamOutputToCloudWatch: true || false, - * // exitBehavior: "STRING_VALUE", + * // exitBehavior: "FAIL" || "RESTART", * // }, * // ], * // useDefaultTools: true || false, @@ -140,7 +140,7 @@ export interface DescribeSimulationJobCommandOutput extends DescribeSimulationJo * // { * // name: "STRING_VALUE", // required * // path: "STRING_VALUE", // required - * // uploadBehavior: "STRING_VALUE", // required + * // uploadBehavior: "UPLOAD_ON_TERMINATE" || "UPLOAD_ROLLING_AUTO_REMOVE", // required * // }, * // ], * // worldConfigs: [ // WorldConfigs @@ -155,7 +155,7 @@ export interface DescribeSimulationJobCommandOutput extends DescribeSimulationJo * // name: "STRING_VALUE", // required * // command: "STRING_VALUE", // required * // streamOutputToCloudWatch: true || false, - * // exitBehavior: "STRING_VALUE", + * // exitBehavior: "FAIL" || "RESTART", * // }, * // ], * // useDefaultTools: true || false, @@ -171,7 +171,7 @@ export interface DescribeSimulationJobCommandOutput extends DescribeSimulationJo * // etag: "STRING_VALUE", * // }, * // ], - * // type: "STRING_VALUE", + * // type: "Prefix" || "Archive" || "File", * // destination: "STRING_VALUE", * // }, * // ], @@ -195,7 +195,7 @@ export interface DescribeSimulationJobCommandOutput extends DescribeSimulationJo * // }, * // compute: { // ComputeResponse * // simulationUnitLimit: Number("int"), - * // computeType: "STRING_VALUE", + * // computeType: "CPU" || "GPU_AND_CPU", * // gpuUnitLimit: Number("int"), * // }, * // }; diff --git a/clients/client-robomaker/src/commands/DescribeWorldExportJobCommand.ts b/clients/client-robomaker/src/commands/DescribeWorldExportJobCommand.ts index c96093cecbb49..1272f1f62e9bf 100644 --- a/clients/client-robomaker/src/commands/DescribeWorldExportJobCommand.ts +++ b/clients/client-robomaker/src/commands/DescribeWorldExportJobCommand.ts @@ -50,9 +50,9 @@ export interface DescribeWorldExportJobCommandOutput extends DescribeWorldExport * const response = await client.send(command); * // { // DescribeWorldExportJobResponse * // arn: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "Pending" || "Running" || "Completed" || "Failed" || "Canceling" || "Canceled", * // createdAt: new Date("TIMESTAMP"), - * // failureCode: "STRING_VALUE", + * // failureCode: "InternalServiceError" || "LimitExceeded" || "ResourceNotFound" || "RequestThrottled" || "InvalidInput" || "AccessDenied", * // failureReason: "STRING_VALUE", * // clientRequestToken: "STRING_VALUE", * // worlds: [ // Arns diff --git a/clients/client-robomaker/src/commands/DescribeWorldGenerationJobCommand.ts b/clients/client-robomaker/src/commands/DescribeWorldGenerationJobCommand.ts index 881dce1968fc1..2d05ef68fa368 100644 --- a/clients/client-robomaker/src/commands/DescribeWorldGenerationJobCommand.ts +++ b/clients/client-robomaker/src/commands/DescribeWorldGenerationJobCommand.ts @@ -50,9 +50,9 @@ export interface DescribeWorldGenerationJobCommandOutput extends DescribeWorldGe * const response = await client.send(command); * // { // DescribeWorldGenerationJobResponse * // arn: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "Pending" || "Running" || "Completed" || "Failed" || "PartialFailed" || "Canceling" || "Canceled", * // createdAt: new Date("TIMESTAMP"), - * // failureCode: "STRING_VALUE", + * // failureCode: "InternalServiceError" || "LimitExceeded" || "ResourceNotFound" || "RequestThrottled" || "InvalidInput" || "AllWorldGenerationFailed", * // failureReason: "STRING_VALUE", * // clientRequestToken: "STRING_VALUE", * // template: "STRING_VALUE", @@ -69,7 +69,7 @@ export interface DescribeWorldGenerationJobCommandOutput extends DescribeWorldGe * // totalFailureCount: Number("int"), * // failures: [ // WorldFailures * // { // WorldFailure - * // failureCode: "STRING_VALUE", + * // failureCode: "InternalServiceError" || "LimitExceeded" || "ResourceNotFound" || "RequestThrottled" || "InvalidInput" || "AllWorldGenerationFailed", * // sampleFailureReason: "STRING_VALUE", * // failureCount: Number("int"), * // }, diff --git a/clients/client-robomaker/src/commands/ListDeploymentJobsCommand.ts b/clients/client-robomaker/src/commands/ListDeploymentJobsCommand.ts index ffc1e78edb487..07b4927736db0 100644 --- a/clients/client-robomaker/src/commands/ListDeploymentJobsCommand.ts +++ b/clients/client-robomaker/src/commands/ListDeploymentJobsCommand.ts @@ -67,7 +67,7 @@ export interface ListDeploymentJobsCommandOutput extends ListDeploymentJobsRespo * // { // DeploymentJob * // arn: "STRING_VALUE", * // fleet: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "Pending" || "Preparing" || "InProgress" || "Failed" || "Succeeded" || "Canceled", * // deploymentApplicationConfigs: [ // DeploymentApplicationConfigs * // { // DeploymentApplicationConfig * // application: "STRING_VALUE", // required @@ -94,7 +94,7 @@ export interface ListDeploymentJobsCommandOutput extends ListDeploymentJobsRespo * // }, * // }, * // failureReason: "STRING_VALUE", - * // failureCode: "STRING_VALUE", + * // failureCode: "ResourceNotFound" || "EnvironmentSetupError" || "EtagMismatch" || "FailureThresholdBreached" || "RobotDeploymentAborted" || "RobotDeploymentNoResponse" || "RobotAgentConnectionTimeout" || "GreengrassDeploymentFailed" || "InvalidGreengrassGroup" || "MissingRobotArchitecture" || "MissingRobotApplicationArchitecture" || "MissingRobotDeploymentResource" || "GreengrassGroupVersionDoesNotExist" || "LambdaDeleted" || "ExtractingBundleFailure" || "PreLaunchFileFailure" || "PostLaunchFileFailure" || "BadPermissionError" || "DownloadConditionFailed" || "BadLambdaAssociated" || "InternalServerError" || "RobotApplicationDoesNotExist" || "DeploymentFleetDoesNotExist" || "FleetDeploymentTimeout", * // createdAt: new Date("TIMESTAMP"), * // }, * // ], diff --git a/clients/client-robomaker/src/commands/ListFleetsCommand.ts b/clients/client-robomaker/src/commands/ListFleetsCommand.ts index fa676792ef2d0..ea5f814eb296b 100644 --- a/clients/client-robomaker/src/commands/ListFleetsCommand.ts +++ b/clients/client-robomaker/src/commands/ListFleetsCommand.ts @@ -68,7 +68,7 @@ export interface ListFleetsCommandOutput extends ListFleetsResponse, __MetadataB * // name: "STRING_VALUE", * // arn: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), - * // lastDeploymentStatus: "STRING_VALUE", + * // lastDeploymentStatus: "Pending" || "Preparing" || "InProgress" || "Failed" || "Succeeded" || "Canceled", * // lastDeploymentJob: "STRING_VALUE", * // lastDeploymentTime: new Date("TIMESTAMP"), * // }, diff --git a/clients/client-robomaker/src/commands/ListRobotApplicationsCommand.ts b/clients/client-robomaker/src/commands/ListRobotApplicationsCommand.ts index 8938ba3970f52..d88d329f73673 100644 --- a/clients/client-robomaker/src/commands/ListRobotApplicationsCommand.ts +++ b/clients/client-robomaker/src/commands/ListRobotApplicationsCommand.ts @@ -67,8 +67,8 @@ export interface ListRobotApplicationsCommandOutput extends ListRobotApplication * // version: "STRING_VALUE", * // lastUpdatedAt: new Date("TIMESTAMP"), * // robotSoftwareSuite: { // RobotSoftwareSuite - * // name: "STRING_VALUE", - * // version: "STRING_VALUE", + * // name: "ROS" || "ROS2" || "General", + * // version: "Kinetic" || "Melodic" || "Dashing" || "Foxy", * // }, * // }, * // ], diff --git a/clients/client-robomaker/src/commands/ListRobotsCommand.ts b/clients/client-robomaker/src/commands/ListRobotsCommand.ts index cb8c637b57ae3..6bb78580e2803 100644 --- a/clients/client-robomaker/src/commands/ListRobotsCommand.ts +++ b/clients/client-robomaker/src/commands/ListRobotsCommand.ts @@ -68,10 +68,10 @@ export interface ListRobotsCommandOutput extends ListRobotsResponse, __MetadataB * // arn: "STRING_VALUE", * // name: "STRING_VALUE", * // fleetArn: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "Available" || "Registered" || "PendingNewDeployment" || "Deploying" || "Failed" || "InSync" || "NoResponse", * // greenGrassGroupId: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), - * // architecture: "STRING_VALUE", + * // architecture: "X86_64" || "ARM64" || "ARMHF", * // lastDeploymentJob: "STRING_VALUE", * // lastDeploymentTime: new Date("TIMESTAMP"), * // }, diff --git a/clients/client-robomaker/src/commands/ListSimulationApplicationsCommand.ts b/clients/client-robomaker/src/commands/ListSimulationApplicationsCommand.ts index d30cb324fe0ee..270f152f669f3 100644 --- a/clients/client-robomaker/src/commands/ListSimulationApplicationsCommand.ts +++ b/clients/client-robomaker/src/commands/ListSimulationApplicationsCommand.ts @@ -67,11 +67,11 @@ export interface ListSimulationApplicationsCommandOutput extends ListSimulationA * // version: "STRING_VALUE", * // lastUpdatedAt: new Date("TIMESTAMP"), * // robotSoftwareSuite: { // RobotSoftwareSuite - * // name: "STRING_VALUE", - * // version: "STRING_VALUE", + * // name: "ROS" || "ROS2" || "General", + * // version: "Kinetic" || "Melodic" || "Dashing" || "Foxy", * // }, * // simulationSoftwareSuite: { // SimulationSoftwareSuite - * // name: "STRING_VALUE", + * // name: "Gazebo" || "RosbagPlay" || "SimulationRuntime", * // version: "STRING_VALUE", * // }, * // }, diff --git a/clients/client-robomaker/src/commands/ListSimulationJobBatchesCommand.ts b/clients/client-robomaker/src/commands/ListSimulationJobBatchesCommand.ts index 8320bdc508a56..aa073371c5918 100644 --- a/clients/client-robomaker/src/commands/ListSimulationJobBatchesCommand.ts +++ b/clients/client-robomaker/src/commands/ListSimulationJobBatchesCommand.ts @@ -64,7 +64,7 @@ export interface ListSimulationJobBatchesCommandOutput extends ListSimulationJob * // arn: "STRING_VALUE", * // lastUpdatedAt: new Date("TIMESTAMP"), * // createdAt: new Date("TIMESTAMP"), - * // status: "STRING_VALUE", + * // status: "Pending" || "InProgress" || "Failed" || "Completed" || "Canceled" || "Canceling" || "Completing" || "TimingOut" || "TimedOut", * // failedRequestCount: Number("int"), * // pendingRequestCount: Number("int"), * // createdRequestCount: Number("int"), diff --git a/clients/client-robomaker/src/commands/ListSimulationJobsCommand.ts b/clients/client-robomaker/src/commands/ListSimulationJobsCommand.ts index 3c12369017120..d3a1b7fd4a7bf 100644 --- a/clients/client-robomaker/src/commands/ListSimulationJobsCommand.ts +++ b/clients/client-robomaker/src/commands/ListSimulationJobsCommand.ts @@ -64,7 +64,7 @@ export interface ListSimulationJobsCommandOutput extends ListSimulationJobsRespo * // arn: "STRING_VALUE", * // lastUpdatedAt: new Date("TIMESTAMP"), * // name: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "Pending" || "Preparing" || "Running" || "Restarting" || "Completed" || "Failed" || "RunningFailed" || "Terminating" || "Terminated" || "Canceled", * // simulationApplicationNames: [ // SimulationApplicationNames * // "STRING_VALUE", * // ], @@ -74,7 +74,7 @@ export interface ListSimulationJobsCommandOutput extends ListSimulationJobsRespo * // dataSourceNames: [ // DataSourceNames * // "STRING_VALUE", * // ], - * // computeType: "STRING_VALUE", + * // computeType: "CPU" || "GPU_AND_CPU", * // }, * // ], * // nextToken: "STRING_VALUE", diff --git a/clients/client-robomaker/src/commands/ListWorldExportJobsCommand.ts b/clients/client-robomaker/src/commands/ListWorldExportJobsCommand.ts index a0cce685ca128..4dd329fc43df8 100644 --- a/clients/client-robomaker/src/commands/ListWorldExportJobsCommand.ts +++ b/clients/client-robomaker/src/commands/ListWorldExportJobsCommand.ts @@ -61,7 +61,7 @@ export interface ListWorldExportJobsCommandOutput extends ListWorldExportJobsRes * // worldExportJobSummaries: [ // WorldExportJobSummaries // required * // { // WorldExportJobSummary * // arn: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "Pending" || "Running" || "Completed" || "Failed" || "Canceling" || "Canceled", * // createdAt: new Date("TIMESTAMP"), * // worlds: [ // Arns * // "STRING_VALUE", diff --git a/clients/client-robomaker/src/commands/ListWorldGenerationJobsCommand.ts b/clients/client-robomaker/src/commands/ListWorldGenerationJobsCommand.ts index 2e532bdff0325..ffdc6a3fc2774 100644 --- a/clients/client-robomaker/src/commands/ListWorldGenerationJobsCommand.ts +++ b/clients/client-robomaker/src/commands/ListWorldGenerationJobsCommand.ts @@ -63,7 +63,7 @@ export interface ListWorldGenerationJobsCommandOutput extends ListWorldGeneratio * // arn: "STRING_VALUE", * // template: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), - * // status: "STRING_VALUE", + * // status: "Pending" || "Running" || "Completed" || "Failed" || "PartialFailed" || "Canceling" || "Canceled", * // worldCount: { // WorldCount * // floorplanCount: Number("int"), * // interiorCountPerFloorplan: Number("int"), diff --git a/clients/client-robomaker/src/commands/StartSimulationJobBatchCommand.ts b/clients/client-robomaker/src/commands/StartSimulationJobBatchCommand.ts index 59f58fe457d46..1b441fb7b34b0 100644 --- a/clients/client-robomaker/src/commands/StartSimulationJobBatchCommand.ts +++ b/clients/client-robomaker/src/commands/StartSimulationJobBatchCommand.ts @@ -61,7 +61,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * }, * maxJobDurationInSeconds: Number("long"), // required * iamRole: "STRING_VALUE", - * failureBehavior: "STRING_VALUE", + * failureBehavior: "Fail" || "Continue", * useDefaultApplications: true || false, * robotApplications: [ // RobotApplicationConfigs * { // RobotApplicationConfig @@ -91,7 +91,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * { // UploadConfiguration * name: "STRING_VALUE", // required * path: "STRING_VALUE", // required - * uploadBehavior: "STRING_VALUE", // required + * uploadBehavior: "UPLOAD_ON_TERMINATE" || "UPLOAD_ROLLING_AUTO_REMOVE", // required * }, * ], * useDefaultUploadConfigurations: true || false, @@ -101,7 +101,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * name: "STRING_VALUE", // required * command: "STRING_VALUE", // required * streamOutputToCloudWatch: true || false, - * exitBehavior: "STRING_VALUE", + * exitBehavior: "FAIL" || "RESTART", * }, * ], * useDefaultTools: true || false, @@ -135,7 +135,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * { * name: "STRING_VALUE", // required * path: "STRING_VALUE", // required - * uploadBehavior: "STRING_VALUE", // required + * uploadBehavior: "UPLOAD_ON_TERMINATE" || "UPLOAD_ROLLING_AUTO_REMOVE", // required * }, * ], * worldConfigs: [ // WorldConfigs @@ -150,7 +150,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * name: "STRING_VALUE", // required * command: "STRING_VALUE", // required * streamOutputToCloudWatch: true || false, - * exitBehavior: "STRING_VALUE", + * exitBehavior: "FAIL" || "RESTART", * }, * ], * useDefaultTools: true || false, @@ -163,7 +163,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * s3Keys: [ // S3KeysOrPrefixes // required * "STRING_VALUE", * ], - * type: "STRING_VALUE", + * type: "Prefix" || "Archive" || "File", * destination: "STRING_VALUE", * }, * ], @@ -178,7 +178,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * }, * compute: { // Compute * simulationUnitLimit: Number("int"), - * computeType: "STRING_VALUE", + * computeType: "CPU" || "GPU_AND_CPU", * gpuUnitLimit: Number("int"), * }, * tags: { // TagMap @@ -194,14 +194,14 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * const response = await client.send(command); * // { // StartSimulationJobBatchResponse * // arn: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "Pending" || "InProgress" || "Failed" || "Completed" || "Canceled" || "Canceling" || "Completing" || "TimingOut" || "TimedOut", * // createdAt: new Date("TIMESTAMP"), * // clientRequestToken: "STRING_VALUE", * // batchPolicy: { // BatchPolicy * // timeoutInSeconds: Number("long"), * // maxConcurrency: Number("int"), * // }, - * // failureCode: "STRING_VALUE", + * // failureCode: "InternalServiceError", * // failureReason: "STRING_VALUE", * // failedRequests: [ // FailedCreateSimulationJobRequests * // { // FailedCreateSimulationJobRequest @@ -215,7 +215,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * // }, * // maxJobDurationInSeconds: Number("long"), // required * // iamRole: "STRING_VALUE", - * // failureBehavior: "STRING_VALUE", + * // failureBehavior: "Fail" || "Continue", * // useDefaultApplications: true || false, * // robotApplications: [ // RobotApplicationConfigs * // { // RobotApplicationConfig @@ -245,7 +245,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * // { // UploadConfiguration * // name: "STRING_VALUE", // required * // path: "STRING_VALUE", // required - * // uploadBehavior: "STRING_VALUE", // required + * // uploadBehavior: "UPLOAD_ON_TERMINATE" || "UPLOAD_ROLLING_AUTO_REMOVE", // required * // }, * // ], * // useDefaultUploadConfigurations: true || false, @@ -255,7 +255,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * // name: "STRING_VALUE", // required * // command: "STRING_VALUE", // required * // streamOutputToCloudWatch: true || false, - * // exitBehavior: "STRING_VALUE", + * // exitBehavior: "FAIL" || "RESTART", * // }, * // ], * // useDefaultTools: true || false, @@ -289,7 +289,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * // { * // name: "STRING_VALUE", // required * // path: "STRING_VALUE", // required - * // uploadBehavior: "STRING_VALUE", // required + * // uploadBehavior: "UPLOAD_ON_TERMINATE" || "UPLOAD_ROLLING_AUTO_REMOVE", // required * // }, * // ], * // worldConfigs: [ // WorldConfigs @@ -304,7 +304,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * // name: "STRING_VALUE", // required * // command: "STRING_VALUE", // required * // streamOutputToCloudWatch: true || false, - * // exitBehavior: "STRING_VALUE", + * // exitBehavior: "FAIL" || "RESTART", * // }, * // ], * // useDefaultTools: true || false, @@ -317,7 +317,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * // s3Keys: [ // S3KeysOrPrefixes // required * // "STRING_VALUE", * // ], - * // type: "STRING_VALUE", + * // type: "Prefix" || "Archive" || "File", * // destination: "STRING_VALUE", * // }, * // ], @@ -332,7 +332,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * // }, * // compute: { // Compute * // simulationUnitLimit: Number("int"), - * // computeType: "STRING_VALUE", + * // computeType: "CPU" || "GPU_AND_CPU", * // gpuUnitLimit: Number("int"), * // }, * // tags: { // TagMap @@ -340,7 +340,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * // }, * // }, * // failureReason: "STRING_VALUE", - * // failureCode: "STRING_VALUE", + * // failureCode: "InternalServiceError" || "RobotApplicationCrash" || "SimulationApplicationCrash" || "RobotApplicationHealthCheckFailure" || "SimulationApplicationHealthCheckFailure" || "BadPermissionsRobotApplication" || "BadPermissionsSimulationApplication" || "BadPermissionsS3Object" || "BadPermissionsS3Output" || "BadPermissionsCloudwatchLogs" || "SubnetIpLimitExceeded" || "ENILimitExceeded" || "BadPermissionsUserCredentials" || "InvalidBundleRobotApplication" || "InvalidBundleSimulationApplication" || "InvalidS3Resource" || "ThrottlingError" || "LimitExceeded" || "MismatchedEtag" || "RobotApplicationVersionMismatchedEtag" || "SimulationApplicationVersionMismatchedEtag" || "ResourceNotFound" || "RequestThrottled" || "BatchTimedOut" || "BatchCanceled" || "InvalidInput" || "WrongRegionS3Bucket" || "WrongRegionS3Output" || "WrongRegionRobotApplication" || "WrongRegionSimulationApplication" || "UploadContentMismatchError", * // failedAt: new Date("TIMESTAMP"), * // }, * // ], @@ -355,7 +355,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * // }, * // maxJobDurationInSeconds: Number("long"), // required * // iamRole: "STRING_VALUE", - * // failureBehavior: "STRING_VALUE", + * // failureBehavior: "Fail" || "Continue", * // useDefaultApplications: true || false, * // robotApplications: [ * // { @@ -385,7 +385,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * // { * // name: "STRING_VALUE", // required * // path: "STRING_VALUE", // required - * // uploadBehavior: "STRING_VALUE", // required + * // uploadBehavior: "UPLOAD_ON_TERMINATE" || "UPLOAD_ROLLING_AUTO_REMOVE", // required * // }, * // ], * // useDefaultUploadConfigurations: true || false, @@ -395,7 +395,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * // name: "STRING_VALUE", // required * // command: "STRING_VALUE", // required * // streamOutputToCloudWatch: true || false, - * // exitBehavior: "STRING_VALUE", + * // exitBehavior: "FAIL" || "RESTART", * // }, * // ], * // useDefaultTools: true || false, @@ -429,7 +429,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * // { * // name: "STRING_VALUE", // required * // path: "STRING_VALUE", // required - * // uploadBehavior: "STRING_VALUE", // required + * // uploadBehavior: "UPLOAD_ON_TERMINATE" || "UPLOAD_ROLLING_AUTO_REMOVE", // required * // }, * // ], * // worldConfigs: [ @@ -444,7 +444,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * // name: "STRING_VALUE", // required * // command: "STRING_VALUE", // required * // streamOutputToCloudWatch: true || false, - * // exitBehavior: "STRING_VALUE", + * // exitBehavior: "FAIL" || "RESTART", * // }, * // ], * // useDefaultTools: true || false, @@ -457,7 +457,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * // s3Keys: [ // required * // "STRING_VALUE", * // ], - * // type: "STRING_VALUE", + * // type: "Prefix" || "Archive" || "File", * // destination: "STRING_VALUE", * // }, * // ], @@ -472,7 +472,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * // }, * // compute: { * // simulationUnitLimit: Number("int"), - * // computeType: "STRING_VALUE", + * // computeType: "CPU" || "GPU_AND_CPU", * // gpuUnitLimit: Number("int"), * // }, * // tags: { @@ -485,7 +485,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * // arn: "STRING_VALUE", * // lastUpdatedAt: new Date("TIMESTAMP"), * // name: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "Pending" || "Preparing" || "Running" || "Restarting" || "Completed" || "Failed" || "RunningFailed" || "Terminating" || "Terminated" || "Canceled", * // simulationApplicationNames: [ // SimulationApplicationNames * // "STRING_VALUE", * // ], @@ -495,7 +495,7 @@ export interface StartSimulationJobBatchCommandOutput extends StartSimulationJob * // dataSourceNames: [ // DataSourceNames * // "STRING_VALUE", * // ], - * // computeType: "STRING_VALUE", + * // computeType: "CPU" || "GPU_AND_CPU", * // }, * // ], * // tags: "", diff --git a/clients/client-robomaker/src/commands/SyncDeploymentJobCommand.ts b/clients/client-robomaker/src/commands/SyncDeploymentJobCommand.ts index 8787ecda86618..e6810d5e17cb6 100644 --- a/clients/client-robomaker/src/commands/SyncDeploymentJobCommand.ts +++ b/clients/client-robomaker/src/commands/SyncDeploymentJobCommand.ts @@ -57,7 +57,7 @@ export interface SyncDeploymentJobCommandOutput extends SyncDeploymentJobRespons * // { // SyncDeploymentJobResponse * // arn: "STRING_VALUE", * // fleet: "STRING_VALUE", - * // status: "STRING_VALUE", + * // status: "Pending" || "Preparing" || "InProgress" || "Failed" || "Succeeded" || "Canceled", * // deploymentConfig: { // DeploymentConfig * // concurrentDeploymentPercentage: Number("int"), * // failureThresholdPercentage: Number("int"), @@ -84,7 +84,7 @@ export interface SyncDeploymentJobCommandOutput extends SyncDeploymentJobRespons * // }, * // ], * // failureReason: "STRING_VALUE", - * // failureCode: "STRING_VALUE", + * // failureCode: "ResourceNotFound" || "EnvironmentSetupError" || "EtagMismatch" || "FailureThresholdBreached" || "RobotDeploymentAborted" || "RobotDeploymentNoResponse" || "RobotAgentConnectionTimeout" || "GreengrassDeploymentFailed" || "InvalidGreengrassGroup" || "MissingRobotArchitecture" || "MissingRobotApplicationArchitecture" || "MissingRobotDeploymentResource" || "GreengrassGroupVersionDoesNotExist" || "LambdaDeleted" || "ExtractingBundleFailure" || "PreLaunchFileFailure" || "PostLaunchFileFailure" || "BadPermissionError" || "DownloadConditionFailed" || "BadLambdaAssociated" || "InternalServerError" || "RobotApplicationDoesNotExist" || "DeploymentFleetDoesNotExist" || "FleetDeploymentTimeout", * // createdAt: new Date("TIMESTAMP"), * // }; * diff --git a/clients/client-robomaker/src/commands/UpdateRobotApplicationCommand.ts b/clients/client-robomaker/src/commands/UpdateRobotApplicationCommand.ts index 101f36bc5aabf..3a51261f6cf42 100644 --- a/clients/client-robomaker/src/commands/UpdateRobotApplicationCommand.ts +++ b/clients/client-robomaker/src/commands/UpdateRobotApplicationCommand.ts @@ -49,12 +49,12 @@ export interface UpdateRobotApplicationCommandOutput extends UpdateRobotApplicat * { // SourceConfig * s3Bucket: "STRING_VALUE", * s3Key: "STRING_VALUE", - * architecture: "STRING_VALUE", + * architecture: "X86_64" || "ARM64" || "ARMHF", * }, * ], * robotSoftwareSuite: { // RobotSoftwareSuite - * name: "STRING_VALUE", - * version: "STRING_VALUE", + * name: "ROS" || "ROS2" || "General", + * version: "Kinetic" || "Melodic" || "Dashing" || "Foxy", * }, * currentRevisionId: "STRING_VALUE", * environment: { // Environment @@ -72,12 +72,12 @@ export interface UpdateRobotApplicationCommandOutput extends UpdateRobotApplicat * // s3Bucket: "STRING_VALUE", * // s3Key: "STRING_VALUE", * // etag: "STRING_VALUE", - * // architecture: "STRING_VALUE", + * // architecture: "X86_64" || "ARM64" || "ARMHF", * // }, * // ], * // robotSoftwareSuite: { // RobotSoftwareSuite - * // name: "STRING_VALUE", - * // version: "STRING_VALUE", + * // name: "ROS" || "ROS2" || "General", + * // version: "Kinetic" || "Melodic" || "Dashing" || "Foxy", * // }, * // lastUpdatedAt: new Date("TIMESTAMP"), * // revisionId: "STRING_VALUE", diff --git a/clients/client-robomaker/src/commands/UpdateSimulationApplicationCommand.ts b/clients/client-robomaker/src/commands/UpdateSimulationApplicationCommand.ts index ee1a2e9373dd2..00723ae23e308 100644 --- a/clients/client-robomaker/src/commands/UpdateSimulationApplicationCommand.ts +++ b/clients/client-robomaker/src/commands/UpdateSimulationApplicationCommand.ts @@ -54,19 +54,19 @@ export interface UpdateSimulationApplicationCommandOutput * { // SourceConfig * s3Bucket: "STRING_VALUE", * s3Key: "STRING_VALUE", - * architecture: "STRING_VALUE", + * architecture: "X86_64" || "ARM64" || "ARMHF", * }, * ], * simulationSoftwareSuite: { // SimulationSoftwareSuite - * name: "STRING_VALUE", + * name: "Gazebo" || "RosbagPlay" || "SimulationRuntime", * version: "STRING_VALUE", * }, * robotSoftwareSuite: { // RobotSoftwareSuite - * name: "STRING_VALUE", - * version: "STRING_VALUE", + * name: "ROS" || "ROS2" || "General", + * version: "Kinetic" || "Melodic" || "Dashing" || "Foxy", * }, * renderingEngine: { // RenderingEngine - * name: "STRING_VALUE", + * name: "OGRE", * version: "STRING_VALUE", * }, * currentRevisionId: "STRING_VALUE", @@ -85,19 +85,19 @@ export interface UpdateSimulationApplicationCommandOutput * // s3Bucket: "STRING_VALUE", * // s3Key: "STRING_VALUE", * // etag: "STRING_VALUE", - * // architecture: "STRING_VALUE", + * // architecture: "X86_64" || "ARM64" || "ARMHF", * // }, * // ], * // simulationSoftwareSuite: { // SimulationSoftwareSuite - * // name: "STRING_VALUE", + * // name: "Gazebo" || "RosbagPlay" || "SimulationRuntime", * // version: "STRING_VALUE", * // }, * // robotSoftwareSuite: { // RobotSoftwareSuite - * // name: "STRING_VALUE", - * // version: "STRING_VALUE", + * // name: "ROS" || "ROS2" || "General", + * // version: "Kinetic" || "Melodic" || "Dashing" || "Foxy", * // }, * // renderingEngine: { // RenderingEngine - * // name: "STRING_VALUE", + * // name: "OGRE", * // version: "STRING_VALUE", * // }, * // lastUpdatedAt: new Date("TIMESTAMP"), diff --git a/clients/client-robomaker/src/endpoint/ruleset.ts b/clients/client-robomaker/src/endpoint/ruleset.ts index a6d400d831068..4f0ab1b00f450 100644 --- a/clients/client-robomaker/src/endpoint/ruleset.ts +++ b/clients/client-robomaker/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/robomaker.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://robomaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://robomaker-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://robomaker.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://robomaker.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://robomaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://robomaker-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://robomaker.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://robomaker.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-rolesanywhere/src/endpoint/ruleset.ts b/clients/client-rolesanywhere/src/endpoint/ruleset.ts index 30f5b39ba7c04..6683dd013f31f 100644 --- a/clients/client-rolesanywhere/src/endpoint/ruleset.ts +++ b/clients/client-rolesanywhere/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://rolesanywhere-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://rolesanywhere-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://rolesanywhere.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://rolesanywhere.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://rolesanywhere-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://rolesanywhere-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://rolesanywhere.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://rolesanywhere.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-route-53/src/endpoint/ruleset.ts b/clients/client-route-53/src/endpoint/ruleset.ts index 3757a017ad805..18dedc7d01495 100644 --- a/clients/client-route-53/src/endpoint/ruleset.ts +++ b/clients/client-route-53/src/endpoint/ruleset.ts @@ -39,5 +39,5 @@ w={[B]:"booleanEquals",[C]:[true,{[B]:"getAttr",[C]:[{[D]:e},"supportsDualStack" x=[l], y=[m], z=[{[D]:"Region"}]; -const _data={version:"1.0",parameters:{Region:i,UseDualStack:j,UseFIPS:j,Endpoint:i},rules:[{conditions:[{[B]:a,[C]:[k]}],type:b,rules:[{conditions:x,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:y,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:k,properties:n,headers:n},type:d}]}]},{type:b,rules:[{conditions:[{[B]:a,[C]:z}],type:b,rules:[{conditions:[{[B]:"aws.partition",[C]:z,assign:e}],type:b,rules:[{conditions:[o,q,r],endpoint:{url:"https://route53.amazonaws.com",properties:s,headers:n},type:d},{conditions:[o,l,r],endpoint:{url:"https://route53-fips.amazonaws.com",properties:s,headers:n},type:d},{conditions:[{[B]:f,[C]:[p,"aws-cn"]},q,r],endpoint:{url:"https://route53.amazonaws.com.cn",properties:{[E]:[{name:g,[F]:h,[G]:"cn-northwest-1"}]},headers:n},type:d},{conditions:[t,q,r],endpoint:u,type:d},{conditions:[t,l,r],endpoint:u,type:d},{conditions:[{[B]:f,[C]:[p,"aws-iso"]},q,r],endpoint:{url:"https://route53.c2s.ic.gov",properties:{[E]:[{name:g,[F]:h,[G]:"us-iso-east-1"}]},headers:n},type:d},{conditions:[{[B]:f,[C]:[p,"aws-iso-b"]},q,r],endpoint:{url:"https://route53.sc2s.sgov.gov",properties:{[E]:[{name:g,[F]:h,[G]:"us-isob-east-1"}]},headers:n},type:d},{conditions:[l,m],type:b,rules:[{conditions:[v,w],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://route53-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:x,type:b,rules:[{conditions:[v],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://route53-fips.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:y,type:b,rules:[{conditions:[w],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://route53.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://route53.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:i,UseDualStack:j,UseFIPS:j,Endpoint:i},rules:[{conditions:[{[B]:a,[C]:[k]}],type:b,rules:[{conditions:x,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:y,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:k,properties:n,headers:n},type:d}]},{conditions:[{[B]:a,[C]:z}],type:b,rules:[{conditions:[{[B]:"aws.partition",[C]:z,assign:e}],type:b,rules:[{conditions:[o,q,r],endpoint:{url:"https://route53.amazonaws.com",properties:s,headers:n},type:d},{conditions:[o,l,r],endpoint:{url:"https://route53-fips.amazonaws.com",properties:s,headers:n},type:d},{conditions:[{[B]:f,[C]:[p,"aws-cn"]},q,r],endpoint:{url:"https://route53.amazonaws.com.cn",properties:{[E]:[{name:g,[F]:h,[G]:"cn-northwest-1"}]},headers:n},type:d},{conditions:[t,q,r],endpoint:u,type:d},{conditions:[t,l,r],endpoint:u,type:d},{conditions:[{[B]:f,[C]:[p,"aws-iso"]},q,r],endpoint:{url:"https://route53.c2s.ic.gov",properties:{[E]:[{name:g,[F]:h,[G]:"us-iso-east-1"}]},headers:n},type:d},{conditions:[{[B]:f,[C]:[p,"aws-iso-b"]},q,r],endpoint:{url:"https://route53.sc2s.sgov.gov",properties:{[E]:[{name:g,[F]:h,[G]:"us-isob-east-1"}]},headers:n},type:d},{conditions:[l,m],type:b,rules:[{conditions:[v,w],type:b,rules:[{endpoint:{url:"https://route53-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:x,type:b,rules:[{conditions:[v],type:b,rules:[{endpoint:{url:"https://route53-fips.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:y,type:b,rules:[{conditions:[w],type:b,rules:[{endpoint:{url:"https://route53.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://route53.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-route53-recovery-cluster/src/Route53RecoveryCluster.ts b/clients/client-route53-recovery-cluster/src/Route53RecoveryCluster.ts index b69751ce5c5ee..ef32be1f8856d 100644 --- a/clients/client-route53-recovery-cluster/src/Route53RecoveryCluster.ts +++ b/clients/client-route53-recovery-cluster/src/Route53RecoveryCluster.ts @@ -104,29 +104,29 @@ export interface Route53RecoveryCluster { /** * @public *

                                                                                                                                                                                                                                                                                                                              Welcome to the Routing Control (Recovery Cluster) API Reference Guide for Amazon Route 53 Application Recovery Controller.

                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                              With Route 53 ARC, you can use routing control with extreme reliability to + *

                                                                                                                                                                                                                                                                                                                              With Route 53 ARC, you can use routing control with extreme reliability to * recover applications by rerouting traffic across * Availability Zones or Amazon Web Services Regions. Routing controls are simple on/off switches hosted * on a highly available cluster in Route 53 ARC. A cluster provides a set of five redundant Regional endpoints against which you * can run API calls to get or update the state of routing controls. To implement failover, you set * one routing control On and another one Off, to reroute traffic from one Availability Zone or Amazon Web Services Region * to another.

                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                                              * Be aware that you must specify a Regional endpoint for a cluster when you work with API cluster operations * to get or update routing control states in Route 53 ARC. In addition, you must specify the US West (Oregon) Region * for Route 53 ARC API calls. For example, use the parameter --region us-west-2 with AWS CLI commands. * For more information, see * * Get and update routing control states using the API in the Amazon Route 53 Application Recovery Controller Developer Guide.

                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                              This API guide includes information about the API operations for how to get and update routing control states + *

                                                                                                                                                                                                                                                                                                                              This API guide includes information about the API operations for how to get and update routing control states * in Route 53 ARC. To work with routing control in Route 53 ARC, you must first create the required components (clusters, control * panels, and routing controls) using the recovery cluster configuration API.

                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                              For more information about working with routing control in Route 53 ARC, see the following:

                                                                                                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                For more information about working with routing control in Route 53 ARC, see the following:

                                                                                                                                                                                                                                                                                                                                + *
                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                                                                  Create clusters, control panels, and routing controls by using API operations. For more information, + *

                                                                                                                                                                                                                                                                                                                                  Create clusters, control panels, and routing controls by using API operations. For more information, * see the Recovery Control Configuration API Reference Guide for Amazon Route 53 Application Recovery Controller.

                                                                                                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                                                                                                • + * *
                                                                                                                                                                                                                                                                                                                                • *

                                                                                                                                                                                                                                                                                                                                  Learn about the components in recovery control, including clusters, * routing controls, and control panels, and how to work with Route 53 ARC in the Amazon Web Services console. For more @@ -134,14 +134,14 @@ export interface Route53RecoveryCluster { * Recovery control components in the Amazon Route 53 Application Recovery Controller Developer Guide.

                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                                                                  Route 53 ARC also provides readiness checks that continually audit resources to help make sure that your + *

                                                                                                                                                                                                                                                                                                                                  Route 53 ARC also provides readiness checks that continually audit resources to help make sure that your * applications are scaled and ready to handle failover traffic. For more information about * the related API operations, see the Recovery Readiness API Reference Guide for Amazon Route 53 Application Recovery Controller.

                                                                                                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                                                                                                • + * *
                                                                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                                                                  For more information about creating resilient applications and preparing for + *

                                                                                                                                                                                                                                                                                                                                  For more information about creating resilient applications and preparing for * recovery readiness with Route 53 ARC, see the Amazon Route 53 Application Recovery Controller Developer Guide.

                                                                                                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                                                                                                • + * *
                                                                                                                                                                                                                                                                                                                                */ export class Route53RecoveryCluster extends Route53RecoveryClusterClient implements Route53RecoveryCluster {} diff --git a/clients/client-route53-recovery-cluster/src/Route53RecoveryClusterClient.ts b/clients/client-route53-recovery-cluster/src/Route53RecoveryClusterClient.ts index 5c6d7d6c4f988..97b0c9d64b11f 100644 --- a/clients/client-route53-recovery-cluster/src/Route53RecoveryClusterClient.ts +++ b/clients/client-route53-recovery-cluster/src/Route53RecoveryClusterClient.ts @@ -266,29 +266,29 @@ export interface Route53RecoveryClusterClientResolvedConfig extends Route53Recov /** * @public *

                                                                                                                                                                                                                                                                                                                                Welcome to the Routing Control (Recovery Cluster) API Reference Guide for Amazon Route 53 Application Recovery Controller.

                                                                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                                                                With Route 53 ARC, you can use routing control with extreme reliability to + *

                                                                                                                                                                                                                                                                                                                                With Route 53 ARC, you can use routing control with extreme reliability to * recover applications by rerouting traffic across * Availability Zones or Amazon Web Services Regions. Routing controls are simple on/off switches hosted * on a highly available cluster in Route 53 ARC. A cluster provides a set of five redundant Regional endpoints against which you * can run API calls to get or update the state of routing controls. To implement failover, you set * one routing control On and another one Off, to reroute traffic from one Availability Zone or Amazon Web Services Region * to another.

                                                                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                * Be aware that you must specify a Regional endpoint for a cluster when you work with API cluster operations * to get or update routing control states in Route 53 ARC. In addition, you must specify the US West (Oregon) Region * for Route 53 ARC API calls. For example, use the parameter --region us-west-2 with AWS CLI commands. * For more information, see * * Get and update routing control states using the API in the Amazon Route 53 Application Recovery Controller Developer Guide.

                                                                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                                                                This API guide includes information about the API operations for how to get and update routing control states + *

                                                                                                                                                                                                                                                                                                                                This API guide includes information about the API operations for how to get and update routing control states * in Route 53 ARC. To work with routing control in Route 53 ARC, you must first create the required components (clusters, control * panels, and routing controls) using the recovery cluster configuration API.

                                                                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                                                                For more information about working with routing control in Route 53 ARC, see the following:

                                                                                                                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                  For more information about working with routing control in Route 53 ARC, see the following:

                                                                                                                                                                                                                                                                                                                                  + *
                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                                                    Create clusters, control panels, and routing controls by using API operations. For more information, + *

                                                                                                                                                                                                                                                                                                                                    Create clusters, control panels, and routing controls by using API operations. For more information, * see the Recovery Control Configuration API Reference Guide for Amazon Route 53 Application Recovery Controller.

                                                                                                                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                                                                                                                  • + * *
                                                                                                                                                                                                                                                                                                                                  • *

                                                                                                                                                                                                                                                                                                                                    Learn about the components in recovery control, including clusters, * routing controls, and control panels, and how to work with Route 53 ARC in the Amazon Web Services console. For more @@ -296,14 +296,14 @@ export interface Route53RecoveryClusterClientResolvedConfig extends Route53Recov * Recovery control components in the Amazon Route 53 Application Recovery Controller Developer Guide.

                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                                                    Route 53 ARC also provides readiness checks that continually audit resources to help make sure that your + *

                                                                                                                                                                                                                                                                                                                                    Route 53 ARC also provides readiness checks that continually audit resources to help make sure that your * applications are scaled and ready to handle failover traffic. For more information about * the related API operations, see the Recovery Readiness API Reference Guide for Amazon Route 53 Application Recovery Controller.

                                                                                                                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                                                                                                                  • + * *
                                                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                                                    For more information about creating resilient applications and preparing for + *

                                                                                                                                                                                                                                                                                                                                    For more information about creating resilient applications and preparing for * recovery readiness with Route 53 ARC, see the Amazon Route 53 Application Recovery Controller Developer Guide.

                                                                                                                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                                                                                                                  • + * *
                                                                                                                                                                                                                                                                                                                                  */ export class Route53RecoveryClusterClient extends __Client< diff --git a/clients/client-route53-recovery-cluster/src/commands/GetRoutingControlStateCommand.ts b/clients/client-route53-recovery-cluster/src/commands/GetRoutingControlStateCommand.ts index ad83e37cacd58..644891d79ae2d 100644 --- a/clients/client-route53-recovery-cluster/src/commands/GetRoutingControlStateCommand.ts +++ b/clients/client-route53-recovery-cluster/src/commands/GetRoutingControlStateCommand.ts @@ -43,21 +43,21 @@ export interface GetRoutingControlStateCommandOutput extends GetRoutingControlSt *

                                                                                                                                                                                                                                                                                                                                  Get the state for a routing control. A routing control is a simple on/off switch that you * can use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When * the state is Off, traffic does not flow.

                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                  Before you can create a routing control, you must first create a cluster, and then host the control + *

                                                                                                                                                                                                                                                                                                                                  Before you can create a routing control, you must first create a cluster, and then host the control * in a control panel on the cluster. For more information, see * Create routing control structures in the Amazon Route 53 Application Recovery Controller Developer Guide. * You access one of the endpoints for the cluster to get or update the routing control state to * redirect traffic for your application.

                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                  * You must specify Regional endpoints when you work with API cluster operations * to get or update routing control states in Route 53 ARC. *

                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                  To see a code example for getting a routing control state, including accessing Regional cluster endpoints + *

                                                                                                                                                                                                                                                                                                                                  To see a code example for getting a routing control state, including accessing Regional cluster endpoints * in sequence, see API examples * in the Amazon Route 53 Application Recovery Controller Developer Guide.

                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                  Learn more about working with routing controls in the following topics in the + *

                                                                                                                                                                                                                                                                                                                                  Learn more about working with routing controls in the following topics in the * Amazon Route 53 Application Recovery Controller Developer Guide:

                                                                                                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                                                                                                    + *
                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                    • *

                                                                                                                                                                                                                                                                                                                                      * @@ -84,7 +84,7 @@ export interface GetRoutingControlStateCommandOutput extends GetRoutingControlSt * const response = await client.send(command); * // { // GetRoutingControlStateResponse * // RoutingControlArn: "STRING_VALUE", // required - * // RoutingControlState: "STRING_VALUE", // required + * // RoutingControlState: "On" || "Off", // required * // RoutingControlName: "STRING_VALUE", * // }; * diff --git a/clients/client-route53-recovery-cluster/src/commands/ListRoutingControlsCommand.ts b/clients/client-route53-recovery-cluster/src/commands/ListRoutingControlsCommand.ts index 0bf99b6a673ea..33079f74cda5a 100644 --- a/clients/client-route53-recovery-cluster/src/commands/ListRoutingControlsCommand.ts +++ b/clients/client-route53-recovery-cluster/src/commands/ListRoutingControlsCommand.ts @@ -44,21 +44,21 @@ export interface ListRoutingControlsCommandOutput extends ListRoutingControlsRes * state for each routing control, along with the control panel name and control panel ARN for the routing controls. * If you specify a control panel ARN, this call lists the routing controls in the control panel. Otherwise, it lists * all the routing controls in the cluster.

                                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                                      A routing control is a simple on/off switch in Route 53 ARC that you + *

                                                                                                                                                                                                                                                                                                                                      A routing control is a simple on/off switch in Route 53 ARC that you * can use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When * the state is Off, traffic does not flow.

                                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                                      Before you can create a routing control, you must first create a cluster, and then host the control + *

                                                                                                                                                                                                                                                                                                                                      Before you can create a routing control, you must first create a cluster, and then host the control * in a control panel on the cluster. For more information, see * Create routing control structures in the Amazon Route 53 Application Recovery Controller Developer Guide. * You access one of the endpoints for the cluster to get or update the routing control state to * redirect traffic for your application.

                                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                      * You must specify Regional endpoints when you work with API cluster operations * to use this API operation to list routing controls in Route 53 ARC. *

                                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                                      Learn more about working with routing controls in the following topics in the + *

                                                                                                                                                                                                                                                                                                                                      Learn more about working with routing controls in the following topics in the * Amazon Route 53 Application Recovery Controller Developer Guide:

                                                                                                                                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                                                                                                                                        + *
                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                        • *

                                                                                                                                                                                                                                                                                                                                          * @@ -92,7 +92,7 @@ export interface ListRoutingControlsCommandOutput extends ListRoutingControlsRes * // ControlPanelName: "STRING_VALUE", * // RoutingControlArn: "STRING_VALUE", * // RoutingControlName: "STRING_VALUE", - * // RoutingControlState: "STRING_VALUE", + * // RoutingControlState: "On" || "Off", * // }, * // ], * // NextToken: "STRING_VALUE", diff --git a/clients/client-route53-recovery-cluster/src/commands/UpdateRoutingControlStateCommand.ts b/clients/client-route53-recovery-cluster/src/commands/UpdateRoutingControlStateCommand.ts index 1280ad32daeb7..663f6405427b1 100644 --- a/clients/client-route53-recovery-cluster/src/commands/UpdateRoutingControlStateCommand.ts +++ b/clients/client-route53-recovery-cluster/src/commands/UpdateRoutingControlStateCommand.ts @@ -43,25 +43,25 @@ export interface UpdateRoutingControlStateCommandOutput extends UpdateRoutingCon *

                                                                                                                                                                                                                                                                                                                                          Set the state of the routing control to reroute traffic. You can set the value to be On or * Off. When the state is On, traffic flows to a cell. When the state is Off, traffic does not * flow.

                                                                                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                                                                                          With Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing + *

                                                                                                                                                                                                                                                                                                                                          With Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing * control state updates that help prevent unexpected outcomes, like fail open traffic routing. However, * there are scenarios when you might want to bypass the routing control safeguards that are enforced with * safety rules that you've configured. For example, you might want to fail over quickly for disaster recovery, * and one or more safety rules might be unexpectedly preventing you from updating a routing control state to * reroute traffic. In a "break glass" scenario like this, you can override one or more safety rules to change * a routing control state and fail over your application.

                                                                                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                                                                                          The SafetyRulesToOverride property enables you override one or more safety rules and + *

                                                                                                                                                                                                                                                                                                                                          The SafetyRulesToOverride property enables you override one or more safety rules and * update routing control states. For more information, see * * Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.

                                                                                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                                                          * You must specify Regional endpoints when you work with API cluster operations * to get or update routing control states in Route 53 ARC. *

                                                                                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                                                                                          To see a code example for getting a routing control state, including accessing Regional cluster endpoints + *

                                                                                                                                                                                                                                                                                                                                          To see a code example for getting a routing control state, including accessing Regional cluster endpoints * in sequence, see API examples * in the Amazon Route 53 Application Recovery Controller Developer Guide.

                                                                                                                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                            • *

                                                                                                                                                                                                                                                                                                                                              * @@ -82,7 +82,7 @@ export interface UpdateRoutingControlStateCommandOutput extends UpdateRoutingCon * const client = new Route53RecoveryClusterClient(config); * const input = { // UpdateRoutingControlStateRequest * RoutingControlArn: "STRING_VALUE", // required - * RoutingControlState: "STRING_VALUE", // required + * RoutingControlState: "On" || "Off", // required * SafetyRulesToOverride: [ // Arns * "STRING_VALUE", * ], diff --git a/clients/client-route53-recovery-cluster/src/commands/UpdateRoutingControlStatesCommand.ts b/clients/client-route53-recovery-cluster/src/commands/UpdateRoutingControlStatesCommand.ts index 1644e908128c9..0b1cb45df61d3 100644 --- a/clients/client-route53-recovery-cluster/src/commands/UpdateRoutingControlStatesCommand.ts +++ b/clients/client-route53-recovery-cluster/src/commands/UpdateRoutingControlStatesCommand.ts @@ -43,14 +43,14 @@ export interface UpdateRoutingControlStatesCommandOutput extends UpdateRoutingCo *

                                                                                                                                                                                                                                                                                                                                              Set multiple routing control states. You can set the value for each state to be On or Off. * When the state is On, traffic flows to a cell. When it's Off, traffic does not * flow.

                                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                                              With Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing + *

                                                                                                                                                                                                                                                                                                                                              With Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing * control state updates that help prevent unexpected outcomes, like fail open traffic routing. However, * there are scenarios when you might want to bypass the routing control safeguards that are enforced with * safety rules that you've configured. For example, you might want to fail over quickly for disaster recovery, * and one or more safety rules might be unexpectedly preventing you from updating a routing control state to * reroute traffic. In a "break glass" scenario like this, you can override one or more safety rules to change * a routing control state and fail over your application.

                                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                                              The SafetyRulesToOverride property enables you override one or more safety rules and + *

                                                                                                                                                                                                                                                                                                                                              The SafetyRulesToOverride property enables you override one or more safety rules and * update routing control states. For more information, see * * Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.

                                                                                                                                                                                                                                                                                                                                              @@ -58,10 +58,10 @@ export interface UpdateRoutingControlStatesCommandOutput extends UpdateRoutingCo * You must specify Regional endpoints when you work with API cluster operations * to get or update routing control states in Route 53 ARC. *

                                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                                              To see a code example for getting a routing control state, including accessing Regional cluster endpoints + *

                                                                                                                                                                                                                                                                                                                                              To see a code example for getting a routing control state, including accessing Regional cluster endpoints * in sequence, see API examples * in the Amazon Route 53 Application Recovery Controller Developer Guide.

                                                                                                                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                                                                                                                                + *
                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                • *

                                                                                                                                                                                                                                                                                                                                                  * @@ -84,7 +84,7 @@ export interface UpdateRoutingControlStatesCommandOutput extends UpdateRoutingCo * UpdateRoutingControlStateEntries: [ // UpdateRoutingControlStateEntries // required * { // UpdateRoutingControlStateEntry * RoutingControlArn: "STRING_VALUE", // required - * RoutingControlState: "STRING_VALUE", // required + * RoutingControlState: "On" || "Off", // required * }, * ], * SafetyRulesToOverride: [ // Arns diff --git a/clients/client-route53-recovery-cluster/src/endpoint/ruleset.ts b/clients/client-route53-recovery-cluster/src/endpoint/ruleset.ts index 1d2f0e2eaf344..d1b6f13731a7a 100644 --- a/clients/client-route53-recovery-cluster/src/endpoint/ruleset.ts +++ b/clients/client-route53-recovery-cluster/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/route53-recovery-cluster.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://route53-recovery-cluster-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://route53-recovery-cluster-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://route53-recovery-cluster.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://route53-recovery-cluster.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://route53-recovery-cluster-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://route53-recovery-cluster-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://route53-recovery-cluster.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://route53-recovery-cluster.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-route53-recovery-cluster/src/index.ts b/clients/client-route53-recovery-cluster/src/index.ts index d814baa574652..c33c6ed8f94b2 100644 --- a/clients/client-route53-recovery-cluster/src/index.ts +++ b/clients/client-route53-recovery-cluster/src/index.ts @@ -2,29 +2,29 @@ /* eslint-disable */ /** *

                                                                                                                                                                                                                                                                                                                                                  Welcome to the Routing Control (Recovery Cluster) API Reference Guide for Amazon Route 53 Application Recovery Controller.

                                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                                  With Route 53 ARC, you can use routing control with extreme reliability to + *

                                                                                                                                                                                                                                                                                                                                                  With Route 53 ARC, you can use routing control with extreme reliability to * recover applications by rerouting traffic across * Availability Zones or Amazon Web Services Regions. Routing controls are simple on/off switches hosted * on a highly available cluster in Route 53 ARC. A cluster provides a set of five redundant Regional endpoints against which you * can run API calls to get or update the state of routing controls. To implement failover, you set * one routing control On and another one Off, to reroute traffic from one Availability Zone or Amazon Web Services Region * to another.

                                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                                  * Be aware that you must specify a Regional endpoint for a cluster when you work with API cluster operations * to get or update routing control states in Route 53 ARC. In addition, you must specify the US West (Oregon) Region * for Route 53 ARC API calls. For example, use the parameter --region us-west-2 with AWS CLI commands. * For more information, see * * Get and update routing control states using the API in the Amazon Route 53 Application Recovery Controller Developer Guide.

                                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                                  This API guide includes information about the API operations for how to get and update routing control states + *

                                                                                                                                                                                                                                                                                                                                                  This API guide includes information about the API operations for how to get and update routing control states * in Route 53 ARC. To work with routing control in Route 53 ARC, you must first create the required components (clusters, control * panels, and routing controls) using the recovery cluster configuration API.

                                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                                  For more information about working with routing control in Route 53 ARC, see the following:

                                                                                                                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                    For more information about working with routing control in Route 53 ARC, see the following:

                                                                                                                                                                                                                                                                                                                                                    + *
                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                                                                                                      Create clusters, control panels, and routing controls by using API operations. For more information, + *

                                                                                                                                                                                                                                                                                                                                                      Create clusters, control panels, and routing controls by using API operations. For more information, * see the Recovery Control Configuration API Reference Guide for Amazon Route 53 Application Recovery Controller.

                                                                                                                                                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                                                                                                                                                    • + * *
                                                                                                                                                                                                                                                                                                                                                    • *

                                                                                                                                                                                                                                                                                                                                                      Learn about the components in recovery control, including clusters, * routing controls, and control panels, and how to work with Route 53 ARC in the Amazon Web Services console. For more @@ -32,14 +32,14 @@ * Recovery control components in the Amazon Route 53 Application Recovery Controller Developer Guide.

                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                                                                                                      Route 53 ARC also provides readiness checks that continually audit resources to help make sure that your + *

                                                                                                                                                                                                                                                                                                                                                      Route 53 ARC also provides readiness checks that continually audit resources to help make sure that your * applications are scaled and ready to handle failover traffic. For more information about * the related API operations, see the Recovery Readiness API Reference Guide for Amazon Route 53 Application Recovery Controller.

                                                                                                                                                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                                                                                                                                                    • + * *
                                                                                                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                                                                                                      For more information about creating resilient applications and preparing for + *

                                                                                                                                                                                                                                                                                                                                                      For more information about creating resilient applications and preparing for * recovery readiness with Route 53 ARC, see the Amazon Route 53 Application Recovery Controller Developer Guide.

                                                                                                                                                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                                                                                                                                                    • + * *
                                                                                                                                                                                                                                                                                                                                                    * * @packageDocumentation diff --git a/clients/client-route53-recovery-cluster/src/models/models_0.ts b/clients/client-route53-recovery-cluster/src/models/models_0.ts index 53cc09579c0e0..0be24f797b12e 100644 --- a/clients/client-route53-recovery-cluster/src/models/models_0.ts +++ b/clients/client-route53-recovery-cluster/src/models/models_0.ts @@ -429,7 +429,7 @@ export interface UpdateRoutingControlStateRequest { *

                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating the state of * a routing control. You can override one safety rule or multiple safety rules by including one or more ARNs, separated * by commas.

                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                    For more information, see + *

                                                                                                                                                                                                                                                                                                                                                    For more information, see * Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.

                                                                                                                                                                                                                                                                                                                                                    */ SafetyRulesToOverride?: string[]; @@ -473,7 +473,7 @@ export interface UpdateRoutingControlStatesRequest { *

                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating routing * control states. You can override one safety rule or multiple safety rules by including one or more ARNs, separated * by commas.

                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                    For more information, see + *

                                                                                                                                                                                                                                                                                                                                                    For more information, see * Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.

                                                                                                                                                                                                                                                                                                                                                    */ SafetyRulesToOverride?: string[]; diff --git a/clients/client-route53-recovery-control-config/src/endpoint/EndpointParameters.ts b/clients/client-route53-recovery-control-config/src/endpoint/EndpointParameters.ts index 02fac7a35301f..7241ddb32a3a8 100644 --- a/clients/client-route53-recovery-control-config/src/endpoint/EndpointParameters.ts +++ b/clients/client-route53-recovery-control-config/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-route53-recovery-control-config/src/endpoint/ruleset.ts b/clients/client-route53-recovery-control-config/src/endpoint/ruleset.ts index c95c994601897..932f747647d80 100644 --- a/clients/client-route53-recovery-control-config/src/endpoint/ruleset.ts +++ b/clients/client-route53-recovery-control-config/src/endpoint/ruleset.ts @@ -6,25 +6,26 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/route53-recovery-control-config.json */ -const r="fn", -s="argv", -t="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h={"required":true,"default":false,"type":"Boolean"}, -i={[t]:"Region"}, -j={[t]:"Endpoint"}, -k={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, -l={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, -m={}, -n={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:d},"supportsFIPS"]}]}, -o={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:d},"supportsDualStack"]}]}, -p=[k], +const r="required", +s="fn", +t="argv", +u="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f={[r]:false,"type":"String"}, +g={[r]:true,"default":false,"type":"Boolean"}, +h={[u]:"Endpoint"}, +i={[s]:"booleanEquals",[t]:[{[u]:"UseFIPS"},true]}, +j={[s]:"booleanEquals",[t]:[{[u]:"UseDualStack"},true]}, +k={}, +l={[u]:"Region"}, +m={[s]:"booleanEquals",[t]:[true,{[s]:"getAttr",[t]:[{[u]:e},"supportsFIPS"]}]}, +n={[s]:"booleanEquals",[t]:[true,{[s]:"getAttr",[t]:[{[u]:e},"supportsDualStack"]}]}, +o=[i], +p=[j], q=[l]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[r]:"aws.partition",[s]:[i],assign:d}],type:e,rules:[{conditions:[{[r]:"isSet",[s]:[j]}],type:e,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:j,properties:m,headers:m},type:g}]}]},{conditions:[k,l],type:e,rules:[{conditions:[n,o],type:e,rules:[{endpoint:{url:"https://route53-recovery-control-config-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:p,type:e,rules:[{conditions:[n],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://route53-recovery-control-config-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:q,type:e,rules:[{conditions:[o],type:e,rules:[{endpoint:{url:"https://route53-recovery-control-config.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{type:e,rules:[{conditions:[{[r]:"stringEquals",[s]:[i,"aws-global"]}],endpoint:{url:"https://route53-recovery-control-config.us-west-2.amazonaws.com",properties:{authSchemes:[{name:"sigv4",signingRegion:"us-west-2",signingName:"route53-recovery-control-config"}]},headers:m},type:g},{endpoint:{url:"https://route53-recovery-control-config.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:g}]}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[s]:a,[t]:[h]}],type:b,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[s]:a,[t]:q}],type:b,rules:[{conditions:[{[s]:"aws.partition",[t]:q,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[m,n],type:b,rules:[{endpoint:{url:"https://route53-recovery-control-config-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://route53-recovery-control-config-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:p,type:b,rules:[{conditions:[n],type:b,rules:[{endpoint:{url:"https://route53-recovery-control-config.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{conditions:[{[s]:"stringEquals",[t]:[l,"aws-global"]}],endpoint:{url:"https://route53-recovery-control-config.us-west-2.amazonaws.com",properties:{authSchemes:[{name:"sigv4",signingName:"route53-recovery-control-config",signingRegion:"us-west-2"}]},headers:k},type:d},{endpoint:{url:"https://route53-recovery-control-config.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-route53-recovery-readiness/src/commands/GetCellReadinessSummaryCommand.ts b/clients/client-route53-recovery-readiness/src/commands/GetCellReadinessSummaryCommand.ts index 59aa10dab1967..34cc3b93b2a51 100644 --- a/clients/client-route53-recovery-readiness/src/commands/GetCellReadinessSummaryCommand.ts +++ b/clients/client-route53-recovery-readiness/src/commands/GetCellReadinessSummaryCommand.ts @@ -56,10 +56,10 @@ export interface GetCellReadinessSummaryCommandOutput extends GetCellReadinessSu * const response = await client.send(command); * // { // GetCellReadinessSummaryResponse * // NextToken: "STRING_VALUE", - * // Readiness: "STRING_VALUE", + * // Readiness: "READY" || "NOT_READY" || "UNKNOWN" || "NOT_AUTHORIZED", * // ReadinessChecks: [ // __listOfReadinessCheckSummary * // { // ReadinessCheckSummary - * // Readiness: "STRING_VALUE", + * // Readiness: "READY" || "NOT_READY" || "UNKNOWN" || "NOT_AUTHORIZED", * // ReadinessCheckName: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-route53-recovery-readiness/src/commands/GetReadinessCheckResourceStatusCommand.ts b/clients/client-route53-recovery-readiness/src/commands/GetReadinessCheckResourceStatusCommand.ts index 2eba50d803a15..ab2fc268e84bf 100644 --- a/clients/client-route53-recovery-readiness/src/commands/GetReadinessCheckResourceStatusCommand.ts +++ b/clients/client-route53-recovery-readiness/src/commands/GetReadinessCheckResourceStatusCommand.ts @@ -62,7 +62,7 @@ export interface GetReadinessCheckResourceStatusCommandOutput * const response = await client.send(command); * // { // GetReadinessCheckResourceStatusResponse * // NextToken: "STRING_VALUE", - * // Readiness: "STRING_VALUE", + * // Readiness: "READY" || "NOT_READY" || "UNKNOWN" || "NOT_AUTHORIZED", * // Rules: [ // __listOfRuleResult * // { // RuleResult * // LastCheckedTimestamp: new Date("TIMESTAMP"), // required @@ -71,7 +71,7 @@ export interface GetReadinessCheckResourceStatusCommandOutput * // MessageText: "STRING_VALUE", * // }, * // ], - * // Readiness: "STRING_VALUE", // required + * // Readiness: "READY" || "NOT_READY" || "UNKNOWN" || "NOT_AUTHORIZED", // required * // RuleId: "STRING_VALUE", // required * // }, * // ], diff --git a/clients/client-route53-recovery-readiness/src/commands/GetReadinessCheckStatusCommand.ts b/clients/client-route53-recovery-readiness/src/commands/GetReadinessCheckStatusCommand.ts index e68d0c3dc517d..199add2ff8e20 100644 --- a/clients/client-route53-recovery-readiness/src/commands/GetReadinessCheckStatusCommand.ts +++ b/clients/client-route53-recovery-readiness/src/commands/GetReadinessCheckStatusCommand.ts @@ -61,12 +61,12 @@ export interface GetReadinessCheckStatusCommandOutput extends GetReadinessCheckS * // }, * // ], * // NextToken: "STRING_VALUE", - * // Readiness: "STRING_VALUE", + * // Readiness: "READY" || "NOT_READY" || "UNKNOWN" || "NOT_AUTHORIZED", * // Resources: [ // __listOfResourceResult * // { // ResourceResult * // ComponentId: "STRING_VALUE", * // LastCheckedTimestamp: new Date("TIMESTAMP"), // required - * // Readiness: "STRING_VALUE", // required + * // Readiness: "READY" || "NOT_READY" || "UNKNOWN" || "NOT_AUTHORIZED", // required * // ResourceArn: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-route53-recovery-readiness/src/commands/GetRecoveryGroupReadinessSummaryCommand.ts b/clients/client-route53-recovery-readiness/src/commands/GetRecoveryGroupReadinessSummaryCommand.ts index 0df1f30172b87..0552ebf8fd994 100644 --- a/clients/client-route53-recovery-readiness/src/commands/GetRecoveryGroupReadinessSummaryCommand.ts +++ b/clients/client-route53-recovery-readiness/src/commands/GetRecoveryGroupReadinessSummaryCommand.ts @@ -61,10 +61,10 @@ export interface GetRecoveryGroupReadinessSummaryCommandOutput * const response = await client.send(command); * // { // GetRecoveryGroupReadinessSummaryResponse * // NextToken: "STRING_VALUE", - * // Readiness: "STRING_VALUE", + * // Readiness: "READY" || "NOT_READY" || "UNKNOWN" || "NOT_AUTHORIZED", * // ReadinessChecks: [ // __listOfReadinessCheckSummary * // { // ReadinessCheckSummary - * // Readiness: "STRING_VALUE", + * // Readiness: "READY" || "NOT_READY" || "UNKNOWN" || "NOT_AUTHORIZED", * // ReadinessCheckName: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-route53-recovery-readiness/src/endpoint/ruleset.ts b/clients/client-route53-recovery-readiness/src/endpoint/ruleset.ts index 35828e140d835..86298f1da6f07 100644 --- a/clients/client-route53-recovery-readiness/src/endpoint/ruleset.ts +++ b/clients/client-route53-recovery-readiness/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/route53-recovery-readiness.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://route53-recovery-readiness-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://route53-recovery-readiness-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://route53-recovery-readiness.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://route53-recovery-readiness.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://route53-recovery-readiness-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://route53-recovery-readiness-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://route53-recovery-readiness.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://route53-recovery-readiness.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-route53resolver/src/endpoint/ruleset.ts b/clients/client-route53resolver/src/endpoint/ruleset.ts index 907b8c71b9e7b..352711bba5099 100644 --- a/clients/client-route53resolver/src/endpoint/ruleset.ts +++ b/clients/client-route53resolver/src/endpoint/ruleset.ts @@ -6,25 +6,27 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/route53resolver.json */ -const q="required", -r="fn", -s="argv", -t="ref"; +const s="required", +t="fn", +u="argv", +v="ref"; const a="isSet", b="tree", c="error", d="endpoint", e="PartitionResult", -f={[q]:false,"type":"String"}, -g={[q]:true,"default":false,"type":"Boolean"}, -h={[t]:"Endpoint"}, -i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, -j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, -k={}, -l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, -m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, -n=[i], -o=[j], -p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://route53resolver-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://route53resolver-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://route53resolver.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://route53resolver.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +f="stringEquals", +g={[s]:false,"type":"String"}, +h={[s]:true,"default":false,"type":"Boolean"}, +i={[v]:"Endpoint"}, +j={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, +k={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, +l={}, +m={[v]:"Region"}, +n={[t]:"booleanEquals",[u]:[true,{[t]:"getAttr",[u]:[{[v]:e},"supportsFIPS"]}]}, +o={[t]:"booleanEquals",[u]:[true,{[t]:"getAttr",[u]:[{[v]:e},"supportsDualStack"]}]}, +p=[j], +q=[k], +r=[m]; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[n,o],type:b,rules:[{endpoint:{url:"https://route53resolver-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[n],type:b,rules:[{conditions:[{[t]:f,[u]:[m,"us-gov-east-1"]}],endpoint:{url:"https://route53resolver.us-gov-east-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[t]:f,[u]:[m,"us-gov-west-1"]}],endpoint:{url:"https://route53resolver.us-gov-west-1.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://route53resolver-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://route53resolver.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://route53resolver.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-rum/src/endpoint/ruleset.ts b/clients/client-rum/src/endpoint/ruleset.ts index 3b77cda492e21..235a19fe292f3 100644 --- a/clients/client-rum/src/endpoint/ruleset.ts +++ b/clients/client-rum/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://rum-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://rum-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://rum.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://rum.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://rum-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://rum-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://rum.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://rum.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-s3outposts/src/endpoint/ruleset.ts b/clients/client-s3outposts/src/endpoint/ruleset.ts index dfbf7fef9b92a..401dfcd9dbf53 100644 --- a/clients/client-s3outposts/src/endpoint/ruleset.ts +++ b/clients/client-s3outposts/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://s3-outposts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://s3-outposts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://s3-outposts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://s3-outposts.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://s3-outposts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://s3-outposts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://s3-outposts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://s3-outposts.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-sagemaker-a2i-runtime/src/commands/DescribeHumanLoopCommand.ts b/clients/client-sagemaker-a2i-runtime/src/commands/DescribeHumanLoopCommand.ts index 09070413e9d1e..dd4b7a4d807d0 100644 --- a/clients/client-sagemaker-a2i-runtime/src/commands/DescribeHumanLoopCommand.ts +++ b/clients/client-sagemaker-a2i-runtime/src/commands/DescribeHumanLoopCommand.ts @@ -57,7 +57,7 @@ export interface DescribeHumanLoopCommandOutput extends DescribeHumanLoopRespons * // CreationTime: new Date("TIMESTAMP"), // required * // FailureReason: "STRING_VALUE", * // FailureCode: "STRING_VALUE", - * // HumanLoopStatus: "STRING_VALUE", // required + * // HumanLoopStatus: "InProgress" || "Failed" || "Completed" || "Stopped" || "Stopping", // required * // HumanLoopName: "STRING_VALUE", // required * // HumanLoopArn: "STRING_VALUE", // required * // FlowDefinitionArn: "STRING_VALUE", // required diff --git a/clients/client-sagemaker-a2i-runtime/src/commands/ListHumanLoopsCommand.ts b/clients/client-sagemaker-a2i-runtime/src/commands/ListHumanLoopsCommand.ts index de239010ecd07..d1008b71893cd 100644 --- a/clients/client-sagemaker-a2i-runtime/src/commands/ListHumanLoopsCommand.ts +++ b/clients/client-sagemaker-a2i-runtime/src/commands/ListHumanLoopsCommand.ts @@ -51,7 +51,7 @@ export interface ListHumanLoopsCommandOutput extends ListHumanLoopsResponse, __M * CreationTimeAfter: new Date("TIMESTAMP"), * CreationTimeBefore: new Date("TIMESTAMP"), * FlowDefinitionArn: "STRING_VALUE", // required - * SortOrder: "STRING_VALUE", + * SortOrder: "Ascending" || "Descending", * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; @@ -61,7 +61,7 @@ export interface ListHumanLoopsCommandOutput extends ListHumanLoopsResponse, __M * // HumanLoopSummaries: [ // HumanLoopSummaries // required * // { // HumanLoopSummary * // HumanLoopName: "STRING_VALUE", - * // HumanLoopStatus: "STRING_VALUE", + * // HumanLoopStatus: "InProgress" || "Failed" || "Completed" || "Stopped" || "Stopping", * // CreationTime: new Date("TIMESTAMP"), * // FailureReason: "STRING_VALUE", * // FlowDefinitionArn: "STRING_VALUE", diff --git a/clients/client-sagemaker-a2i-runtime/src/commands/StartHumanLoopCommand.ts b/clients/client-sagemaker-a2i-runtime/src/commands/StartHumanLoopCommand.ts index 1d86f7004b65b..15fd88c3e0607 100644 --- a/clients/client-sagemaker-a2i-runtime/src/commands/StartHumanLoopCommand.ts +++ b/clients/client-sagemaker-a2i-runtime/src/commands/StartHumanLoopCommand.ts @@ -55,7 +55,7 @@ export interface StartHumanLoopCommandOutput extends StartHumanLoopResponse, __M * }, * DataAttributes: { // HumanLoopDataAttributes * ContentClassifiers: [ // ContentClassifiers // required - * "STRING_VALUE", + * "FreeOfPersonallyIdentifiableInformation" || "FreeOfAdultContent", * ], * }, * }; diff --git a/clients/client-sagemaker-a2i-runtime/src/endpoint/ruleset.ts b/clients/client-sagemaker-a2i-runtime/src/endpoint/ruleset.ts index 24e0b3d264f30..d381de3222108 100644 --- a/clients/client-sagemaker-a2i-runtime/src/endpoint/ruleset.ts +++ b/clients/client-sagemaker-a2i-runtime/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/sagemaker-a2i-runtime.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://a2i-runtime.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://a2i-runtime.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://a2i-runtime.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://a2i-runtime.sagemaker.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://a2i-runtime.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://a2i-runtime.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://a2i-runtime.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://a2i-runtime.sagemaker.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-sagemaker-edge/src/commands/GetDeploymentsCommand.ts b/clients/client-sagemaker-edge/src/commands/GetDeploymentsCommand.ts index 64c498509563b..72b0799210e9c 100644 --- a/clients/client-sagemaker-edge/src/commands/GetDeploymentsCommand.ts +++ b/clients/client-sagemaker-edge/src/commands/GetDeploymentsCommand.ts @@ -53,17 +53,17 @@ export interface GetDeploymentsCommandOutput extends GetDeploymentsResult, __Met * // Deployments: [ // EdgeDeployments * // { // EdgeDeployment * // DeploymentName: "STRING_VALUE", - * // Type: "STRING_VALUE", - * // FailureHandlingPolicy: "STRING_VALUE", + * // Type: "Model", + * // FailureHandlingPolicy: "ROLLBACK_ON_FAILURE" || "DO_NOTHING", * // Definitions: [ // Definitions * // { // Definition * // ModelHandle: "STRING_VALUE", * // S3Url: "STRING_VALUE", * // Checksum: { // Checksum - * // Type: "STRING_VALUE", + * // Type: "SHA1", * // Sum: "STRING_VALUE", * // }, - * // State: "STRING_VALUE", + * // State: "DEPLOY" || "UNDEPLOY", * // }, * // ], * // }, diff --git a/clients/client-sagemaker-edge/src/commands/SendHeartbeatCommand.ts b/clients/client-sagemaker-edge/src/commands/SendHeartbeatCommand.ts index 66f7a5a54f718..db2afba5c33a6 100644 --- a/clients/client-sagemaker-edge/src/commands/SendHeartbeatCommand.ts +++ b/clients/client-sagemaker-edge/src/commands/SendHeartbeatCommand.ts @@ -82,9 +82,9 @@ export interface SendHeartbeatCommandOutput extends __MetadataBearer {} * ModelHandle: "STRING_VALUE", * ModelName: "STRING_VALUE", * ModelVersion: "STRING_VALUE", - * DesiredState: "STRING_VALUE", - * State: "STRING_VALUE", - * Status: "STRING_VALUE", + * DesiredState: "DEPLOY" || "UNDEPLOY", + * State: "DEPLOY" || "UNDEPLOY", + * Status: "SUCCESS" || "FAIL", * StatusReason: "STRING_VALUE", * RollbackFailureReason: "STRING_VALUE", * }, diff --git a/clients/client-sagemaker-edge/src/endpoint/ruleset.ts b/clients/client-sagemaker-edge/src/endpoint/ruleset.ts index 3588bf990acd7..6928466471cf4 100644 --- a/clients/client-sagemaker-edge/src/endpoint/ruleset.ts +++ b/clients/client-sagemaker-edge/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/sagemaker-edge.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://edge.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://edge.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://edge.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://edge.sagemaker.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://edge.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://edge.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://edge.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://edge.sagemaker.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-sagemaker-featurestore-runtime/src/endpoint/ruleset.ts b/clients/client-sagemaker-featurestore-runtime/src/endpoint/ruleset.ts index 0e251cbcd6be4..a445b10f18608 100644 --- a/clients/client-sagemaker-featurestore-runtime/src/endpoint/ruleset.ts +++ b/clients/client-sagemaker-featurestore-runtime/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://featurestore-runtime.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://featurestore-runtime.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://featurestore-runtime.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://featurestore-runtime.sagemaker.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://featurestore-runtime.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://featurestore-runtime.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://featurestore-runtime.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://featurestore-runtime.sagemaker.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-sagemaker-metrics/src/endpoint/EndpointParameters.ts b/clients/client-sagemaker-metrics/src/endpoint/EndpointParameters.ts index e8e42109b89e1..391abf6ea0b2d 100644 --- a/clients/client-sagemaker-metrics/src/endpoint/EndpointParameters.ts +++ b/clients/client-sagemaker-metrics/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-sagemaker-metrics/src/endpoint/ruleset.ts b/clients/client-sagemaker-metrics/src/endpoint/ruleset.ts index ebf089a3bd9da..030b7be9bc6db 100644 --- a/clients/client-sagemaker-metrics/src/endpoint/ruleset.ts +++ b/clients/client-sagemaker-metrics/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/sagemaker-metrics.json */ -const q="fn", -r="argv", -s="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h={"required":true,"default":false,"type":"Boolean"}, -i={[s]:"Endpoint"}, -j={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -k={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -l={}, -m={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsFIPS"]}]}, -n={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsDualStack"]}]}, +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], o=[j], -p=[k]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[q]:"isSet",[r]:[i]}],type:e,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{endpoint:{url:"https://metrics.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:o,type:e,rules:[{conditions:[m],type:e,rules:[{endpoint:{url:"https://metrics.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:p,type:e,rules:[{conditions:[n],type:e,rules:[{endpoint:{url:"https://metrics.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{endpoint:{url:"https://metrics.sagemaker.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]}; +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://metrics.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://metrics.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://metrics.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://metrics.sagemaker.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-savingsplans/src/endpoint/ruleset.ts b/clients/client-savingsplans/src/endpoint/ruleset.ts index daf20b1f05f6f..fcf73c50906c7 100644 --- a/clients/client-savingsplans/src/endpoint/ruleset.ts +++ b/clients/client-savingsplans/src/endpoint/ruleset.ts @@ -32,5 +32,5 @@ s={[x]:d,[y]:[true,{[x]:h,[y]:[q,"supportsDualStack"]}]}, t=[l], u=[n], v=[{[z]:"Region"}]; -const _data={version:"1.0",parameters:{Region:i,UseDualStack:j,UseFIPS:j,Endpoint:i},rules:[{conditions:[{[x]:b,[y]:[k]}],type:c,rules:[{conditions:t,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:e},{type:c,rules:[{conditions:u,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:e},{endpoint:{url:k,properties:p,headers:p},type:f}]}]},{type:c,rules:[{conditions:[{[x]:b,[y]:v}],type:c,rules:[{conditions:[{[x]:"aws.partition",[y]:v,assign:g}],type:c,rules:[{conditions:[{[x]:"stringEquals",[y]:[{[x]:h,[y]:[q,"name"]},"aws"]},{[x]:d,[y]:[m,a]},{[x]:d,[y]:[o,a]}],endpoint:{url:"https://savingsplans.amazonaws.com",properties:{authSchemes:[{name:"sigv4",signingName:"savingsplans",signingRegion:"us-east-1"}]},headers:p},type:f},{conditions:[l,n],type:c,rules:[{conditions:[r,s],type:c,rules:[{type:c,rules:[{endpoint:{url:"https://savingsplans-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},type:f}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:e}]},{conditions:t,type:c,rules:[{conditions:[r],type:c,rules:[{type:c,rules:[{endpoint:{url:"https://savingsplans-fips.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},type:f}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:e}]},{conditions:u,type:c,rules:[{conditions:[s],type:c,rules:[{type:c,rules:[{endpoint:{url:"https://savingsplans.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},type:f}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:e}]},{type:c,rules:[{endpoint:{url:"https://savingsplans.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},type:f}]}]}]},{error:"Invalid Configuration: Missing Region",type:e}]}]}; +const _data={version:"1.0",parameters:{Region:i,UseDualStack:j,UseFIPS:j,Endpoint:i},rules:[{conditions:[{[x]:b,[y]:[k]}],type:c,rules:[{conditions:t,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:e},{conditions:u,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:e},{endpoint:{url:k,properties:p,headers:p},type:f}]},{conditions:[{[x]:b,[y]:v}],type:c,rules:[{conditions:[{[x]:"aws.partition",[y]:v,assign:g}],type:c,rules:[{conditions:[{[x]:"stringEquals",[y]:[{[x]:h,[y]:[q,"name"]},"aws"]},{[x]:d,[y]:[m,a]},{[x]:d,[y]:[o,a]}],endpoint:{url:"https://savingsplans.amazonaws.com",properties:{authSchemes:[{name:"sigv4",signingName:"savingsplans",signingRegion:"us-east-1"}]},headers:p},type:f},{conditions:[l,n],type:c,rules:[{conditions:[r,s],type:c,rules:[{endpoint:{url:"https://savingsplans-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},type:f}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:e}]},{conditions:t,type:c,rules:[{conditions:[r],type:c,rules:[{endpoint:{url:"https://savingsplans-fips.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},type:f}]},{error:"FIPS is enabled but this partition does not support FIPS",type:e}]},{conditions:u,type:c,rules:[{conditions:[s],type:c,rules:[{endpoint:{url:"https://savingsplans.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:p,headers:p},type:f}]},{error:"DualStack is enabled but this partition does not support DualStack",type:e}]},{endpoint:{url:"https://savingsplans.{Region}.{PartitionResult#dnsSuffix}",properties:p,headers:p},type:f}]}]},{error:"Invalid Configuration: Missing Region",type:e}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-schemas/src/commands/CreateDiscovererCommand.ts b/clients/client-schemas/src/commands/CreateDiscovererCommand.ts index 17ecf60ae11e8..b9aa25d6ac123 100644 --- a/clients/client-schemas/src/commands/CreateDiscovererCommand.ts +++ b/clients/client-schemas/src/commands/CreateDiscovererCommand.ts @@ -58,7 +58,7 @@ export interface CreateDiscovererCommandOutput extends CreateDiscovererResponse, * // DiscovererArn: "STRING_VALUE", * // DiscovererId: "STRING_VALUE", * // SourceArn: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "STARTED" || "STOPPED", * // CrossAccount: true || false, * // Tags: { // Tags * // "": "STRING_VALUE", diff --git a/clients/client-schemas/src/commands/CreateSchemaCommand.ts b/clients/client-schemas/src/commands/CreateSchemaCommand.ts index 113d3e06df25e..4b03b803c3670 100644 --- a/clients/client-schemas/src/commands/CreateSchemaCommand.ts +++ b/clients/client-schemas/src/commands/CreateSchemaCommand.ts @@ -51,7 +51,7 @@ export interface CreateSchemaCommandOutput extends CreateSchemaResponse, __Metad * Tags: { // Tags * "": "STRING_VALUE", * }, - * Type: "STRING_VALUE", // required + * Type: "OpenApi3" || "JSONSchemaDraft4", // required * }; * const command = new CreateSchemaCommand(input); * const response = await client.send(command); diff --git a/clients/client-schemas/src/commands/DescribeCodeBindingCommand.ts b/clients/client-schemas/src/commands/DescribeCodeBindingCommand.ts index d9d18a0815a52..3f96bc094d08e 100644 --- a/clients/client-schemas/src/commands/DescribeCodeBindingCommand.ts +++ b/clients/client-schemas/src/commands/DescribeCodeBindingCommand.ts @@ -55,7 +55,7 @@ export interface DescribeCodeBindingCommandOutput extends DescribeCodeBindingRes * // CreationDate: new Date("TIMESTAMP"), * // LastModified: new Date("TIMESTAMP"), * // SchemaVersion: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "CREATE_IN_PROGRESS" || "CREATE_COMPLETE" || "CREATE_FAILED", * // }; * * ``` diff --git a/clients/client-schemas/src/commands/DescribeDiscovererCommand.ts b/clients/client-schemas/src/commands/DescribeDiscovererCommand.ts index b55bddeaa39b0..239cc52105a3a 100644 --- a/clients/client-schemas/src/commands/DescribeDiscovererCommand.ts +++ b/clients/client-schemas/src/commands/DescribeDiscovererCommand.ts @@ -53,7 +53,7 @@ export interface DescribeDiscovererCommandOutput extends DescribeDiscovererRespo * // DiscovererArn: "STRING_VALUE", * // DiscovererId: "STRING_VALUE", * // SourceArn: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "STARTED" || "STOPPED", * // CrossAccount: true || false, * // Tags: { // Tags * // "": "STRING_VALUE", diff --git a/clients/client-schemas/src/commands/GetDiscoveredSchemaCommand.ts b/clients/client-schemas/src/commands/GetDiscoveredSchemaCommand.ts index 08a3d0994dd2a..d351f99f51968 100644 --- a/clients/client-schemas/src/commands/GetDiscoveredSchemaCommand.ts +++ b/clients/client-schemas/src/commands/GetDiscoveredSchemaCommand.ts @@ -47,7 +47,7 @@ export interface GetDiscoveredSchemaCommandOutput extends GetDiscoveredSchemaRes * Events: [ // __listOfGetDiscoveredSchemaVersionItemInput // required * "STRING_VALUE", * ], - * Type: "STRING_VALUE", // required + * Type: "OpenApi3" || "JSONSchemaDraft4", // required * }; * const command = new GetDiscoveredSchemaCommand(input); * const response = await client.send(command); diff --git a/clients/client-schemas/src/commands/ListDiscoverersCommand.ts b/clients/client-schemas/src/commands/ListDiscoverersCommand.ts index 704f037e0a086..377a43f1703f3 100644 --- a/clients/client-schemas/src/commands/ListDiscoverersCommand.ts +++ b/clients/client-schemas/src/commands/ListDiscoverersCommand.ts @@ -57,7 +57,7 @@ export interface ListDiscoverersCommandOutput extends ListDiscoverersResponse, _ * // DiscovererArn: "STRING_VALUE", * // DiscovererId: "STRING_VALUE", * // SourceArn: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "STARTED" || "STOPPED", * // CrossAccount: true || false, * // Tags: { // Tags * // "": "STRING_VALUE", diff --git a/clients/client-schemas/src/commands/ListSchemaVersionsCommand.ts b/clients/client-schemas/src/commands/ListSchemaVersionsCommand.ts index 4a5ae70dd430b..c662bd561e042 100644 --- a/clients/client-schemas/src/commands/ListSchemaVersionsCommand.ts +++ b/clients/client-schemas/src/commands/ListSchemaVersionsCommand.ts @@ -58,7 +58,7 @@ export interface ListSchemaVersionsCommandOutput extends ListSchemaVersionsRespo * // SchemaArn: "STRING_VALUE", * // SchemaName: "STRING_VALUE", * // SchemaVersion: "STRING_VALUE", - * // Type: "STRING_VALUE", + * // Type: "OpenApi3" || "JSONSchemaDraft4", * // }, * // ], * // }; diff --git a/clients/client-schemas/src/commands/PutCodeBindingCommand.ts b/clients/client-schemas/src/commands/PutCodeBindingCommand.ts index 06624828b6ade..52c08a52b410d 100644 --- a/clients/client-schemas/src/commands/PutCodeBindingCommand.ts +++ b/clients/client-schemas/src/commands/PutCodeBindingCommand.ts @@ -55,7 +55,7 @@ export interface PutCodeBindingCommandOutput extends PutCodeBindingResponse, __M * // CreationDate: new Date("TIMESTAMP"), * // LastModified: new Date("TIMESTAMP"), * // SchemaVersion: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "CREATE_IN_PROGRESS" || "CREATE_COMPLETE" || "CREATE_FAILED", * // }; * * ``` diff --git a/clients/client-schemas/src/commands/SearchSchemasCommand.ts b/clients/client-schemas/src/commands/SearchSchemasCommand.ts index d4cad65bf26c1..e3a5516f1a641 100644 --- a/clients/client-schemas/src/commands/SearchSchemasCommand.ts +++ b/clients/client-schemas/src/commands/SearchSchemasCommand.ts @@ -62,7 +62,7 @@ export interface SearchSchemasCommandOutput extends SearchSchemasResponse, __Met * // { // SearchSchemaVersionSummary * // CreatedDate: new Date("TIMESTAMP"), * // SchemaVersion: "STRING_VALUE", - * // Type: "STRING_VALUE", + * // Type: "OpenApi3" || "JSONSchemaDraft4", * // }, * // ], * // }, diff --git a/clients/client-schemas/src/commands/StartDiscovererCommand.ts b/clients/client-schemas/src/commands/StartDiscovererCommand.ts index 670ef58bc3e6f..e5b4768e7f35b 100644 --- a/clients/client-schemas/src/commands/StartDiscovererCommand.ts +++ b/clients/client-schemas/src/commands/StartDiscovererCommand.ts @@ -50,7 +50,7 @@ export interface StartDiscovererCommandOutput extends StartDiscovererResponse, _ * const response = await client.send(command); * // { // StartDiscovererResponse * // DiscovererId: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "STARTED" || "STOPPED", * // }; * * ``` diff --git a/clients/client-schemas/src/commands/StopDiscovererCommand.ts b/clients/client-schemas/src/commands/StopDiscovererCommand.ts index e408c995c09e3..310dc4e055ccb 100644 --- a/clients/client-schemas/src/commands/StopDiscovererCommand.ts +++ b/clients/client-schemas/src/commands/StopDiscovererCommand.ts @@ -50,7 +50,7 @@ export interface StopDiscovererCommandOutput extends StopDiscovererResponse, __M * const response = await client.send(command); * // { // StopDiscovererResponse * // DiscovererId: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "STARTED" || "STOPPED", * // }; * * ``` diff --git a/clients/client-schemas/src/commands/UpdateDiscovererCommand.ts b/clients/client-schemas/src/commands/UpdateDiscovererCommand.ts index a713304918e17..3cda1bbc198c2 100644 --- a/clients/client-schemas/src/commands/UpdateDiscovererCommand.ts +++ b/clients/client-schemas/src/commands/UpdateDiscovererCommand.ts @@ -55,7 +55,7 @@ export interface UpdateDiscovererCommandOutput extends UpdateDiscovererResponse, * // DiscovererArn: "STRING_VALUE", * // DiscovererId: "STRING_VALUE", * // SourceArn: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "STARTED" || "STOPPED", * // CrossAccount: true || false, * // Tags: { // Tags * // "": "STRING_VALUE", diff --git a/clients/client-schemas/src/commands/UpdateSchemaCommand.ts b/clients/client-schemas/src/commands/UpdateSchemaCommand.ts index c9bb5891c91a2..f99161e7359cd 100644 --- a/clients/client-schemas/src/commands/UpdateSchemaCommand.ts +++ b/clients/client-schemas/src/commands/UpdateSchemaCommand.ts @@ -49,7 +49,7 @@ export interface UpdateSchemaCommandOutput extends UpdateSchemaResponse, __Metad * Description: "STRING_VALUE", * RegistryName: "STRING_VALUE", // required * SchemaName: "STRING_VALUE", // required - * Type: "STRING_VALUE", + * Type: "OpenApi3" || "JSONSchemaDraft4", * }; * const command = new UpdateSchemaCommand(input); * const response = await client.send(command); diff --git a/clients/client-schemas/src/endpoint/ruleset.ts b/clients/client-schemas/src/endpoint/ruleset.ts index a318d687eab18..d5dacdf07bfde 100644 --- a/clients/client-schemas/src/endpoint/ruleset.ts +++ b/clients/client-schemas/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/schemas.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://schemas-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://schemas-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://schemas.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://schemas.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://schemas-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://schemas-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://schemas.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://schemas.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-secrets-manager/src/endpoint/ruleset.ts b/clients/client-secrets-manager/src/endpoint/ruleset.ts index 33bf414a3a0e9..34571706fa495 100644 --- a/clients/client-secrets-manager/src/endpoint/ruleset.ts +++ b/clients/client-secrets-manager/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://secretsmanager-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://secretsmanager-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://secretsmanager.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://secretsmanager.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://secretsmanager-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://secretsmanager-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://secretsmanager.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://secretsmanager.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-serverlessapplicationrepository/src/endpoint/EndpointParameters.ts b/clients/client-serverlessapplicationrepository/src/endpoint/EndpointParameters.ts index 392e323b901f3..ebfd6934a7c9d 100644 --- a/clients/client-serverlessapplicationrepository/src/endpoint/EndpointParameters.ts +++ b/clients/client-serverlessapplicationrepository/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-serverlessapplicationrepository/src/endpoint/ruleset.ts b/clients/client-serverlessapplicationrepository/src/endpoint/ruleset.ts index 9e70ed01022c5..bc849bb0e6998 100644 --- a/clients/client-serverlessapplicationrepository/src/endpoint/ruleset.ts +++ b/clients/client-serverlessapplicationrepository/src/endpoint/ruleset.ts @@ -6,28 +6,27 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/serverlessapplicationrepository.json */ -const u="fn", -v="argv", -w="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h="getAttr", -i="stringEquals", -j={"required":true,"default":false,"type":"Boolean"}, -k={[w]:"Region"}, -l={[w]:"Endpoint"}, -m={[u]:"booleanEquals",[v]:[{[w]:"UseFIPS"},true]}, -n={[u]:"booleanEquals",[v]:[{[w]:"UseDualStack"},true]}, -o={}, -p={[u]:"booleanEquals",[v]:[true,{[u]:h,[v]:[{[w]:d},"supportsFIPS"]}]}, -q={[w]:d}, -r={[u]:"booleanEquals",[v]:[true,{[u]:h,[v]:[q,"supportsDualStack"]}]}, -s=[m], -t=[n]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:j,UseFIPS:j,Endpoint:{required:b,type:c}},rules:[{conditions:[{[u]:"aws.partition",[v]:[k],assign:d}],type:e,rules:[{conditions:[{[u]:"isSet",[v]:[l]}],type:e,rules:[{conditions:s,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:t,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:l,properties:o,headers:o},type:g}]}]},{conditions:[m,n],type:e,rules:[{conditions:[p,r],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://serverlessrepo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:o,headers:o},type:g}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:s,type:e,rules:[{conditions:[p],type:e,rules:[{type:e,rules:[{conditions:[{[u]:i,[v]:["aws-us-gov",{[u]:h,[v]:[q,"name"]}]}],endpoint:{url:"https://serverlessrepo.{Region}.amazonaws.com",properties:o,headers:o},type:g},{endpoint:{url:"https://serverlessrepo-fips.{Region}.{PartitionResult#dnsSuffix}",properties:o,headers:o},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:t,type:e,rules:[{conditions:[r],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://serverlessrepo.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:o,headers:o},type:g}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{type:e,rules:[{conditions:[{[u]:i,[v]:[k,"us-gov-east-1"]}],endpoint:{url:"https://serverlessrepo.us-gov-east-1.amazonaws.com",properties:o,headers:o},type:g},{conditions:[{[u]:i,[v]:[k,"us-gov-west-1"]}],endpoint:{url:"https://serverlessrepo.us-gov-west-1.amazonaws.com",properties:o,headers:o},type:g},{endpoint:{url:"https://serverlessrepo.{Region}.{PartitionResult#dnsSuffix}",properties:o,headers:o},type:g}]}]}]}; +const s="required", +t="fn", +u="argv", +v="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f="getAttr", +g={[s]:false,"type":"String"}, +h={[s]:true,"default":false,"type":"Boolean"}, +i={[v]:"Endpoint"}, +j={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, +k={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, +l={}, +m={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[{[v]:e},"supportsFIPS"]}]}, +n={[v]:e}, +o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, +p=[j], +q=[k], +r=[{[v]:"Region"}]; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://serverlessrepo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://serverlessrepo.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://serverlessrepo-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://serverlessrepo.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://serverlessrepo.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-service-catalog-appregistry/src/endpoint/ruleset.ts b/clients/client-service-catalog-appregistry/src/endpoint/ruleset.ts index f0098e499d840..25ec3c9e00a83 100644 --- a/clients/client-service-catalog-appregistry/src/endpoint/ruleset.ts +++ b/clients/client-service-catalog-appregistry/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, p=[j], q=[k], r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://servicecatalog-appregistry-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://servicecatalog-appregistry.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://servicecatalog-appregistry-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://servicecatalog-appregistry.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://servicecatalog-appregistry.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://servicecatalog-appregistry-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://servicecatalog-appregistry.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://servicecatalog-appregistry-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://servicecatalog-appregistry.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://servicecatalog-appregistry.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-servicediscovery/src/endpoint/ruleset.ts b/clients/client-servicediscovery/src/endpoint/ruleset.ts index 767b88a75835a..6bbdc9b40d1de 100644 --- a/clients/client-servicediscovery/src/endpoint/ruleset.ts +++ b/clients/client-servicediscovery/src/endpoint/ruleset.ts @@ -6,25 +6,28 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/servicediscovery.json */ -const q="required", -r="fn", -s="argv", -t="ref"; +const t="required", +u="fn", +v="argv", +w="ref"; const a="isSet", b="tree", c="error", d="endpoint", e="PartitionResult", -f={[q]:false,"type":"String"}, -g={[q]:true,"default":false,"type":"Boolean"}, -h={[t]:"Endpoint"}, -i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, -j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, -k={}, -l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, -m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, -n=[i], -o=[j], -p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://servicediscovery-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://servicediscovery-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://servicediscovery.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://servicediscovery.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +f="stringEquals", +g={[t]:false,"type":"String"}, +h={[t]:true,"default":false,"type":"Boolean"}, +i={[w]:"Endpoint"}, +j={[u]:"booleanEquals",[v]:[{[w]:"UseFIPS"},true]}, +k={[u]:"booleanEquals",[v]:[{[w]:"UseDualStack"},true]}, +l={}, +m={[u]:"booleanEquals",[v]:[true,{[u]:"getAttr",[v]:[{[w]:e},"supportsFIPS"]}]}, +n={[u]:"booleanEquals",[v]:[true,{[u]:"getAttr",[v]:[{[w]:e},"supportsDualStack"]}]}, +o={[u]:"getAttr",[v]:[{[w]:e},"name"]}, +p={"url":"https://servicediscovery.{Region}.amazonaws.com","properties":{},"headers":{}}, +q=[j], +r=[k], +s=[{[w]:"Region"}]; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[u]:a,[v]:[i]}],type:b,rules:[{conditions:q,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:r,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[u]:a,[v]:s}],type:b,rules:[{conditions:[{[u]:"aws.partition",[v]:s,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,n],type:b,rules:[{endpoint:{url:"https://servicediscovery-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:q,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://servicediscovery-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:r,type:b,rules:[{conditions:[n],type:b,rules:[{conditions:[{[u]:f,[v]:["aws",o]}],endpoint:p,type:d},{conditions:[{[u]:f,[v]:["aws-cn",o]}],endpoint:{url:"https://servicediscovery.{Region}.amazonaws.com.cn",properties:l,headers:l},type:d},{conditions:[{[u]:f,[v]:["aws-us-gov",o]}],endpoint:p,type:d},{endpoint:{url:"https://servicediscovery.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://servicediscovery.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-ses/src/endpoint/ruleset.ts b/clients/client-ses/src/endpoint/ruleset.ts index 89ea4dc582152..b5616169c92d5 100644 --- a/clients/client-ses/src/endpoint/ruleset.ts +++ b/clients/client-ses/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://email-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://email-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://email.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://email.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://email-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://email-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://email.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://email.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-sfn/src/endpoint/ruleset.ts b/clients/client-sfn/src/endpoint/ruleset.ts index 571cff0fa852a..fd0e9dff74678 100644 --- a/clients/client-sfn/src/endpoint/ruleset.ts +++ b/clients/client-sfn/src/endpoint/ruleset.ts @@ -27,5 +27,5 @@ n={[s]:"booleanEquals",[t]:[true,{[s]:"getAttr",[t]:[{[u]:e},"supportsDualStack" o=[i], p=[j], q=[l]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[s]:a,[t]:[h]}],type:b,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[s]:a,[t]:q}],type:b,rules:[{conditions:[{[s]:"aws.partition",[t]:q,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[m,n],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://states-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[s]:"stringEquals",[t]:[l,"us-gov-west-1"]}],endpoint:{url:"https://states.us-gov-west-1.amazonaws.com",properties:k,headers:k},type:d},{endpoint:{url:"https://states-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:p,type:b,rules:[{conditions:[n],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://states.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://states.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[s]:a,[t]:[h]}],type:b,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[s]:a,[t]:q}],type:b,rules:[{conditions:[{[s]:"aws.partition",[t]:q,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[m,n],type:b,rules:[{endpoint:{url:"https://states-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[s]:"stringEquals",[t]:[l,"us-gov-west-1"]}],endpoint:{url:"https://states.us-gov-west-1.amazonaws.com",properties:k,headers:k},type:d},{endpoint:{url:"https://states-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:p,type:b,rules:[{conditions:[n],type:b,rules:[{endpoint:{url:"https://states.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://states.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-shield/src/commands/AssociateDRTRoleCommand.ts b/clients/client-shield/src/commands/AssociateDRTRoleCommand.ts index c4a41fc20d355..cea744d447274 100644 --- a/clients/client-shield/src/commands/AssociateDRTRoleCommand.ts +++ b/clients/client-shield/src/commands/AssociateDRTRoleCommand.ts @@ -40,7 +40,6 @@ export interface AssociateDRTRoleCommandOutput extends AssociateDRTRoleResponse, *

                                                                                                                                                                                                                                                                                                                                                    You can associate only one RoleArn with your subscription. If you submit an AssociateDRTRole request for an account that already has an associated role, the new RoleArn will replace the existing RoleArn.

                                                                                                                                                                                                                                                                                                                                                    *

                                                                                                                                                                                                                                                                                                                                                    Prior to making the AssociateDRTRole request, you must attach the AWSShieldDRTAccessPolicy managed policy to the role that you'll specify in the request. You can access this policy in the IAM console at AWSShieldDRTAccessPolicy. For more information see Adding and removing IAM identity permissions. The role must also trust the service principal * drt.shield.amazonaws.com. For more information, see IAM JSON policy elements: Principal.

                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                    The SRT will have access only to your WAF and Shield resources. By submitting this request, you authorize the SRT to inspect your WAF and Shield configuration and create and update WAF rules and web ACLs on your behalf. The SRT takes these actions only if explicitly authorized by you.

                                                                                                                                                                                                                                                                                                                                                    *

                                                                                                                                                                                                                                                                                                                                                    You must have the iam:PassRole permission to make an AssociateDRTRole request. For more information, see Granting a user permissions to pass a role to an Amazon Web Services service.

                                                                                                                                                                                                                                                                                                                                                    *

                                                                                                                                                                                                                                                                                                                                                    To use the services of the SRT and make an AssociateDRTRole request, you must be subscribed to the Business Support plan or the Enterprise Support plan.

                                                                                                                                                                                                                                                                                                                                                    diff --git a/clients/client-shield/src/commands/CreateProtectionGroupCommand.ts b/clients/client-shield/src/commands/CreateProtectionGroupCommand.ts index 18ea4f04ae5a5..d8a8ea54cfefa 100644 --- a/clients/client-shield/src/commands/CreateProtectionGroupCommand.ts +++ b/clients/client-shield/src/commands/CreateProtectionGroupCommand.ts @@ -45,9 +45,9 @@ export interface CreateProtectionGroupCommandOutput extends CreateProtectionGrou * const client = new ShieldClient(config); * const input = { // CreateProtectionGroupRequest * ProtectionGroupId: "STRING_VALUE", // required - * Aggregation: "STRING_VALUE", // required - * Pattern: "STRING_VALUE", // required - * ResourceType: "STRING_VALUE", + * Aggregation: "SUM" || "MEAN" || "MAX", // required + * Pattern: "ALL" || "ARBITRARY" || "BY_RESOURCE_TYPE", // required + * ResourceType: "CLOUDFRONT_DISTRIBUTION" || "ROUTE_53_HOSTED_ZONE" || "ELASTIC_IP_ALLOCATION" || "CLASSIC_LOAD_BALANCER" || "APPLICATION_LOAD_BALANCER" || "GLOBAL_ACCELERATOR", * Members: [ // ProtectionGroupMembers * "STRING_VALUE", * ], diff --git a/clients/client-shield/src/commands/DescribeAttackCommand.ts b/clients/client-shield/src/commands/DescribeAttackCommand.ts index 8c788b1942795..34dc1d2c97c3c 100644 --- a/clients/client-shield/src/commands/DescribeAttackCommand.ts +++ b/clients/client-shield/src/commands/DescribeAttackCommand.ts @@ -54,7 +54,7 @@ export interface DescribeAttackCommandOutput extends DescribeAttackResponse, __M * // ResourceArn: "STRING_VALUE", * // SubResources: [ // SubResourceSummaryList * // { // SubResourceSummary - * // Type: "STRING_VALUE", + * // Type: "IP" || "URL", * // Id: "STRING_VALUE", * // AttackVectors: [ // SummarizedAttackVectorList * // { // SummarizedAttackVector @@ -88,15 +88,15 @@ export interface DescribeAttackCommandOutput extends DescribeAttackResponse, __M * // AttackCounters: "", * // AttackProperties: [ // AttackProperties * // { // AttackProperty - * // AttackLayer: "STRING_VALUE", - * // AttackPropertyIdentifier: "STRING_VALUE", + * // AttackLayer: "NETWORK" || "APPLICATION", + * // AttackPropertyIdentifier: "DESTINATION_URL" || "REFERRER" || "SOURCE_ASN" || "SOURCE_COUNTRY" || "SOURCE_IP_ADDRESS" || "SOURCE_USER_AGENT" || "WORDPRESS_PINGBACK_REFLECTOR" || "WORDPRESS_PINGBACK_SOURCE", * // TopContributors: [ // TopContributors * // { // Contributor * // Name: "STRING_VALUE", * // Value: Number("long"), * // }, * // ], - * // Unit: "STRING_VALUE", + * // Unit: "BITS" || "BYTES" || "PACKETS" || "REQUESTS", * // Total: Number("long"), * // }, * // ], diff --git a/clients/client-shield/src/commands/DescribeProtectionCommand.ts b/clients/client-shield/src/commands/DescribeProtectionCommand.ts index c29d141da3f3f..052e592357bce 100644 --- a/clients/client-shield/src/commands/DescribeProtectionCommand.ts +++ b/clients/client-shield/src/commands/DescribeProtectionCommand.ts @@ -59,7 +59,7 @@ export interface DescribeProtectionCommandOutput extends DescribeProtectionRespo * // ], * // ProtectionArn: "STRING_VALUE", * // ApplicationLayerAutomaticResponseConfiguration: { // ApplicationLayerAutomaticResponseConfiguration - * // Status: "STRING_VALUE", // required + * // Status: "ENABLED" || "DISABLED", // required * // Action: { // ResponseAction * // Block: {}, * // Count: {}, diff --git a/clients/client-shield/src/commands/DescribeProtectionGroupCommand.ts b/clients/client-shield/src/commands/DescribeProtectionGroupCommand.ts index 57cfe650de508..4ea75e5a56902 100644 --- a/clients/client-shield/src/commands/DescribeProtectionGroupCommand.ts +++ b/clients/client-shield/src/commands/DescribeProtectionGroupCommand.ts @@ -51,9 +51,9 @@ export interface DescribeProtectionGroupCommandOutput extends DescribeProtection * // { // DescribeProtectionGroupResponse * // ProtectionGroup: { // ProtectionGroup * // ProtectionGroupId: "STRING_VALUE", // required - * // Aggregation: "STRING_VALUE", // required - * // Pattern: "STRING_VALUE", // required - * // ResourceType: "STRING_VALUE", + * // Aggregation: "SUM" || "MEAN" || "MAX", // required + * // Pattern: "ALL" || "ARBITRARY" || "BY_RESOURCE_TYPE", // required + * // ResourceType: "CLOUDFRONT_DISTRIBUTION" || "ROUTE_53_HOSTED_ZONE" || "ELASTIC_IP_ALLOCATION" || "CLASSIC_LOAD_BALANCER" || "APPLICATION_LOAD_BALANCER" || "GLOBAL_ACCELERATOR", * // Members: [ // ProtectionGroupMembers // required * // "STRING_VALUE", * // ], diff --git a/clients/client-shield/src/commands/DescribeSubscriptionCommand.ts b/clients/client-shield/src/commands/DescribeSubscriptionCommand.ts index a2c2595fe47f3..f0aaaeb7c3b57 100644 --- a/clients/client-shield/src/commands/DescribeSubscriptionCommand.ts +++ b/clients/client-shield/src/commands/DescribeSubscriptionCommand.ts @@ -51,14 +51,14 @@ export interface DescribeSubscriptionCommandOutput extends DescribeSubscriptionR * // StartTime: new Date("TIMESTAMP"), * // EndTime: new Date("TIMESTAMP"), * // TimeCommitmentInSeconds: Number("long"), - * // AutoRenew: "STRING_VALUE", + * // AutoRenew: "ENABLED" || "DISABLED", * // Limits: [ // Limits * // { // Limit * // Type: "STRING_VALUE", * // Max: Number("long"), * // }, * // ], - * // ProactiveEngagementStatus: "STRING_VALUE", + * // ProactiveEngagementStatus: "ENABLED" || "DISABLED" || "PENDING", * // SubscriptionLimits: { // SubscriptionLimits * // ProtectionLimits: { // ProtectionLimits * // ProtectedResourceTypeLimits: [ // required diff --git a/clients/client-shield/src/commands/GetSubscriptionStateCommand.ts b/clients/client-shield/src/commands/GetSubscriptionStateCommand.ts index 0ee6d3f58da17..2707f873938e2 100644 --- a/clients/client-shield/src/commands/GetSubscriptionStateCommand.ts +++ b/clients/client-shield/src/commands/GetSubscriptionStateCommand.ts @@ -47,7 +47,7 @@ export interface GetSubscriptionStateCommandOutput extends GetSubscriptionStateR * const command = new GetSubscriptionStateCommand(input); * const response = await client.send(command); * // { // GetSubscriptionStateResponse - * // SubscriptionState: "STRING_VALUE", // required + * // SubscriptionState: "ACTIVE" || "INACTIVE", // required * // }; * * ``` diff --git a/clients/client-shield/src/commands/ListProtectionGroupsCommand.ts b/clients/client-shield/src/commands/ListProtectionGroupsCommand.ts index 26e79f927889c..5d87eb08a102e 100644 --- a/clients/client-shield/src/commands/ListProtectionGroupsCommand.ts +++ b/clients/client-shield/src/commands/ListProtectionGroupsCommand.ts @@ -52,13 +52,13 @@ export interface ListProtectionGroupsCommandOutput extends ListProtectionGroupsR * "STRING_VALUE", * ], * Patterns: [ // ProtectionGroupPatternFilters - * "STRING_VALUE", + * "ALL" || "ARBITRARY" || "BY_RESOURCE_TYPE", * ], * ResourceTypes: [ // ProtectedResourceTypeFilters - * "STRING_VALUE", + * "CLOUDFRONT_DISTRIBUTION" || "ROUTE_53_HOSTED_ZONE" || "ELASTIC_IP_ALLOCATION" || "CLASSIC_LOAD_BALANCER" || "APPLICATION_LOAD_BALANCER" || "GLOBAL_ACCELERATOR", * ], * Aggregations: [ // ProtectionGroupAggregationFilters - * "STRING_VALUE", + * "SUM" || "MEAN" || "MAX", * ], * }, * }; @@ -68,9 +68,9 @@ export interface ListProtectionGroupsCommandOutput extends ListProtectionGroupsR * // ProtectionGroups: [ // ProtectionGroups // required * // { // ProtectionGroup * // ProtectionGroupId: "STRING_VALUE", // required - * // Aggregation: "STRING_VALUE", // required - * // Pattern: "STRING_VALUE", // required - * // ResourceType: "STRING_VALUE", + * // Aggregation: "SUM" || "MEAN" || "MAX", // required + * // Pattern: "ALL" || "ARBITRARY" || "BY_RESOURCE_TYPE", // required + * // ResourceType: "CLOUDFRONT_DISTRIBUTION" || "ROUTE_53_HOSTED_ZONE" || "ELASTIC_IP_ALLOCATION" || "CLASSIC_LOAD_BALANCER" || "APPLICATION_LOAD_BALANCER" || "GLOBAL_ACCELERATOR", * // Members: [ // ProtectionGroupMembers // required * // "STRING_VALUE", * // ], diff --git a/clients/client-shield/src/commands/ListProtectionsCommand.ts b/clients/client-shield/src/commands/ListProtectionsCommand.ts index 5dc72aa9833d4..d83661e76651d 100644 --- a/clients/client-shield/src/commands/ListProtectionsCommand.ts +++ b/clients/client-shield/src/commands/ListProtectionsCommand.ts @@ -55,7 +55,7 @@ export interface ListProtectionsCommandOutput extends ListProtectionsResponse, _ * "STRING_VALUE", * ], * ResourceTypes: [ // ProtectedResourceTypeFilters - * "STRING_VALUE", + * "CLOUDFRONT_DISTRIBUTION" || "ROUTE_53_HOSTED_ZONE" || "ELASTIC_IP_ALLOCATION" || "CLASSIC_LOAD_BALANCER" || "APPLICATION_LOAD_BALANCER" || "GLOBAL_ACCELERATOR", * ], * }, * }; @@ -72,7 +72,7 @@ export interface ListProtectionsCommandOutput extends ListProtectionsResponse, _ * // ], * // ProtectionArn: "STRING_VALUE", * // ApplicationLayerAutomaticResponseConfiguration: { // ApplicationLayerAutomaticResponseConfiguration - * // Status: "STRING_VALUE", // required + * // Status: "ENABLED" || "DISABLED", // required * // Action: { // ResponseAction * // Block: {}, * // Count: {}, diff --git a/clients/client-shield/src/commands/UpdateProtectionGroupCommand.ts b/clients/client-shield/src/commands/UpdateProtectionGroupCommand.ts index f55e4ec956a82..db0086978a54e 100644 --- a/clients/client-shield/src/commands/UpdateProtectionGroupCommand.ts +++ b/clients/client-shield/src/commands/UpdateProtectionGroupCommand.ts @@ -45,9 +45,9 @@ export interface UpdateProtectionGroupCommandOutput extends UpdateProtectionGrou * const client = new ShieldClient(config); * const input = { // UpdateProtectionGroupRequest * ProtectionGroupId: "STRING_VALUE", // required - * Aggregation: "STRING_VALUE", // required - * Pattern: "STRING_VALUE", // required - * ResourceType: "STRING_VALUE", + * Aggregation: "SUM" || "MEAN" || "MAX", // required + * Pattern: "ALL" || "ARBITRARY" || "BY_RESOURCE_TYPE", // required + * ResourceType: "CLOUDFRONT_DISTRIBUTION" || "ROUTE_53_HOSTED_ZONE" || "ELASTIC_IP_ALLOCATION" || "CLASSIC_LOAD_BALANCER" || "APPLICATION_LOAD_BALANCER" || "GLOBAL_ACCELERATOR", * Members: [ // ProtectionGroupMembers * "STRING_VALUE", * ], diff --git a/clients/client-shield/src/commands/UpdateSubscriptionCommand.ts b/clients/client-shield/src/commands/UpdateSubscriptionCommand.ts index 563d6bb478dba..b789bff8ed9a0 100644 --- a/clients/client-shield/src/commands/UpdateSubscriptionCommand.ts +++ b/clients/client-shield/src/commands/UpdateSubscriptionCommand.ts @@ -48,7 +48,7 @@ export interface UpdateSubscriptionCommandOutput extends UpdateSubscriptionRespo * // const { ShieldClient, UpdateSubscriptionCommand } = require("@aws-sdk/client-shield"); // CommonJS import * const client = new ShieldClient(config); * const input = { // UpdateSubscriptionRequest - * AutoRenew: "STRING_VALUE", + * AutoRenew: "ENABLED" || "DISABLED", * }; * const command = new UpdateSubscriptionCommand(input); * const response = await client.send(command); diff --git a/clients/client-shield/src/endpoint/ruleset.ts b/clients/client-shield/src/endpoint/ruleset.ts index a7cb1dc0b5f88..0f594b962c72b 100644 --- a/clients/client-shield/src/endpoint/ruleset.ts +++ b/clients/client-shield/src/endpoint/ruleset.ts @@ -6,36 +6,31 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/shield.json */ -const A="required", -B="type", -C="fn", -D="argv", -E="ref"; -const a="PartitionResult", -b="tree", -c="error", -d="endpoint", -e="stringEquals", -f="getAttr", -g="https://shield-fips.us-east-1.amazonaws.com", -h={[A]:false,[B]:"String"}, -i={[A]:true,"default":false,[B]:"Boolean"}, -j={[E]:"Region"}, -k={[E]:"Endpoint"}, -l={}, -m={[E]:a}, -n={"authSchemes":[{"name":"sigv4","signingName":"shield","signingRegion":"us-east-1"}]}, -o={[c]:"FIPS and DualStack are enabled, but this partition does not support one or both",[B]:c}, -p={[c]:"FIPS is enabled but this partition does not support FIPS",[B]:c}, -q={[c]:"DualStack is enabled but this partition does not support DualStack",[B]:c}, -r={"url":"https://shield.us-east-1.amazonaws.com","properties":n,"headers":{}}, -s=[k], -t=[{[C]:"booleanEquals",[D]:[{[E]:"UseFIPS"},true]}], -u=[{[C]:"booleanEquals",[D]:[{[E]:"UseDualStack"},true]}], -v=[{[C]:"booleanEquals",[D]:[{[E]:"UseFIPS"},true]},{[C]:"booleanEquals",[D]:[{[E]:"UseDualStack"},true]}], -w=[{[C]:"booleanEquals",[D]:[true,{[C]:f,[D]:[m,"supportsFIPS"]}]},{[C]:"booleanEquals",[D]:[true,{[C]:f,[D]:[m,"supportsDualStack"]}]}], -x=[{[C]:"booleanEquals",[D]:[true,{[C]:f,[D]:[m,"supportsFIPS"]}]}], -y=[{[C]:"booleanEquals",[D]:[true,{[C]:f,[D]:[m,"supportsDualStack"]}]}], -z=[{[C]:e,[D]:[j,"aws-global"]}]; -const _data={version:"1.0",parameters:{Region:h,UseDualStack:i,UseFIPS:i,Endpoint:h},rules:[{conditions:[{[C]:"aws.partition",[D]:[j],assign:a}],[B]:b,rules:[{conditions:[{[C]:"isSet",[D]:s},{[C]:"parseURL",[D]:s,assign:"url"}],[B]:b,rules:[{conditions:t,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[B]:c},{[B]:b,rules:[{conditions:u,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[B]:c},{endpoint:{url:k,properties:l,headers:l},[B]:d}]}]},{conditions:[{[C]:e,[D]:[{[C]:f,[D]:[m,"name"]},"aws"]}],[B]:b,rules:[{conditions:v,[B]:b,rules:[{conditions:w,[B]:b,rules:[{endpoint:{url:"https://shield-fips.{Region}.api.aws",properties:n,headers:l},[B]:d}]},o]},{conditions:t,[B]:b,rules:[{conditions:x,[B]:b,rules:[{endpoint:{url:g,properties:n,headers:l},[B]:d}]},p]},{conditions:u,[B]:b,rules:[{conditions:y,[B]:b,rules:[{endpoint:{url:"https://shield.{Region}.api.aws",properties:n,headers:l},[B]:d}]},q]},{endpoint:r,[B]:d}]},{conditions:v,[B]:b,rules:[{conditions:w,[B]:b,rules:[{endpoint:{url:"https://shield-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},[B]:d}]},o]},{conditions:t,[B]:b,rules:[{conditions:x,[B]:b,rules:[{[B]:b,rules:[{conditions:z,endpoint:{url:g,properties:l,headers:l},[B]:d},{endpoint:{url:"https://shield-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},[B]:d}]}]},p]},{conditions:u,[B]:b,rules:[{conditions:y,[B]:b,rules:[{endpoint:{url:"https://shield.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},[B]:d}]},q]},{[B]:b,rules:[{conditions:z,endpoint:r,[B]:d},{endpoint:{url:"https://shield.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},[B]:d}]}]}]}; +const w="required", +x="fn", +y="argv", +z="ref"; +const a=false, +b="isSet", +c="tree", +d="booleanEquals", +e="error", +f="endpoint", +g="PartitionResult", +h={[w]:false,"type":"String"}, +i={[w]:true,"default":false,"type":"Boolean"}, +j={[z]:"Endpoint"}, +k={[x]:d,[y]:[{[z]:"UseFIPS"},true]}, +l={[z]:"UseFIPS"}, +m={[x]:d,[y]:[{[z]:"UseDualStack"},true]}, +n={}, +o={[x]:"stringEquals",[y]:[{[x]:"getAttr",[y]:[{[z]:g},"name"]},"aws"]}, +p={[x]:d,[y]:[{[z]:"UseDualStack"},false]}, +q={"authSchemes":[{"name":"sigv4","signingName":"shield","signingRegion":"us-east-1"}]}, +r={[x]:d,[y]:[true,{[x]:"getAttr",[y]:[{[z]:g},"supportsFIPS"]}]}, +s={[x]:d,[y]:[true,{[x]:"getAttr",[y]:[{[z]:g},"supportsDualStack"]}]}, +t=[k], +u=[m], +v=[{[z]:"Region"}]; +const _data={version:"1.0",parameters:{Region:h,UseDualStack:i,UseFIPS:i,Endpoint:h},rules:[{conditions:[{[x]:b,[y]:[j]}],type:c,rules:[{conditions:t,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:e},{conditions:u,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:e},{endpoint:{url:j,properties:n,headers:n},type:f}]},{conditions:[{[x]:b,[y]:v}],type:c,rules:[{conditions:[{[x]:"aws.partition",[y]:v,assign:g}],type:c,rules:[{conditions:[o,{[x]:d,[y]:[l,a]},p],endpoint:{url:"https://shield.us-east-1.amazonaws.com",properties:q,headers:n},type:f},{conditions:[o,k,p],endpoint:{url:"https://shield-fips.us-east-1.amazonaws.com",properties:q,headers:n},type:f},{conditions:[k,m],type:c,rules:[{conditions:[r,s],type:c,rules:[{endpoint:{url:"https://shield-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:f}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:e}]},{conditions:t,type:c,rules:[{conditions:[r],type:c,rules:[{endpoint:{url:"https://shield-fips.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:f}]},{error:"FIPS is enabled but this partition does not support FIPS",type:e}]},{conditions:u,type:c,rules:[{conditions:[s],type:c,rules:[{endpoint:{url:"https://shield.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:f}]},{error:"DualStack is enabled but this partition does not support DualStack",type:e}]},{endpoint:{url:"https://shield.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:f}]}]},{error:"Invalid Configuration: Missing Region",type:e}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-shield/src/models/models_0.ts b/clients/client-shield/src/models/models_0.ts index c27e31467fedb..fc4e75acbf8ca 100644 --- a/clients/client-shield/src/models/models_0.ts +++ b/clients/client-shield/src/models/models_0.ts @@ -46,7 +46,7 @@ export class AccessDeniedForDependencyException extends __BaseException { /** * @public *

                                                                                                                                                                                                                                                                                                                                                    Specifies that Shield Advanced should configure its WAF rules with the WAF Block action.

                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                    This is only used in the context of the ResponseAction setting.

                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                    This is only used in the context of the ResponseAction setting.

                                                                                                                                                                                                                                                                                                                                                    *

                                                                                                                                                                                                                                                                                                                                                    JSON specification: "Block": \{\} *

                                                                                                                                                                                                                                                                                                                                                    */ @@ -55,7 +55,7 @@ export interface BlockAction {} /** * @public *

                                                                                                                                                                                                                                                                                                                                                    Specifies that Shield Advanced should configure its WAF rules with the WAF Count action.

                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                    This is only used in the context of the ResponseAction setting.

                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                    This is only used in the context of the ResponseAction setting.

                                                                                                                                                                                                                                                                                                                                                    *

                                                                                                                                                                                                                                                                                                                                                    JSON specification: "Count": \{\} *

                                                                                                                                                                                                                                                                                                                                                    */ @@ -351,7 +351,7 @@ export interface AssociateDRTRoleRequest { /** * @public *

                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the role the SRT will use to access your Amazon Web Services account.

                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                    Prior to making the AssociateDRTRole request, you must attach the AWSShieldDRTAccessPolicy managed policy to this role. For more information see Attaching and Detaching IAM Policies.

                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                    Prior to making the AssociateDRTRole request, you must attach the AWSShieldDRTAccessPolicy managed policy to this role. For more information see Attaching and Detaching IAM Policies.

                                                                                                                                                                                                                                                                                                                                                    */ RoleArn: string | undefined; } @@ -795,7 +795,7 @@ export interface AttackVectorDescription { /** * @public *

                                                                                                                                                                                                                                                                                                                                                    The attack type. Valid values:

                                                                                                                                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                      • *

                                                                                                                                                                                                                                                                                                                                                        UDP_TRAFFIC

                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                      • @@ -1792,9 +1792,9 @@ export interface ListAttacksRequest { *

                                                                                                                                                                                                                                                                                                                                                        When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, * Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and * providing the token that was returned by the prior call in your request.

                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                        You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults + *

                                                                                                                                                                                                                                                                                                                                                        You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults * setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available.

                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                        Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                        Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

                                                                                                                                                                                                                                                                                                                                                        *

                                                                                                                                                                                                                                                                                                                                                        On your first call to a list operation, leave this setting empty.

                                                                                                                                                                                                                                                                                                                                                        */ NextToken?: string; @@ -1824,9 +1824,9 @@ export interface ListAttacksResponse { *

                                                                                                                                                                                                                                                                                                                                                        When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, * Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and * providing the token that was returned by the prior call in your request.

                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                        You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults + *

                                                                                                                                                                                                                                                                                                                                                        You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults * setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available.

                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                        Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                        Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

                                                                                                                                                                                                                                                                                                                                                        */ NextToken?: string; } @@ -1890,9 +1890,9 @@ export interface ListProtectionGroupsRequest { *

                                                                                                                                                                                                                                                                                                                                                        When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, * Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and * providing the token that was returned by the prior call in your request.

                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                        You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults + *

                                                                                                                                                                                                                                                                                                                                                        You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults * setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available.

                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                        Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                        Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

                                                                                                                                                                                                                                                                                                                                                        *

                                                                                                                                                                                                                                                                                                                                                        On your first call to a list operation, leave this setting empty.

                                                                                                                                                                                                                                                                                                                                                        */ NextToken?: string; @@ -1928,9 +1928,9 @@ export interface ListProtectionGroupsResponse { *

                                                                                                                                                                                                                                                                                                                                                        When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, * Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and * providing the token that was returned by the prior call in your request.

                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                        You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults + *

                                                                                                                                                                                                                                                                                                                                                        You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults * setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available.

                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                        Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                        Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

                                                                                                                                                                                                                                                                                                                                                        */ NextToken?: string; } @@ -1968,9 +1968,9 @@ export interface ListProtectionsRequest { *

                                                                                                                                                                                                                                                                                                                                                        When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, * Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and * providing the token that was returned by the prior call in your request.

                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                        You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults + *

                                                                                                                                                                                                                                                                                                                                                        You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults * setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available.

                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                        Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                        Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

                                                                                                                                                                                                                                                                                                                                                        *

                                                                                                                                                                                                                                                                                                                                                        On your first call to a list operation, leave this setting empty.

                                                                                                                                                                                                                                                                                                                                                        */ NextToken?: string; @@ -2006,9 +2006,9 @@ export interface ListProtectionsResponse { *

                                                                                                                                                                                                                                                                                                                                                        When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, * Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and * providing the token that was returned by the prior call in your request.

                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                        You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults + *

                                                                                                                                                                                                                                                                                                                                                        You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults * setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available.

                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                        Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                        Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

                                                                                                                                                                                                                                                                                                                                                        */ NextToken?: string; } @@ -2028,9 +2028,9 @@ export interface ListResourcesInProtectionGroupRequest { *

                                                                                                                                                                                                                                                                                                                                                        When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, * Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and * providing the token that was returned by the prior call in your request.

                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                        You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults + *

                                                                                                                                                                                                                                                                                                                                                        You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults * setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available.

                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                        Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                        Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

                                                                                                                                                                                                                                                                                                                                                        *

                                                                                                                                                                                                                                                                                                                                                        On your first call to a list operation, leave this setting empty.

                                                                                                                                                                                                                                                                                                                                                        */ NextToken?: string; @@ -2060,9 +2060,9 @@ export interface ListResourcesInProtectionGroupResponse { *

                                                                                                                                                                                                                                                                                                                                                        When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, * Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and * providing the token that was returned by the prior call in your request.

                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                        You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults + *

                                                                                                                                                                                                                                                                                                                                                        You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults * setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available.

                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                        Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                        Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.

                                                                                                                                                                                                                                                                                                                                                        */ NextToken?: string; } diff --git a/clients/client-signer/src/endpoint/ruleset.ts b/clients/client-signer/src/endpoint/ruleset.ts index d56b5b95012e4..4cc4fd2aefe48 100644 --- a/clients/client-signer/src/endpoint/ruleset.ts +++ b/clients/client-signer/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://signer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://signer-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://signer.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://signer.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://signer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://signer-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://signer.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://signer.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-snow-device-management/src/endpoint/ruleset.ts b/clients/client-snow-device-management/src/endpoint/ruleset.ts index f4154232a56f2..9c3f1f3ed40d1 100644 --- a/clients/client-snow-device-management/src/endpoint/ruleset.ts +++ b/clients/client-snow-device-management/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/snow-device-management.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://snow-device-management-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://snow-device-management-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://snow-device-management.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://snow-device-management.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://snow-device-management-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://snow-device-management-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://snow-device-management.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://snow-device-management.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-snowball/src/endpoint/ruleset.ts b/clients/client-snowball/src/endpoint/ruleset.ts index 212dd3dacbd11..97e605b16722b 100644 --- a/clients/client-snowball/src/endpoint/ruleset.ts +++ b/clients/client-snowball/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://snowball-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://snowball-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://snowball.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://snowball.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://snowball-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://snowball-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://snowball.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://snowball.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-sns/src/endpoint/ruleset.ts b/clients/client-sns/src/endpoint/ruleset.ts index d22985aab615b..6c559cd387bcc 100644 --- a/clients/client-sns/src/endpoint/ruleset.ts +++ b/clients/client-sns/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:"getAttr",[u]:[{[v]:e},"supportsDualStack" p=[j], q=[k], r=[m]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[n,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://sns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[n],type:b,rules:[{type:b,rules:[{conditions:[{[t]:f,[u]:[m,"us-gov-east-1"]}],endpoint:{url:"https://sns.us-gov-east-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[t]:f,[u]:[m,"us-gov-west-1"]}],endpoint:{url:"https://sns.us-gov-west-1.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://sns-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://sns.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://sns.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[n,o],type:b,rules:[{endpoint:{url:"https://sns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[n],type:b,rules:[{conditions:[{[t]:f,[u]:[m,"us-gov-east-1"]}],endpoint:{url:"https://sns.us-gov-east-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[t]:f,[u]:[m,"us-gov-west-1"]}],endpoint:{url:"https://sns.us-gov-west-1.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://sns-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://sns.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://sns.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-sqs/src/endpoint/ruleset.ts b/clients/client-sqs/src/endpoint/ruleset.ts index 39c29832d2cd0..0061727002b36 100644 --- a/clients/client-sqs/src/endpoint/ruleset.ts +++ b/clients/client-sqs/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, p=[j], q=[k], r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://sqs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://sqs.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://sqs-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://sqs.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://sqs.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://sqs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://sqs.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://sqs-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://sqs.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://sqs.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-ssm-contacts/src/endpoint/ruleset.ts b/clients/client-ssm-contacts/src/endpoint/ruleset.ts index bb88aca2933e4..25fdffef2044a 100644 --- a/clients/client-ssm-contacts/src/endpoint/ruleset.ts +++ b/clients/client-ssm-contacts/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ssm-contacts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ssm-contacts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ssm-contacts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://ssm-contacts.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://ssm-contacts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://ssm-contacts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://ssm-contacts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://ssm-contacts.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-ssm-incidents/src/endpoint/ruleset.ts b/clients/client-ssm-incidents/src/endpoint/ruleset.ts index 5f3b4e691fdea..b5493880cd1a4 100644 --- a/clients/client-ssm-incidents/src/endpoint/ruleset.ts +++ b/clients/client-ssm-incidents/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ssm-incidents-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ssm-incidents-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ssm-incidents.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://ssm-incidents.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://ssm-incidents-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://ssm-incidents-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://ssm-incidents.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://ssm-incidents.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-ssm/src/endpoint/ruleset.ts b/clients/client-ssm/src/endpoint/ruleset.ts index d99238f00615e..52c492a8daedd 100644 --- a/clients/client-ssm/src/endpoint/ruleset.ts +++ b/clients/client-ssm/src/endpoint/ruleset.ts @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, p=[j], q=[k], r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ssm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://ssm.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://ssm-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ssm.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://ssm.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://ssm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://ssm.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://ssm-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://ssm.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://ssm.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-sso-admin/src/endpoint/EndpointParameters.ts b/clients/client-sso-admin/src/endpoint/EndpointParameters.ts index 8a47ad66b8d72..7b8e1c1d2952c 100644 --- a/clients/client-sso-admin/src/endpoint/EndpointParameters.ts +++ b/clients/client-sso-admin/src/endpoint/EndpointParameters.ts @@ -27,7 +27,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-sso-admin/src/endpoint/ruleset.ts b/clients/client-sso-admin/src/endpoint/ruleset.ts index e57a24427fbe1..33105e09cbc7e 100644 --- a/clients/client-sso-admin/src/endpoint/ruleset.ts +++ b/clients/client-sso-admin/src/endpoint/ruleset.ts @@ -6,28 +6,27 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/sso-admin.json */ -const u="fn", -v="argv", -w="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h="getAttr", -i="stringEquals", -j={"required":true,"default":false,"type":"Boolean"}, -k={[w]:"Region"}, -l={[w]:"Endpoint"}, -m={[u]:"booleanEquals",[v]:[{[w]:"UseFIPS"},true]}, -n={[u]:"booleanEquals",[v]:[{[w]:"UseDualStack"},true]}, -o={}, -p={[u]:"booleanEquals",[v]:[true,{[u]:h,[v]:[{[w]:d},"supportsFIPS"]}]}, -q={[w]:d}, -r={[u]:"booleanEquals",[v]:[true,{[u]:h,[v]:[q,"supportsDualStack"]}]}, -s=[m], -t=[n]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:j,UseFIPS:j,Endpoint:{required:b,type:c}},rules:[{conditions:[{[u]:"aws.partition",[v]:[k],assign:d}],type:e,rules:[{conditions:[{[u]:"isSet",[v]:[l]}],type:e,rules:[{conditions:s,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:t,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:l,properties:o,headers:o},type:g}]}]},{conditions:[m,n],type:e,rules:[{conditions:[p,r],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:o,headers:o},type:g}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:s,type:e,rules:[{conditions:[p],type:e,rules:[{type:e,rules:[{conditions:[{[u]:i,[v]:["aws-us-gov",{[u]:h,[v]:[q,"name"]}]}],endpoint:{url:"https://sso.{Region}.amazonaws.com",properties:o,headers:o},type:g},{endpoint:{url:"https://sso-fips.{Region}.{PartitionResult#dnsSuffix}",properties:o,headers:o},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:t,type:e,rules:[{conditions:[r],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://sso.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:o,headers:o},type:g}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{type:e,rules:[{conditions:[{[u]:i,[v]:[k,"us-gov-east-1"]}],endpoint:{url:"https://sso.us-gov-east-1.amazonaws.com",properties:o,headers:o},type:g},{conditions:[{[u]:i,[v]:[k,"us-gov-west-1"]}],endpoint:{url:"https://sso.us-gov-west-1.amazonaws.com",properties:o,headers:o},type:g},{endpoint:{url:"https://sso.{Region}.{PartitionResult#dnsSuffix}",properties:o,headers:o},type:g}]}]}]}; +const s="required", +t="fn", +u="argv", +v="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f="getAttr", +g={[s]:false,"type":"String"}, +h={[s]:true,"default":false,"type":"Boolean"}, +i={[v]:"Endpoint"}, +j={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, +k={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, +l={}, +m={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[{[v]:e},"supportsFIPS"]}]}, +n={[v]:e}, +o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, +p=[j], +q=[k], +r=[{[v]:"Region"}]; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://sso.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://sso-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://sso.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://sso.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-sso-oidc/README.md b/clients/client-sso-oidc/README.md index f5d255860f92f..9821b73b8739b 100644 --- a/clients/client-sso-oidc/README.md +++ b/clients/client-sso-oidc/README.md @@ -43,7 +43,6 @@ endpoints. For more information, see What is IAM Identity Center? in the IAM Identity Center User Guide.

                                                                                                                                                                                                                                                                                                                                                        diff --git a/clients/client-sso-oidc/src/SSOOIDC.ts b/clients/client-sso-oidc/src/SSOOIDC.ts index e2a6e0fce5f37..ec6d025915e48 100644 --- a/clients/client-sso-oidc/src/SSOOIDC.ts +++ b/clients/client-sso-oidc/src/SSOOIDC.ts @@ -104,7 +104,6 @@ export interface SSOOIDC { * Guide.

                                                                                                                                                                                                                                                                                                                                                        * *
                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                      For general information about IAM Identity Center, see What is * IAM Identity Center? in the IAM Identity Center User Guide.

                                                                                                                                                                                                                                                                                                                                                      */ diff --git a/clients/client-sso-oidc/src/SSOOIDCClient.ts b/clients/client-sso-oidc/src/SSOOIDCClient.ts index 240f56e1d8358..225d8638bce8f 100644 --- a/clients/client-sso-oidc/src/SSOOIDCClient.ts +++ b/clients/client-sso-oidc/src/SSOOIDCClient.ts @@ -275,7 +275,6 @@ export interface SSOOIDCClientResolvedConfig extends SSOOIDCClientResolvedConfig * Guide.

                                                                                                                                                                                                                                                                                                                                                      * *
                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                    For general information about IAM Identity Center, see What is * IAM Identity Center? in the IAM Identity Center User Guide.

                                                                                                                                                                                                                                                                                                                                                    */ diff --git a/clients/client-sso-oidc/src/endpoint/ruleset.ts b/clients/client-sso-oidc/src/endpoint/ruleset.ts index 6a7e4a8755edc..1b93329135f0d 100644 --- a/clients/client-sso-oidc/src/endpoint/ruleset.ts +++ b/clients/client-sso-oidc/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/sso-oidc.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-sso-oidc/src/index.ts b/clients/client-sso-oidc/src/index.ts index 903620480b81d..35e1ecc209235 100644 --- a/clients/client-sso-oidc/src/index.ts +++ b/clients/client-sso-oidc/src/index.ts @@ -38,7 +38,6 @@ * Guide.

                                                                                                                                                                                                                                                                                                                                                    * *
                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  For general information about IAM Identity Center, see What is * IAM Identity Center? in the IAM Identity Center User Guide.

                                                                                                                                                                                                                                                                                                                                                  * diff --git a/clients/client-sso-oidc/src/models/models_0.ts b/clients/client-sso-oidc/src/models/models_0.ts index 7598b0ca13591..c88f7184fe819 100644 --- a/clients/client-sso-oidc/src/models/models_0.ts +++ b/clients/client-sso-oidc/src/models/models_0.ts @@ -74,12 +74,10 @@ export interface CreateTokenRequest { * @public *

                                                                                                                                                                                                                                                                                                                                                  Supports grant types for the authorization code, refresh token, and device code request. * For device code requests, specify the following value:

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  * urn:ietf:params:oauth:grant-type:device_code * *

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  For information about how to obtain the device code, see the StartDeviceAuthorization topic.

                                                                                                                                                                                                                                                                                                                                                  */ grantType: string | undefined; diff --git a/clients/client-sso/README.md b/clients/client-sso/README.md index 66b1c7bb94380..8a37787655eba 100644 --- a/clients/client-sso/README.md +++ b/clients/client-sso/README.md @@ -9,16 +9,13 @@ AWS SDK for JavaScript SSO Client for Node.js, Browser and React Native.

                                                                                                                                                                                                                                                                                                                                                  AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles assigned to them and get federated into the application.

                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                  Although AWS Single Sign-On was renamed, the sso and identitystore API namespaces will continue to retain their original name for backward compatibility purposes. For more information, see IAM Identity Center rename.

                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                  This reference guide describes the IAM Identity Center Portal operations that you can call programatically and includes detailed information on data types and errors.

                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                  AWS provides SDKs that consist of libraries and sample code for various programming languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a diff --git a/clients/client-sso/src/SSO.ts b/clients/client-sso/src/SSO.ts index 119c2167df54f..ce10b3801b27c 100644 --- a/clients/client-sso/src/SSO.ts +++ b/clients/client-sso/src/SSO.ts @@ -90,16 +90,13 @@ export interface SSO { *

                                                                                                                                                                                                                                                                                                                                                  AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to * IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles * assigned to them and get federated into the application.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  Although AWS Single Sign-On was renamed, the sso and * identitystore API namespaces will continue to retain their original name for * backward compatibility purposes. For more information, see IAM Identity Center rename.

                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  This reference guide describes the IAM Identity Center Portal operations that you can call * programatically and includes detailed information on data types and errors.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  AWS provides SDKs that consist of libraries and sample code for various programming * languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a diff --git a/clients/client-sso/src/SSOClient.ts b/clients/client-sso/src/SSOClient.ts index add4b6fc399f6..e100c65fb07eb 100644 --- a/clients/client-sso/src/SSOClient.ts +++ b/clients/client-sso/src/SSOClient.ts @@ -241,16 +241,13 @@ export interface SSOClientResolvedConfig extends SSOClientResolvedConfigType {} *

                                                                                                                                                                                                                                                                                                                                                  AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to * IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles * assigned to them and get federated into the application.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  Although AWS Single Sign-On was renamed, the sso and * identitystore API namespaces will continue to retain their original name for * backward compatibility purposes. For more information, see IAM Identity Center rename.

                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  This reference guide describes the IAM Identity Center Portal operations that you can call * programatically and includes detailed information on data types and errors.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  AWS provides SDKs that consist of libraries and sample code for various programming * languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a diff --git a/clients/client-sso/src/commands/LogoutCommand.ts b/clients/client-sso/src/commands/LogoutCommand.ts index 6b1ecb8f2106c..1c557f345d225 100644 --- a/clients/client-sso/src/commands/LogoutCommand.ts +++ b/clients/client-sso/src/commands/LogoutCommand.ts @@ -39,13 +39,11 @@ export interface LogoutCommandOutput extends __MetadataBearer {} *

                                                                                                                                                                                                                                                                                                                                                  Removes the locally stored SSO tokens from the client-side cache and sends an API call to * the IAM Identity Center service to invalidate the corresponding server-side IAM Identity Center sign in * session.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  If a user uses IAM Identity Center to access the AWS CLI, the user’s IAM Identity Center sign in session is * used to obtain an IAM session, as specified in the corresponding IAM Identity Center permission set. * More specifically, IAM Identity Center assumes an IAM role in the target account on behalf of the user, * and the corresponding temporary AWS credentials are returned to the client.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  After user logout, any existing IAM role sessions that were created by using IAM Identity Center * permission sets continue based on the duration configured in the permission set. * For more information, see User diff --git a/clients/client-sso/src/endpoint/ruleset.ts b/clients/client-sso/src/endpoint/ruleset.ts index d0abf2f27ee41..91d0e6695cd27 100644 --- a/clients/client-sso/src/endpoint/ruleset.ts +++ b/clients/client-sso/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/sso.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-sso/src/index.ts b/clients/client-sso/src/index.ts index 8a75b52b99e4c..9cb218404f84a 100644 --- a/clients/client-sso/src/index.ts +++ b/clients/client-sso/src/index.ts @@ -4,16 +4,13 @@ *

                                                                                                                                                                                                                                                                                                                                                  AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to * IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles * assigned to them and get federated into the application.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  Although AWS Single Sign-On was renamed, the sso and * identitystore API namespaces will continue to retain their original name for * backward compatibility purposes. For more information, see IAM Identity Center rename.

                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  This reference guide describes the IAM Identity Center Portal operations that you can call * programatically and includes detailed information on data types and errors.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  AWS provides SDKs that consist of libraries and sample code for various programming * languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a diff --git a/clients/client-storage-gateway/README.md b/clients/client-storage-gateway/README.md index 64c89e2e249f6..9372ff0d84ecc 100644 --- a/clients/client-storage-gateway/README.md +++ b/clients/client-storage-gateway/README.md @@ -12,10 +12,8 @@ AWS SDK for JavaScript StorageGateway Client for Node.js, Browser and React Nati with cloud-based storage to provide seamless and secure integration between an organization's on-premises IT environment and the Amazon Web Services storage infrastructure. The service enables you to securely upload data to the Amazon Web Services Cloud for cost effective backup and rapid disaster recovery.

                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                  Use the following links to get started using the Storage Gateway Service API Reference:

                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                  • @@ -43,7 +41,6 @@ endpoints and quotas: Provides a list of each Amazon Web Services Region and the endpoints available for use with Storage Gateway.

                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                  Storage Gateway resource IDs are in uppercase. When you use these resource IDs with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must change @@ -52,7 +49,6 @@ Gateway the ID for a volume might be vol-AA22BB012345DAF670. When y this ID with the EC2 API, you must change it to vol-aa22bb012345daf670. Otherwise, the EC2 API might not behave as expected.

                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                  IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway volumes are changing to a longer format. Starting in December 2016, all new volumes and @@ -60,16 +56,12 @@ snapshots will be created with a 17-character string. Starting in April 2016, yo be able to use these longer IDs so you can test your systems with the new format. For more information, see Longer EC2 and EBS resource IDs.

                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                  For example, a volume Amazon Resource Name (ARN) with the longer volume ID format looks like the following:

                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                  arn:aws:storagegateway:us-west-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABBCCDDEEFFG.

                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                  A snapshot ID with the longer ID format looks like the following: snap-78e226633445566ee.

                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                  For more information, see Announcement: Heads-up – Longer Storage Gateway volume and snapshot IDs coming in 2016.

                                                                                                                                                                                                                                                                                                                                                  diff --git a/clients/client-storage-gateway/src/StorageGateway.ts b/clients/client-storage-gateway/src/StorageGateway.ts index 2a848bff409f9..e46ce2944ae4c 100644 --- a/clients/client-storage-gateway/src/StorageGateway.ts +++ b/clients/client-storage-gateway/src/StorageGateway.ts @@ -1913,15 +1913,12 @@ export interface StorageGateway { /** * @public * Storage Gateway Service - * *

                                                                                                                                                                                                                                                                                                                                                  Storage Gateway is the service that connects an on-premises software appliance * with cloud-based storage to provide seamless and secure integration between an * organization's on-premises IT environment and the Amazon Web Services storage * infrastructure. The service enables you to securely upload data to the Amazon Web Services Cloud for cost effective backup and rapid disaster recovery.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  Use the following links to get started using the Storage Gateway * Service API Reference:

                                                                                                                                                                                                                                                                                                                                                  - * *
                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                  • *

                                                                                                                                                                                                                                                                                                                                                    @@ -1949,7 +1946,6 @@ export interface StorageGateway { * and the endpoints available for use with Storage Gateway.

                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  Storage Gateway resource IDs are in uppercase. When you use these resource IDs * with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must change @@ -1958,7 +1954,6 @@ export interface StorageGateway { * this ID with the EC2 API, you must change it to vol-aa22bb012345daf670. * Otherwise, the EC2 API might not behave as expected.

                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway * volumes are changing to a longer format. Starting in December 2016, all new volumes and @@ -1966,16 +1961,12 @@ export interface StorageGateway { * be able to use these longer IDs so you can test your systems with the new format. For * more information, see Longer EC2 and * EBS resource IDs.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  For example, a volume Amazon Resource Name (ARN) with the longer volume ID format * looks like the following:

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  * arn:aws:storagegateway:us-west-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABBCCDDEEFFG.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  A snapshot ID with the longer ID format looks like the following: * snap-78e226633445566ee.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  For more information, see Announcement: * Heads-up – Longer Storage Gateway volume and snapshot IDs coming in * 2016.

                                                                                                                                                                                                                                                                                                                                                  diff --git a/clients/client-storage-gateway/src/StorageGatewayClient.ts b/clients/client-storage-gateway/src/StorageGatewayClient.ts index 2077ed0e8d49d..a11275ff60f7f 100644 --- a/clients/client-storage-gateway/src/StorageGatewayClient.ts +++ b/clients/client-storage-gateway/src/StorageGatewayClient.ts @@ -665,15 +665,12 @@ export interface StorageGatewayClientResolvedConfig extends StorageGatewayClient /** * @public * Storage Gateway Service - * *

                                                                                                                                                                                                                                                                                                                                                  Storage Gateway is the service that connects an on-premises software appliance * with cloud-based storage to provide seamless and secure integration between an * organization's on-premises IT environment and the Amazon Web Services storage * infrastructure. The service enables you to securely upload data to the Amazon Web Services Cloud for cost effective backup and rapid disaster recovery.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  Use the following links to get started using the Storage Gateway * Service API Reference:

                                                                                                                                                                                                                                                                                                                                                  - * *
                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                  • *

                                                                                                                                                                                                                                                                                                                                                    @@ -701,7 +698,6 @@ export interface StorageGatewayClientResolvedConfig extends StorageGatewayClient * and the endpoints available for use with Storage Gateway.

                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  Storage Gateway resource IDs are in uppercase. When you use these resource IDs * with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must change @@ -710,7 +706,6 @@ export interface StorageGatewayClientResolvedConfig extends StorageGatewayClient * this ID with the EC2 API, you must change it to vol-aa22bb012345daf670. * Otherwise, the EC2 API might not behave as expected.

                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway * volumes are changing to a longer format. Starting in December 2016, all new volumes and @@ -718,16 +713,12 @@ export interface StorageGatewayClientResolvedConfig extends StorageGatewayClient * be able to use these longer IDs so you can test your systems with the new format. For * more information, see Longer EC2 and * EBS resource IDs.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  For example, a volume Amazon Resource Name (ARN) with the longer volume ID format * looks like the following:

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  * arn:aws:storagegateway:us-west-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABBCCDDEEFFG.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  A snapshot ID with the longer ID format looks like the following: * snap-78e226633445566ee.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  For more information, see Announcement: * Heads-up – Longer Storage Gateway volume and snapshot IDs coming in * 2016.

                                                                                                                                                                                                                                                                                                                                                  diff --git a/clients/client-storage-gateway/src/commands/AddCacheCommand.ts b/clients/client-storage-gateway/src/commands/AddCacheCommand.ts index dd624992d49fc..f801ab64b0c5f 100644 --- a/clients/client-storage-gateway/src/commands/AddCacheCommand.ts +++ b/clients/client-storage-gateway/src/commands/AddCacheCommand.ts @@ -38,7 +38,6 @@ export interface AddCacheCommandOutput extends AddCacheOutput, __MetadataBearer * @public *

                                                                                                                                                                                                                                                                                                                                                  Configures one or more gateway local disks as cache for a gateway. This operation is * only supported in the cached volume, tape, and file gateway type (see How Storage Gateway works (architecture).

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to * add cache, and one or more disk IDs that you want to configure as cache.

                                                                                                                                                                                                                                                                                                                                                  * @example diff --git a/clients/client-storage-gateway/src/commands/AddTagsToResourceCommand.ts b/clients/client-storage-gateway/src/commands/AddTagsToResourceCommand.ts index 3d2519bdb4f66..3908ae0c320a1 100644 --- a/clients/client-storage-gateway/src/commands/AddTagsToResourceCommand.ts +++ b/clients/client-storage-gateway/src/commands/AddTagsToResourceCommand.ts @@ -40,7 +40,6 @@ export interface AddTagsToResourceCommandOutput extends AddTagsToResourceOutput, * resources, which you can use to categorize these resources. For example, you can categorize * resources by purpose, owner, environment, or team. Each tag consists of a key and a value, * which you define. You can add tags to the following Storage Gateway resources:

                                                                                                                                                                                                                                                                                                                                                  - * *
                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                  • *

                                                                                                                                                                                                                                                                                                                                                    Storage gateways of all types

                                                                                                                                                                                                                                                                                                                                                    @@ -58,7 +57,6 @@ export interface AddTagsToResourceCommandOutput extends AddTagsToResourceOutput, *

                                                                                                                                                                                                                                                                                                                                                    File System associations

                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  You can create a maximum of 50 tags for each resource. Virtual tapes and storage volumes * that are recovered to a new gateway maintain their tags.

                                                                                                                                                                                                                                                                                                                                                  * @example diff --git a/clients/client-storage-gateway/src/commands/AddUploadBufferCommand.ts b/clients/client-storage-gateway/src/commands/AddUploadBufferCommand.ts index 11a21d38af6b0..f78c47899b785 100644 --- a/clients/client-storage-gateway/src/commands/AddUploadBufferCommand.ts +++ b/clients/client-storage-gateway/src/commands/AddUploadBufferCommand.ts @@ -39,7 +39,6 @@ export interface AddUploadBufferCommandOutput extends AddUploadBufferOutput, __M *

                                                                                                                                                                                                                                                                                                                                                  Configures one or more gateway local disks as upload buffer for a specified gateway. * This operation is supported for the stored volume, cached volume, and tape gateway * types.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to * add upload buffer, and one or more disk IDs that you want to configure as upload * buffer.

                                                                                                                                                                                                                                                                                                                                                  diff --git a/clients/client-storage-gateway/src/commands/AddWorkingStorageCommand.ts b/clients/client-storage-gateway/src/commands/AddWorkingStorageCommand.ts index df5f4f7e5aaa3..f6cf2c36d1a96 100644 --- a/clients/client-storage-gateway/src/commands/AddWorkingStorageCommand.ts +++ b/clients/client-storage-gateway/src/commands/AddWorkingStorageCommand.ts @@ -40,12 +40,10 @@ export interface AddWorkingStorageCommandOutput extends AddWorkingStorageOutput, * operation is only supported in the stored volume gateway type. This operation is deprecated * in cached volume API version 20120630. Use AddUploadBuffer * instead.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  Working storage is also referred to as upload buffer. You can also use the AddUploadBuffer operation to add upload buffer to a stored volume * gateway.

                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to * add working storage, and one or more disk IDs that you want to configure as working * storage.

                                                                                                                                                                                                                                                                                                                                                  diff --git a/clients/client-storage-gateway/src/commands/CreateCachediSCSIVolumeCommand.ts b/clients/client-storage-gateway/src/commands/CreateCachediSCSIVolumeCommand.ts index e9903e590ed95..0418d814702dd 100644 --- a/clients/client-storage-gateway/src/commands/CreateCachediSCSIVolumeCommand.ts +++ b/clients/client-storage-gateway/src/commands/CreateCachediSCSIVolumeCommand.ts @@ -38,18 +38,15 @@ export interface CreateCachediSCSIVolumeCommandOutput extends CreateCachediSCSIV * @public *

                                                                                                                                                                                                                                                                                                                                                  Creates a cached volume on a specified cached volume gateway. This operation is only * supported in the cached volume gateway type.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  Cache storage must be allocated to the gateway before you can create a cached volume. * Use the AddCache operation to add cache storage to a gateway.

                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  In the request, you must specify the gateway, size of the volume in bytes, the iSCSI * target name, an IP address on which to expose the target, and a unique client token. In * response, the gateway creates the volume and returns information about it. This information * includes the volume Amazon Resource Name (ARN), its size, and the iSCSI target ARN that * initiators can use to connect to the volume target.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  Optionally, you can provide the ARN for an existing volume as the * SourceVolumeARN for this cached volume, which creates an exact copy of the * existing volume’s latest recovery point. The VolumeSizeInBytes value must be diff --git a/clients/client-storage-gateway/src/commands/CreateNFSFileShareCommand.ts b/clients/client-storage-gateway/src/commands/CreateNFSFileShareCommand.ts index 6ab1a88a891d2..cb009f385dc8d 100644 --- a/clients/client-storage-gateway/src/commands/CreateNFSFileShareCommand.ts +++ b/clients/client-storage-gateway/src/commands/CreateNFSFileShareCommand.ts @@ -40,7 +40,6 @@ export interface CreateNFSFileShareCommandOutput extends CreateNFSFileShareOutpu * Storage Gateway, a file share is a file system mount point backed by Amazon S3 * cloud storage. Storage Gateway exposes file shares using an NFS interface. This operation * is only supported for S3 File Gateways.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  S3 File gateway requires Security Token Service (Amazon Web Services STS) to be * activated to enable you to create a file share. Make sure Amazon Web Services STS is @@ -49,7 +48,6 @@ export interface CreateNFSFileShareCommandOutput extends CreateNFSFileShareOutpu * it. For information about how to activate Amazon Web Services STS, see Activating and * deactivating Amazon Web Services STS in an Amazon Web Services Region in the * Identity and Access Management User Guide.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  S3 File Gateways do not support creating hard or symbolic links on a file * share.

                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                  @@ -73,7 +71,7 @@ export interface CreateNFSFileShareCommandOutput extends CreateNFSFileShareOutpu * Role: "STRING_VALUE", // required * LocationARN: "STRING_VALUE", // required * DefaultStorageClass: "STRING_VALUE", - * ObjectACL: "STRING_VALUE", + * ObjectACL: "private" || "public-read" || "public-read-write" || "authenticated-read" || "bucket-owner-read" || "bucket-owner-full-control" || "aws-exec-read", * ClientList: [ // FileShareClientList * "STRING_VALUE", * ], diff --git a/clients/client-storage-gateway/src/commands/CreateSMBFileShareCommand.ts b/clients/client-storage-gateway/src/commands/CreateSMBFileShareCommand.ts index 8041e3334c074..85c3442efbfcb 100644 --- a/clients/client-storage-gateway/src/commands/CreateSMBFileShareCommand.ts +++ b/clients/client-storage-gateway/src/commands/CreateSMBFileShareCommand.ts @@ -40,7 +40,6 @@ export interface CreateSMBFileShareCommandOutput extends CreateSMBFileShareOutpu * Storage Gateway, a file share is a file system mount point backed by Amazon S3 * cloud storage. Storage Gateway exposes file shares using an SMB interface. This operation * is only supported for S3 File Gateways.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  S3 File Gateways require Security Token Service (Amazon Web Services STS) to be * activated to enable you to create a file share. Make sure that Amazon Web Services STS @@ -49,7 +48,6 @@ export interface CreateSMBFileShareCommandOutput extends CreateSMBFileShareOutpu * it. For information about how to activate Amazon Web Services STS, see Activating and * deactivating Amazon Web Services STS in an Amazon Web Services Region in the * Identity and Access Management User Guide.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  File gateways don't support creating hard or symbolic links on a file * share.

                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                  @@ -67,7 +65,7 @@ export interface CreateSMBFileShareCommandOutput extends CreateSMBFileShareOutpu * Role: "STRING_VALUE", // required * LocationARN: "STRING_VALUE", // required * DefaultStorageClass: "STRING_VALUE", - * ObjectACL: "STRING_VALUE", + * ObjectACL: "private" || "public-read" || "public-read-write" || "authenticated-read" || "bucket-owner-read" || "bucket-owner-full-control" || "aws-exec-read", * ReadOnly: true || false, * GuessMIMETypeEnabled: true || false, * RequesterPays: true || false, @@ -84,7 +82,7 @@ export interface CreateSMBFileShareCommandOutput extends CreateSMBFileShareOutpu * ], * AuditDestinationARN: "STRING_VALUE", * Authentication: "STRING_VALUE", - * CaseSensitivity: "STRING_VALUE", + * CaseSensitivity: "ClientSpecified" || "CaseSensitive", * Tags: [ // Tags * { // Tag * Key: "STRING_VALUE", // required diff --git a/clients/client-storage-gateway/src/commands/CreateSnapshotCommand.ts b/clients/client-storage-gateway/src/commands/CreateSnapshotCommand.ts index 5e2adfe3fa1c9..820246f36bd93 100644 --- a/clients/client-storage-gateway/src/commands/CreateSnapshotCommand.ts +++ b/clients/client-storage-gateway/src/commands/CreateSnapshotCommand.ts @@ -37,14 +37,12 @@ export interface CreateSnapshotCommandOutput extends CreateSnapshotOutput, __Met /** * @public *

                                                                                                                                                                                                                                                                                                                                                  Initiates a snapshot of a volume.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  Storage Gateway provides the ability to back up point-in-time snapshots of your * data to Amazon Simple Storage (Amazon S3) for durable off-site recovery, and also * import the data to an Amazon Elastic Block Store (EBS) volume in Amazon Elastic Compute * Cloud (EC2). You can take snapshots of your gateway volume on a scheduled or ad hoc basis. * This API enables you to take an ad hoc snapshot. For more information, see Editing a * snapshot schedule.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  In the CreateSnapshot request, you identify the volume by providing its * Amazon Resource Name (ARN). You must also provide description for the snapshot. When * Storage Gateway takes the snapshot of specified volume, the snapshot and @@ -52,14 +50,12 @@ export interface CreateSnapshotCommandOutput extends CreateSnapshotOutput, __Met * returns you a snapshot ID. You can use this snapshot ID to check the snapshot progress or * later use it when you want to create a volume from a snapshot. This operation is only * supported in stored and cached volume gateway type.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  To list or delete a snapshot, you must use the Amazon EC2 API. For more information, * see DescribeSnapshots * or DeleteSnapshot in the Amazon Elastic Compute Cloud API * Reference.

                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  Volume and snapshot IDs are changing to a longer length ID format. For more * information, see the important note on the Welcome page.

                                                                                                                                                                                                                                                                                                                                                  diff --git a/clients/client-storage-gateway/src/commands/CreateSnapshotFromVolumeRecoveryPointCommand.ts b/clients/client-storage-gateway/src/commands/CreateSnapshotFromVolumeRecoveryPointCommand.ts index 556a2fa940df9..9502f0853b151 100644 --- a/clients/client-storage-gateway/src/commands/CreateSnapshotFromVolumeRecoveryPointCommand.ts +++ b/clients/client-storage-gateway/src/commands/CreateSnapshotFromVolumeRecoveryPointCommand.ts @@ -46,11 +46,9 @@ export interface CreateSnapshotFromVolumeRecoveryPointCommandOutput * @public *

                                                                                                                                                                                                                                                                                                                                                  Initiates a snapshot of a gateway from a volume recovery point. This operation is only * supported in the cached volume gateway type.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  A volume recovery point is a point in time at which all data of the volume is consistent * and from which you can create a snapshot. To get a list of volume recovery point for cached * volume gateway, use ListVolumeRecoveryPoints.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  In the CreateSnapshotFromVolumeRecoveryPoint request, you identify the * volume by providing its Amazon Resource Name (ARN). You must also provide a description for * the snapshot. When the gateway takes a snapshot of the specified volume, the snapshot and @@ -58,7 +56,6 @@ export interface CreateSnapshotFromVolumeRecoveryPointCommandOutput * In response, the gateway returns * you a snapshot ID. You can use this snapshot ID to check the snapshot progress or later use * it when you want to create a volume from a snapshot.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  To list or delete a snapshot, you must use the Amazon EC2 API. For more information, * see DescribeSnapshots diff --git a/clients/client-storage-gateway/src/commands/CreateStorediSCSIVolumeCommand.ts b/clients/client-storage-gateway/src/commands/CreateStorediSCSIVolumeCommand.ts index 62a2a05d6aabb..e858c4566c968 100644 --- a/clients/client-storage-gateway/src/commands/CreateStorediSCSIVolumeCommand.ts +++ b/clients/client-storage-gateway/src/commands/CreateStorediSCSIVolumeCommand.ts @@ -38,12 +38,10 @@ export interface CreateStorediSCSIVolumeCommandOutput extends CreateStorediSCSIV * @public *

                                                                                                                                                                                                                                                                                                                                                  Creates a volume on a specified gateway. This operation is only supported in the stored * volume gateway type.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  The size of the volume to create is inferred from the disk size. You can choose to * preserve existing data on the disk, create volume from an existing snapshot, or create an * empty volume. If you choose to create an empty gateway volume, then any existing data on * the disk is erased.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  In the request, you must specify the gateway and the disk information on which you are * creating the volume. In response, the gateway creates the volume and returns volume * information such as the volume Amazon Resource Name (ARN), its size, and the iSCSI target diff --git a/clients/client-storage-gateway/src/commands/CreateTapePoolCommand.ts b/clients/client-storage-gateway/src/commands/CreateTapePoolCommand.ts index 17c124448805c..3f4c0e14ae705 100644 --- a/clients/client-storage-gateway/src/commands/CreateTapePoolCommand.ts +++ b/clients/client-storage-gateway/src/commands/CreateTapePoolCommand.ts @@ -46,8 +46,8 @@ export interface CreateTapePoolCommandOutput extends CreateTapePoolOutput, __Met * const client = new StorageGatewayClient(config); * const input = { // CreateTapePoolInput * PoolName: "STRING_VALUE", // required - * StorageClass: "STRING_VALUE", // required - * RetentionLockType: "STRING_VALUE", + * StorageClass: "DEEP_ARCHIVE" || "GLACIER", // required + * RetentionLockType: "COMPLIANCE" || "GOVERNANCE" || "NONE", * RetentionLockTimeInDays: Number("int"), * Tags: [ // Tags * { // Tag diff --git a/clients/client-storage-gateway/src/commands/CreateTapeWithBarcodeCommand.ts b/clients/client-storage-gateway/src/commands/CreateTapeWithBarcodeCommand.ts index d2fed07e599b7..4d9133d5dce02 100644 --- a/clients/client-storage-gateway/src/commands/CreateTapeWithBarcodeCommand.ts +++ b/clients/client-storage-gateway/src/commands/CreateTapeWithBarcodeCommand.ts @@ -40,7 +40,6 @@ export interface CreateTapeWithBarcodeCommandOutput extends CreateTapeWithBarcod * then archive the tape. A barcode is unique and cannot be reused if it has already been used * on a tape. This applies to barcodes used on deleted tapes. This operation is only supported * in the tape gateway type.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  Cache storage must be allocated to the gateway before you can create a virtual tape. * Use the AddCache operation to add cache storage to a gateway.

                                                                                                                                                                                                                                                                                                                                                  diff --git a/clients/client-storage-gateway/src/commands/CreateTapesCommand.ts b/clients/client-storage-gateway/src/commands/CreateTapesCommand.ts index edbecd4461c17..5a5fd86a7782b 100644 --- a/clients/client-storage-gateway/src/commands/CreateTapesCommand.ts +++ b/clients/client-storage-gateway/src/commands/CreateTapesCommand.ts @@ -38,7 +38,6 @@ export interface CreateTapesCommandOutput extends CreateTapesOutput, __MetadataB * @public *

                                                                                                                                                                                                                                                                                                                                                  Creates one or more virtual tapes. You write data to the virtual tapes and then archive * the tapes. This operation is only supported in the tape gateway type.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  Cache storage must be allocated to the gateway before you can create virtual tapes. * Use the AddCache operation to add cache storage to a gateway.

                                                                                                                                                                                                                                                                                                                                                  diff --git a/clients/client-storage-gateway/src/commands/DeleteGatewayCommand.ts b/clients/client-storage-gateway/src/commands/DeleteGatewayCommand.ts index 560de77c23fe8..1ae407c5b6343 100644 --- a/clients/client-storage-gateway/src/commands/DeleteGatewayCommand.ts +++ b/clients/client-storage-gateway/src/commands/DeleteGatewayCommand.ts @@ -39,12 +39,10 @@ export interface DeleteGatewayCommandOutput extends DeleteGatewayOutput, __Metad *

                                                                                                                                                                                                                                                                                                                                                  Deletes a gateway. To specify which gateway to delete, use the Amazon Resource Name * (ARN) of the gateway in your request. The operation deletes the gateway; however, it does * not delete the gateway virtual machine (VM) from your host computer.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  After you delete a gateway, you cannot reactivate it. Completed snapshots of the gateway * volumes are not deleted upon deleting the gateway, however, pending snapshots will not * complete. After you delete a gateway, your next step is to remove it from your * environment.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  You no longer pay software charges after the gateway is deleted; however, your * existing Amazon EBS snapshots persist and you will continue to be billed for these diff --git a/clients/client-storage-gateway/src/commands/DeleteSnapshotScheduleCommand.ts b/clients/client-storage-gateway/src/commands/DeleteSnapshotScheduleCommand.ts index 37f448ff505e2..0894d1244bd73 100644 --- a/clients/client-storage-gateway/src/commands/DeleteSnapshotScheduleCommand.ts +++ b/clients/client-storage-gateway/src/commands/DeleteSnapshotScheduleCommand.ts @@ -37,16 +37,13 @@ export interface DeleteSnapshotScheduleCommandOutput extends DeleteSnapshotSched /** * @public *

                                                                                                                                                                                                                                                                                                                                                  Deletes a snapshot of a volume.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  You can take snapshots of your gateway volumes on a scheduled or ad hoc basis. This API * action enables you to delete a snapshot schedule for a volume. For more information, see * Backing up your * volumes. In the DeleteSnapshotSchedule request, you identify the * volume by providing its Amazon Resource Name (ARN). This operation is only supported for * cached volume gateway types.

                                                                                                                                                                                                                                                                                                                                                  - * * - * *

                                                                                                                                                                                                                                                                                                                                                  To list or delete a snapshot, you must use the Amazon EC2 API. For more information, * go to DescribeSnapshots * in the Amazon Elastic Compute Cloud API Reference.

                                                                                                                                                                                                                                                                                                                                                  diff --git a/clients/client-storage-gateway/src/commands/DeleteVolumeCommand.ts b/clients/client-storage-gateway/src/commands/DeleteVolumeCommand.ts index e0fc7fd675d04..665d749877d30 100644 --- a/clients/client-storage-gateway/src/commands/DeleteVolumeCommand.ts +++ b/clients/client-storage-gateway/src/commands/DeleteVolumeCommand.ts @@ -40,13 +40,11 @@ export interface DeleteVolumeCommandOutput extends DeleteVolumeOutput, __Metadat * This operation is only supported in the cached volume and stored volume types. For stored * volume gateways, the local disk that was configured as the storage volume is not deleted. * You can reuse the local disk to create another storage volume.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  Before you delete a volume, make sure there are no iSCSI connections to the volume you * are deleting. You should also make sure there is no snapshot in progress. You can use the * Amazon Elastic Compute Cloud (Amazon EC2) API to query snapshots on the volume you are * deleting and check the snapshot status. For more information, go to DescribeSnapshots in the Amazon Elastic Compute Cloud API * Reference.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  In the request, you must provide the Amazon Resource Name (ARN) of the storage volume * you want to delete.

                                                                                                                                                                                                                                                                                                                                                  * @example diff --git a/clients/client-storage-gateway/src/commands/DescribeAvailabilityMonitorTestCommand.ts b/clients/client-storage-gateway/src/commands/DescribeAvailabilityMonitorTestCommand.ts index 9baa92ed1b696..f2ee447471eaa 100644 --- a/clients/client-storage-gateway/src/commands/DescribeAvailabilityMonitorTestCommand.ts +++ b/clients/client-storage-gateway/src/commands/DescribeAvailabilityMonitorTestCommand.ts @@ -57,7 +57,7 @@ export interface DescribeAvailabilityMonitorTestCommandOutput * const response = await client.send(command); * // { // DescribeAvailabilityMonitorTestOutput * // GatewayARN: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "COMPLETE" || "FAILED" || "PENDING", * // StartTime: new Date("TIMESTAMP"), * // }; * diff --git a/clients/client-storage-gateway/src/commands/DescribeBandwidthRateLimitCommand.ts b/clients/client-storage-gateway/src/commands/DescribeBandwidthRateLimitCommand.ts index baffc50425503..61143f0806fac 100644 --- a/clients/client-storage-gateway/src/commands/DescribeBandwidthRateLimitCommand.ts +++ b/clients/client-storage-gateway/src/commands/DescribeBandwidthRateLimitCommand.ts @@ -40,7 +40,6 @@ export interface DescribeBandwidthRateLimitCommandOutput extends DescribeBandwid * which means no bandwidth rate limiting is in effect. This operation is supported only for * the stored volume, cached volume, and tape gateway types. To describe bandwidth rate limits * for S3 file gateways, use DescribeBandwidthRateLimitSchedule.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  This operation returns a value for a bandwidth rate limit only if the limit is set. If * no limits are set for the gateway, then this operation returns only the gateway ARN in the * response body. To specify which gateway to describe, use the Amazon Resource Name (ARN) of diff --git a/clients/client-storage-gateway/src/commands/DescribeBandwidthRateLimitScheduleCommand.ts b/clients/client-storage-gateway/src/commands/DescribeBandwidthRateLimitScheduleCommand.ts index cbfcf8830c79b..130ad5f0c4c5b 100644 --- a/clients/client-storage-gateway/src/commands/DescribeBandwidthRateLimitScheduleCommand.ts +++ b/clients/client-storage-gateway/src/commands/DescribeBandwidthRateLimitScheduleCommand.ts @@ -45,16 +45,13 @@ export interface DescribeBandwidthRateLimitScheduleCommandOutput * gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting * is in effect. This operation is supported only for volume, tape and S3 file gateways. FSx * file gateways do not support bandwidth rate limits.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  This operation returns information about a gateway's bandwidth rate limit schedule. A * bandwidth rate limit schedule consists of one or more bandwidth rate limit intervals. A * bandwidth rate limit interval defines a period of time on one or more days of the week, * during which bandwidth rate limits are specified for uploading, downloading, or both.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  A bandwidth rate limit interval consists of one or more days of the week, a start hour * and minute, an ending hour and minute, and bandwidth rate limits for uploading and * downloading

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  If no bandwidth rate limit schedule intervals are set for the gateway, this operation * returns an empty response. To specify which gateway to describe, use the Amazon Resource * Name (ARN) of the gateway in your request.

                                                                                                                                                                                                                                                                                                                                                  diff --git a/clients/client-storage-gateway/src/commands/DescribeCacheCommand.ts b/clients/client-storage-gateway/src/commands/DescribeCacheCommand.ts index 193ed57562ecc..a3458df120348 100644 --- a/clients/client-storage-gateway/src/commands/DescribeCacheCommand.ts +++ b/clients/client-storage-gateway/src/commands/DescribeCacheCommand.ts @@ -38,7 +38,6 @@ export interface DescribeCacheCommandOutput extends DescribeCacheOutput, __Metad * @public *

                                                                                                                                                                                                                                                                                                                                                  Returns information about the cache of a gateway. This operation is only supported in * the cached volume, tape, and file gateway types.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  The response includes disk IDs that are configured as cache, and it includes the amount * of cache allocated and used.

                                                                                                                                                                                                                                                                                                                                                  * @example diff --git a/clients/client-storage-gateway/src/commands/DescribeCachediSCSIVolumesCommand.ts b/clients/client-storage-gateway/src/commands/DescribeCachediSCSIVolumesCommand.ts index 2f55b2d8224ab..abe91b4d60ad6 100644 --- a/clients/client-storage-gateway/src/commands/DescribeCachediSCSIVolumesCommand.ts +++ b/clients/client-storage-gateway/src/commands/DescribeCachediSCSIVolumesCommand.ts @@ -38,7 +38,6 @@ export interface DescribeCachediSCSIVolumesCommandOutput extends DescribeCachedi * @public *

                                                                                                                                                                                                                                                                                                                                                  Returns a description of the gateway volumes specified in the request. This operation is * only supported in the cached volume gateway types.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  The list of gateway volumes in the request must be from one gateway. In the response, * Storage Gateway returns volume information sorted by volume Amazon Resource Name * (ARN).

                                                                                                                                                                                                                                                                                                                                                  diff --git a/clients/client-storage-gateway/src/commands/DescribeGatewayInformationCommand.ts b/clients/client-storage-gateway/src/commands/DescribeGatewayInformationCommand.ts index aea63d0f5f58c..18087e5694f22 100644 --- a/clients/client-storage-gateway/src/commands/DescribeGatewayInformationCommand.ts +++ b/clients/client-storage-gateway/src/commands/DescribeGatewayInformationCommand.ts @@ -76,13 +76,13 @@ export interface DescribeGatewayInformationCommandOutput extends DescribeGateway * // ], * // VPCEndpoint: "STRING_VALUE", * // CloudWatchLogGroupARN: "STRING_VALUE", - * // HostEnvironment: "STRING_VALUE", + * // HostEnvironment: "VMWARE" || "HYPER-V" || "EC2" || "KVM" || "OTHER" || "SNOWBALL", * // EndpointType: "STRING_VALUE", * // SoftwareUpdatesEndDate: "STRING_VALUE", * // DeprecationDate: "STRING_VALUE", - * // GatewayCapacity: "STRING_VALUE", + * // GatewayCapacity: "Small" || "Medium" || "Large", * // SupportedGatewayCapacities: [ // SupportedGatewayCapacities - * // "STRING_VALUE", + * // "Small" || "Medium" || "Large", * // ], * // HostEnvironmentId: "STRING_VALUE", * // }; diff --git a/clients/client-storage-gateway/src/commands/DescribeNFSFileSharesCommand.ts b/clients/client-storage-gateway/src/commands/DescribeNFSFileSharesCommand.ts index ce624876b9f86..4c0fd1f02d321 100644 --- a/clients/client-storage-gateway/src/commands/DescribeNFSFileSharesCommand.ts +++ b/clients/client-storage-gateway/src/commands/DescribeNFSFileSharesCommand.ts @@ -70,7 +70,7 @@ export interface DescribeNFSFileSharesCommandOutput extends DescribeNFSFileShare * // Role: "STRING_VALUE", * // LocationARN: "STRING_VALUE", * // DefaultStorageClass: "STRING_VALUE", - * // ObjectACL: "STRING_VALUE", + * // ObjectACL: "private" || "public-read" || "public-read-write" || "authenticated-read" || "bucket-owner-read" || "bucket-owner-full-control" || "aws-exec-read", * // ClientList: [ // FileShareClientList * // "STRING_VALUE", * // ], diff --git a/clients/client-storage-gateway/src/commands/DescribeSMBFileSharesCommand.ts b/clients/client-storage-gateway/src/commands/DescribeSMBFileSharesCommand.ts index 8b1b0aab1322c..4cfbb39f0b6e8 100644 --- a/clients/client-storage-gateway/src/commands/DescribeSMBFileSharesCommand.ts +++ b/clients/client-storage-gateway/src/commands/DescribeSMBFileSharesCommand.ts @@ -64,7 +64,7 @@ export interface DescribeSMBFileSharesCommandOutput extends DescribeSMBFileShare * // Role: "STRING_VALUE", * // LocationARN: "STRING_VALUE", * // DefaultStorageClass: "STRING_VALUE", - * // ObjectACL: "STRING_VALUE", + * // ObjectACL: "private" || "public-read" || "public-read-write" || "authenticated-read" || "bucket-owner-read" || "bucket-owner-full-control" || "aws-exec-read", * // ReadOnly: true || false, * // GuessMIMETypeEnabled: true || false, * // RequesterPays: true || false, @@ -81,7 +81,7 @@ export interface DescribeSMBFileSharesCommandOutput extends DescribeSMBFileShare * // ], * // AuditDestinationARN: "STRING_VALUE", * // Authentication: "STRING_VALUE", - * // CaseSensitivity: "STRING_VALUE", + * // CaseSensitivity: "ClientSpecified" || "CaseSensitive", * // Tags: [ // Tags * // { // Tag * // Key: "STRING_VALUE", // required diff --git a/clients/client-storage-gateway/src/commands/DescribeSMBSettingsCommand.ts b/clients/client-storage-gateway/src/commands/DescribeSMBSettingsCommand.ts index e4c14ee2a9403..45520c9d783bf 100644 --- a/clients/client-storage-gateway/src/commands/DescribeSMBSettingsCommand.ts +++ b/clients/client-storage-gateway/src/commands/DescribeSMBSettingsCommand.ts @@ -52,9 +52,9 @@ export interface DescribeSMBSettingsCommandOutput extends DescribeSMBSettingsOut * // { // DescribeSMBSettingsOutput * // GatewayARN: "STRING_VALUE", * // DomainName: "STRING_VALUE", - * // ActiveDirectoryStatus: "STRING_VALUE", + * // ActiveDirectoryStatus: "ACCESS_DENIED" || "DETACHED" || "JOINED" || "JOINING" || "NETWORK_ERROR" || "TIMEOUT" || "UNKNOWN_ERROR", * // SMBGuestPasswordSet: true || false, - * // SMBSecurityStrategy: "STRING_VALUE", + * // SMBSecurityStrategy: "ClientSpecified" || "MandatorySigning" || "MandatoryEncryption", * // FileSharesVisible: true || false, * // SMBLocalGroups: { // SMBLocalGroups * // GatewayAdmins: [ // UserList diff --git a/clients/client-storage-gateway/src/commands/DescribeTapeArchivesCommand.ts b/clients/client-storage-gateway/src/commands/DescribeTapeArchivesCommand.ts index 1c6505eba2e45..fa1dba7a659c8 100644 --- a/clients/client-storage-gateway/src/commands/DescribeTapeArchivesCommand.ts +++ b/clients/client-storage-gateway/src/commands/DescribeTapeArchivesCommand.ts @@ -38,7 +38,6 @@ export interface DescribeTapeArchivesCommandOutput extends DescribeTapeArchivesO * @public *

                                                                                                                                                                                                                                                                                                                                                  Returns a description of specified virtual tapes in the virtual tape shelf (VTS). This * operation is only supported in the tape gateway type.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  If a specific TapeARN is not specified, Storage Gateway returns a * description of all virtual tapes found in the VTS associated with your account.

                                                                                                                                                                                                                                                                                                                                                  * @example diff --git a/clients/client-storage-gateway/src/commands/DescribeTapeRecoveryPointsCommand.ts b/clients/client-storage-gateway/src/commands/DescribeTapeRecoveryPointsCommand.ts index b76abe1a41b15..5d1a7a5be8bf0 100644 --- a/clients/client-storage-gateway/src/commands/DescribeTapeRecoveryPointsCommand.ts +++ b/clients/client-storage-gateway/src/commands/DescribeTapeRecoveryPointsCommand.ts @@ -38,7 +38,6 @@ export interface DescribeTapeRecoveryPointsCommandOutput extends DescribeTapeRec * @public *

                                                                                                                                                                                                                                                                                                                                                  Returns a list of virtual tape recovery points that are available for the specified tape * gateway.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  A recovery point is a point-in-time view of a virtual tape at which all the data on the * virtual tape is consistent. If your gateway crashes, virtual tapes that have recovery * points can be recovered to a new gateway. This operation is only supported in the tape diff --git a/clients/client-storage-gateway/src/commands/DescribeUploadBufferCommand.ts b/clients/client-storage-gateway/src/commands/DescribeUploadBufferCommand.ts index 22a3999eeff6b..8d7e5f25c2bb0 100644 --- a/clients/client-storage-gateway/src/commands/DescribeUploadBufferCommand.ts +++ b/clients/client-storage-gateway/src/commands/DescribeUploadBufferCommand.ts @@ -38,7 +38,6 @@ export interface DescribeUploadBufferCommandOutput extends DescribeUploadBufferO * @public *

                                                                                                                                                                                                                                                                                                                                                  Returns information about the upload buffer of a gateway. This operation is supported * for the stored volume, cached volume, and tape gateway types.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  The response includes disk IDs that are configured as upload buffer space, and it * includes the amount of upload buffer space allocated and used.

                                                                                                                                                                                                                                                                                                                                                  * @example diff --git a/clients/client-storage-gateway/src/commands/DescribeVTLDevicesCommand.ts b/clients/client-storage-gateway/src/commands/DescribeVTLDevicesCommand.ts index d26d2a462f7cd..bfe98d5f78955 100644 --- a/clients/client-storage-gateway/src/commands/DescribeVTLDevicesCommand.ts +++ b/clients/client-storage-gateway/src/commands/DescribeVTLDevicesCommand.ts @@ -38,7 +38,6 @@ export interface DescribeVTLDevicesCommandOutput extends DescribeVTLDevicesOutpu * @public *

                                                                                                                                                                                                                                                                                                                                                  Returns a description of virtual tape library (VTL) devices for the specified tape * gateway. In the response, Storage Gateway returns VTL device information.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  This operation is only supported in the tape gateway type.

                                                                                                                                                                                                                                                                                                                                                  * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-storage-gateway/src/commands/DescribeWorkingStorageCommand.ts b/clients/client-storage-gateway/src/commands/DescribeWorkingStorageCommand.ts index d363fa6028814..bb3e612849e24 100644 --- a/clients/client-storage-gateway/src/commands/DescribeWorkingStorageCommand.ts +++ b/clients/client-storage-gateway/src/commands/DescribeWorkingStorageCommand.ts @@ -39,12 +39,10 @@ export interface DescribeWorkingStorageCommandOutput extends DescribeWorkingStor *

                                                                                                                                                                                                                                                                                                                                                  Returns information about the working storage of a gateway. This operation is only * supported in the stored volumes gateway type. This operation is deprecated in cached * volumes API version (20120630). Use DescribeUploadBuffer instead.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  Working storage is also referred to as upload buffer. You can also use the * DescribeUploadBuffer operation to add upload buffer to a stored volume gateway.

                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  The response includes disk IDs that are configured as working storage, and it includes * the amount of working storage allocated and used.

                                                                                                                                                                                                                                                                                                                                                  * @example diff --git a/clients/client-storage-gateway/src/commands/DisableGatewayCommand.ts b/clients/client-storage-gateway/src/commands/DisableGatewayCommand.ts index 40d73774c8d95..b7a78d754232d 100644 --- a/clients/client-storage-gateway/src/commands/DisableGatewayCommand.ts +++ b/clients/client-storage-gateway/src/commands/DisableGatewayCommand.ts @@ -38,10 +38,8 @@ export interface DisableGatewayCommandOutput extends DisableGatewayOutput, __Met * @public *

                                                                                                                                                                                                                                                                                                                                                  Disables a tape gateway when the gateway is no longer functioning. For example, if your * gateway VM is damaged, you can disable the gateway so you can recover virtual tapes.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  Use this operation for a tape gateway that is not reachable or not functioning. This * operation is only supported in the tape gateway type.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  After a gateway is disabled, it cannot be enabled.

                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                  diff --git a/clients/client-storage-gateway/src/commands/JoinDomainCommand.ts b/clients/client-storage-gateway/src/commands/JoinDomainCommand.ts index 6e53058a7635f..015370425ab10 100644 --- a/clients/client-storage-gateway/src/commands/JoinDomainCommand.ts +++ b/clients/client-storage-gateway/src/commands/JoinDomainCommand.ts @@ -59,7 +59,7 @@ export interface JoinDomainCommandOutput extends JoinDomainOutput, __MetadataBea * const response = await client.send(command); * // { // JoinDomainOutput * // GatewayARN: "STRING_VALUE", - * // ActiveDirectoryStatus: "STRING_VALUE", + * // ActiveDirectoryStatus: "ACCESS_DENIED" || "DETACHED" || "JOINED" || "JOINING" || "NETWORK_ERROR" || "TIMEOUT" || "UNKNOWN_ERROR", * // }; * * ``` diff --git a/clients/client-storage-gateway/src/commands/ListAutomaticTapeCreationPoliciesCommand.ts b/clients/client-storage-gateway/src/commands/ListAutomaticTapeCreationPoliciesCommand.ts index 166c3e88031a2..8f6b31ae993c2 100644 --- a/clients/client-storage-gateway/src/commands/ListAutomaticTapeCreationPoliciesCommand.ts +++ b/clients/client-storage-gateway/src/commands/ListAutomaticTapeCreationPoliciesCommand.ts @@ -43,7 +43,6 @@ export interface ListAutomaticTapeCreationPoliciesCommandOutput * @public *

                                                                                                                                                                                                                                                                                                                                                  Lists the automatic tape creation policies for a gateway. If there are no automatic tape * creation policies for the gateway, it returns an empty list.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  This operation is only supported for tape gateways.

                                                                                                                                                                                                                                                                                                                                                  * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-storage-gateway/src/commands/ListFileSharesCommand.ts b/clients/client-storage-gateway/src/commands/ListFileSharesCommand.ts index 10abf2ec7d931..e2d4e92589522 100644 --- a/clients/client-storage-gateway/src/commands/ListFileSharesCommand.ts +++ b/clients/client-storage-gateway/src/commands/ListFileSharesCommand.ts @@ -57,7 +57,7 @@ export interface ListFileSharesCommandOutput extends ListFileSharesOutput, __Met * // NextMarker: "STRING_VALUE", * // FileShareInfoList: [ // FileShareInfoList * // { // FileShareInfo - * // FileShareType: "STRING_VALUE", + * // FileShareType: "NFS" || "SMB", * // FileShareARN: "STRING_VALUE", * // FileShareId: "STRING_VALUE", * // FileShareStatus: "STRING_VALUE", diff --git a/clients/client-storage-gateway/src/commands/ListGatewaysCommand.ts b/clients/client-storage-gateway/src/commands/ListGatewaysCommand.ts index a963689e8f8d8..1ef4148358fbc 100644 --- a/clients/client-storage-gateway/src/commands/ListGatewaysCommand.ts +++ b/clients/client-storage-gateway/src/commands/ListGatewaysCommand.ts @@ -39,11 +39,9 @@ export interface ListGatewaysCommandOutput extends ListGatewaysOutput, __Metadat *

                                                                                                                                                                                                                                                                                                                                                  Lists gateways owned by an Amazon Web Services account in an Amazon Web Services Region * specified in the request. The returned list is ordered by gateway Amazon Resource Name * (ARN).

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  By default, the operation returns a maximum of 100 gateways. This operation supports * pagination that allows you to optionally reduce the number of gateways returned in a * response.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  If you have more gateways than are returned in a response (that is, the response returns * only a truncated list of your gateways), the response contains a marker that you can * specify in your next request to fetch the next page of gateways.

                                                                                                                                                                                                                                                                                                                                                  @@ -69,7 +67,7 @@ export interface ListGatewaysCommandOutput extends ListGatewaysOutput, __Metadat * // GatewayName: "STRING_VALUE", * // Ec2InstanceId: "STRING_VALUE", * // Ec2InstanceRegion: "STRING_VALUE", - * // HostEnvironment: "STRING_VALUE", + * // HostEnvironment: "VMWARE" || "HYPER-V" || "EC2" || "KVM" || "OTHER" || "SNOWBALL", * // HostEnvironmentId: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-storage-gateway/src/commands/ListLocalDisksCommand.ts b/clients/client-storage-gateway/src/commands/ListLocalDisksCommand.ts index 8f8808ce25e65..8f81265bf8ac3 100644 --- a/clients/client-storage-gateway/src/commands/ListLocalDisksCommand.ts +++ b/clients/client-storage-gateway/src/commands/ListLocalDisksCommand.ts @@ -38,7 +38,6 @@ export interface ListLocalDisksCommandOutput extends ListLocalDisksOutput, __Met * @public *

                                                                                                                                                                                                                                                                                                                                                  Returns a list of the gateway's local disks. To specify which gateway to describe, * you use the Amazon Resource Name (ARN) of the gateway in the body of the request.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  The request returns a list of all disks, specifying which are configured as working * storage, cache storage, or stored volume or not configured at all. The response includes a * DiskStatus field. This field can have a value of present (the disk is diff --git a/clients/client-storage-gateway/src/commands/ListTapePoolsCommand.ts b/clients/client-storage-gateway/src/commands/ListTapePoolsCommand.ts index e012b26a9ade9..723932d961ed6 100644 --- a/clients/client-storage-gateway/src/commands/ListTapePoolsCommand.ts +++ b/clients/client-storage-gateway/src/commands/ListTapePoolsCommand.ts @@ -39,7 +39,6 @@ export interface ListTapePoolsCommandOutput extends ListTapePoolsOutput, __Metad *

                                                                                                                                                                                                                                                                                                                                                  Lists custom tape pools. You specify custom tape pools to list by specifying one or more * custom tape pool Amazon Resource Names (ARNs). If you don't specify a custom tape pool ARN, * the operation lists all custom tape pools.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  This operation supports pagination. You can optionally specify the Limit * parameter in the body to limit the number of tape pools in the response. If the number of * tape pools returned in the response is truncated, the response includes a @@ -65,10 +64,10 @@ export interface ListTapePoolsCommandOutput extends ListTapePoolsOutput, __Metad * // { // PoolInfo * // PoolARN: "STRING_VALUE", * // PoolName: "STRING_VALUE", - * // StorageClass: "STRING_VALUE", - * // RetentionLockType: "STRING_VALUE", + * // StorageClass: "DEEP_ARCHIVE" || "GLACIER", + * // RetentionLockType: "COMPLIANCE" || "GOVERNANCE" || "NONE", * // RetentionLockTimeInDays: Number("int"), - * // PoolStatus: "STRING_VALUE", + * // PoolStatus: "ACTIVE" || "DELETED", * // }, * // ], * // Marker: "STRING_VALUE", diff --git a/clients/client-storage-gateway/src/commands/ListTapesCommand.ts b/clients/client-storage-gateway/src/commands/ListTapesCommand.ts index f885d474a7d49..a4efb5d75a8cd 100644 --- a/clients/client-storage-gateway/src/commands/ListTapesCommand.ts +++ b/clients/client-storage-gateway/src/commands/ListTapesCommand.ts @@ -40,7 +40,6 @@ export interface ListTapesCommandOutput extends ListTapesOutput, __MetadataBeare * (VTS). You specify the tapes to list by specifying one or more tape Amazon Resource Names * (ARNs). If you don't specify a tape ARN, the operation lists all virtual tapes in both * your VTL and VTS.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  This operation supports pagination. By default, the operation returns a maximum of up to * 100 tapes. You can optionally specify the Limit parameter in the body to limit * the number of tapes in the response. If the number of tapes returned in the response is diff --git a/clients/client-storage-gateway/src/commands/ListVolumeRecoveryPointsCommand.ts b/clients/client-storage-gateway/src/commands/ListVolumeRecoveryPointsCommand.ts index 313c0d2be1cf0..75355dd247a3f 100644 --- a/clients/client-storage-gateway/src/commands/ListVolumeRecoveryPointsCommand.ts +++ b/clients/client-storage-gateway/src/commands/ListVolumeRecoveryPointsCommand.ts @@ -38,7 +38,6 @@ export interface ListVolumeRecoveryPointsCommandOutput extends ListVolumeRecover * @public *

                                                                                                                                                                                                                                                                                                                                                  Lists the recovery points for a specified gateway. This operation is only supported in * the cached volume gateway type.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  Each cache volume has one recovery point. A volume recovery point is a point in time at * which all data of the volume is consistent and from which you can create a snapshot or * clone a new cached volume from a source volume. To create a snapshot from a volume recovery diff --git a/clients/client-storage-gateway/src/commands/ListVolumesCommand.ts b/clients/client-storage-gateway/src/commands/ListVolumesCommand.ts index db9b89d2f36af..3cacae167b2fb 100644 --- a/clients/client-storage-gateway/src/commands/ListVolumesCommand.ts +++ b/clients/client-storage-gateway/src/commands/ListVolumesCommand.ts @@ -39,7 +39,6 @@ export interface ListVolumesCommandOutput extends ListVolumesOutput, __MetadataB *

                                                                                                                                                                                                                                                                                                                                                  Lists the iSCSI stored volumes of a gateway. Results are sorted by volume ARN. The * response includes only the volume ARNs. If you want additional volume information, use the * DescribeStorediSCSIVolumes or the DescribeCachediSCSIVolumes API.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  The operation supports pagination. By default, the operation returns a maximum of up to * 100 volumes. You can optionally specify the Limit field in the body to limit * the number of volumes in the response. If the number of volumes returned in the response is diff --git a/clients/client-storage-gateway/src/commands/NotifyWhenUploadedCommand.ts b/clients/client-storage-gateway/src/commands/NotifyWhenUploadedCommand.ts index ed9c5a91235d7..659e6b5d327ef 100644 --- a/clients/client-storage-gateway/src/commands/NotifyWhenUploadedCommand.ts +++ b/clients/client-storage-gateway/src/commands/NotifyWhenUploadedCommand.ts @@ -38,15 +38,11 @@ export interface NotifyWhenUploadedCommandOutput extends NotifyWhenUploadedOutpu * @public *

                                                                                                                                                                                                                                                                                                                                                  Sends you notification through CloudWatch Events when all files written to your file * share have been uploaded to S3. Amazon S3.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  Storage Gateway can send a notification through Amazon CloudWatch Events when all * files written to your file share up to that point in time have been uploaded to Amazon S3. These files include files written to the file share up to the time that you * make a request for notification. When the upload is done, Storage Gateway sends you * notification through an Amazon CloudWatch Event. You can configure CloudWatch Events to * send the notification through event targets such as Amazon SNS or Lambda function. This operation is only supported for S3 File Gateways.

                                                                                                                                                                                                                                                                                                                                                  - * - * - * *

                                                                                                                                                                                                                                                                                                                                                  For more information, see Getting file upload notification in the Storage Gateway User * Guide.

                                                                                                                                                                                                                                                                                                                                                  * @example diff --git a/clients/client-storage-gateway/src/commands/RefreshCacheCommand.ts b/clients/client-storage-gateway/src/commands/RefreshCacheCommand.ts index e26859f9c8a2b..09c2853f9b77f 100644 --- a/clients/client-storage-gateway/src/commands/RefreshCacheCommand.ts +++ b/clients/client-storage-gateway/src/commands/RefreshCacheCommand.ts @@ -42,23 +42,19 @@ export interface RefreshCacheCommandOutput extends RefreshCacheOutput, __Metadat * does not import files into the S3 File Gateway cache storage. It only updates the cached * inventory to reflect changes in the inventory of the objects in the S3 bucket. This * operation is only supported in the S3 File Gateway types.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  You can subscribe to be notified through an Amazon CloudWatch event when your * RefreshCache operation completes. For more information, see Getting notified about file operations in the Storage Gateway * User Guide. This operation is Only supported for S3 File Gateways.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  When this API is called, it only initiates the refresh operation. When the API call * completes and returns a success code, it doesn't necessarily mean that the file * refresh has completed. You should use the refresh-complete notification to determine that * the operation has completed before you check for new files on the gateway file share. You * can subscribe to be notified through a CloudWatch event when your RefreshCache * operation completes.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  Throttle limit: This API is asynchronous, so the gateway will accept no more than two * refreshes at any time. We recommend using the refresh-complete CloudWatch event * notification before issuing additional requests. For more information, see Getting notified about file operations in the Storage Gateway * User Guide.

                                                                                                                                                                                                                                                                                                                                                  - * * *
                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                  • @@ -76,14 +72,10 @@ export interface RefreshCacheCommandOutput extends RefreshCacheOutput, __Metadat *
                                                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  The S3 bucket name does not need to be included when entering the list of folders in * the FolderList parameter.

                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                  - * - * - * *

                                                                                                                                                                                                                                                                                                                                                  For more information, see Getting notified about file operations in the Storage Gateway * User Guide.

                                                                                                                                                                                                                                                                                                                                                  * @example diff --git a/clients/client-storage-gateway/src/commands/ResetCacheCommand.ts b/clients/client-storage-gateway/src/commands/ResetCacheCommand.ts index b683044014d32..1ac861f3bea44 100644 --- a/clients/client-storage-gateway/src/commands/ResetCacheCommand.ts +++ b/clients/client-storage-gateway/src/commands/ResetCacheCommand.ts @@ -42,7 +42,6 @@ export interface ResetCacheCommandOutput extends ResetCacheOutput, __MetadataBea * can occur when a disk is corrupted or removed from the gateway. When a cache is reset, the * gateway loses its cache storage. At this point, you can reconfigure the disks as cache * disks. This operation is only supported in the cached volume and tape types.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  If the cache disk you are resetting contains data that has not been uploaded to * Amazon S3 yet, that data can be lost. After you reset cache disks, there will diff --git a/clients/client-storage-gateway/src/commands/RetrieveTapeArchiveCommand.ts b/clients/client-storage-gateway/src/commands/RetrieveTapeArchiveCommand.ts index fac09430c6f1d..d56a33ce91917 100644 --- a/clients/client-storage-gateway/src/commands/RetrieveTapeArchiveCommand.ts +++ b/clients/client-storage-gateway/src/commands/RetrieveTapeArchiveCommand.ts @@ -40,7 +40,6 @@ export interface RetrieveTapeArchiveCommandOutput extends RetrieveTapeArchiveOut * Virtual tapes archived in the VTS are not associated with any gateway. However after a tape * is retrieved, it is associated with a gateway, even though it is also listed in the VTS, * that is, archive. This operation is only supported in the tape gateway type.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  Once a tape is successfully retrieved to a gateway, it cannot be retrieved again to * another gateway. You must archive the tape again before you can retrieve it to another * gateway. This operation is only supported in the tape gateway type.

                                                                                                                                                                                                                                                                                                                                                  diff --git a/clients/client-storage-gateway/src/commands/RetrieveTapeRecoveryPointCommand.ts b/clients/client-storage-gateway/src/commands/RetrieveTapeRecoveryPointCommand.ts index e69f0930ede94..5cde312cce089 100644 --- a/clients/client-storage-gateway/src/commands/RetrieveTapeRecoveryPointCommand.ts +++ b/clients/client-storage-gateway/src/commands/RetrieveTapeRecoveryPointCommand.ts @@ -38,11 +38,9 @@ export interface RetrieveTapeRecoveryPointCommandOutput extends RetrieveTapeReco * @public *

                                                                                                                                                                                                                                                                                                                                                  Retrieves the recovery point for the specified virtual tape. This operation is only * supported in the tape gateway type.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  A recovery point is a point in time view of a virtual tape at which all the data on the * tape is consistent. If your gateway crashes, virtual tapes that have recovery points can be * recovered to a new gateway.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  The virtual tape can be retrieved to only one gateway. The retrieved tape is * read-only. The virtual tape can be retrieved to only a tape gateway. There is no charge diff --git a/clients/client-storage-gateway/src/commands/ShutdownGatewayCommand.ts b/clients/client-storage-gateway/src/commands/ShutdownGatewayCommand.ts index d1b5b18258c45..338f0aefba190 100644 --- a/clients/client-storage-gateway/src/commands/ShutdownGatewayCommand.ts +++ b/clients/client-storage-gateway/src/commands/ShutdownGatewayCommand.ts @@ -38,26 +38,21 @@ export interface ShutdownGatewayCommandOutput extends ShutdownGatewayOutput, __M * @public *

                                                                                                                                                                                                                                                                                                                                                  Shuts down a gateway. To specify which gateway to shut down, use the Amazon Resource * Name (ARN) of the gateway in the body of your request.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  The operation shuts down the gateway service component running in the gateway's * virtual machine (VM) and not the host VM.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  If you want to shut down the VM, it is recommended that you first shut down the * gateway component in the VM to avoid unpredictable conditions.

                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  After the gateway is shutdown, you cannot call any other API except StartGateway, DescribeGatewayInformation, and ListGateways. For more information, see ActivateGateway. * Your applications cannot read from or write to the gateway's storage volumes, and * there are no snapshots taken.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  When you make a shutdown request, you will get a 200 OK success response * immediately. However, it might take some time for the gateway to shut down. You can call * the DescribeGatewayInformation API to check the status. For more * information, see ActivateGateway.

                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  If do not intend to use the gateway again, you must delete the gateway (using DeleteGateway) to no longer pay software charges associated with the * gateway.

                                                                                                                                                                                                                                                                                                                                                  * @example diff --git a/clients/client-storage-gateway/src/commands/StartGatewayCommand.ts b/clients/client-storage-gateway/src/commands/StartGatewayCommand.ts index 981c95087dcac..4c8c0fc7333ce 100644 --- a/clients/client-storage-gateway/src/commands/StartGatewayCommand.ts +++ b/clients/client-storage-gateway/src/commands/StartGatewayCommand.ts @@ -40,13 +40,11 @@ export interface StartGatewayCommandOutput extends StartGatewayOutput, __Metadat * After the gateway starts, you can then make other API calls, your applications can read * from or write to the gateway's storage volumes and you will be able to take snapshot * backups.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  When you make a request, you will get a 200 OK success response immediately. However, * it might take some time for the gateway to be ready. You should call DescribeGatewayInformation and check the status before making any * additional API calls. For more information, see ActivateGateway.

                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  To specify which gateway to start, use the Amazon Resource Name (ARN) of the gateway in * your request.

                                                                                                                                                                                                                                                                                                                                                  * @example diff --git a/clients/client-storage-gateway/src/commands/UpdateAutomaticTapeCreationPolicyCommand.ts b/clients/client-storage-gateway/src/commands/UpdateAutomaticTapeCreationPolicyCommand.ts index 1c8e749b1ee07..5fccb520d317c 100644 --- a/clients/client-storage-gateway/src/commands/UpdateAutomaticTapeCreationPolicyCommand.ts +++ b/clients/client-storage-gateway/src/commands/UpdateAutomaticTapeCreationPolicyCommand.ts @@ -44,9 +44,7 @@ export interface UpdateAutomaticTapeCreationPolicyCommandOutput *

                                                                                                                                                                                                                                                                                                                                                  Updates the automatic tape creation policy of a gateway. Use this to update the policy * with a new set of automatic tape creation rules. This is only supported for tape * gateways.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  By default, there is no automatic tape creation policy.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  A gateway can have only one automatic tape creation policy.

                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                  diff --git a/clients/client-storage-gateway/src/commands/UpdateBandwidthRateLimitCommand.ts b/clients/client-storage-gateway/src/commands/UpdateBandwidthRateLimitCommand.ts index ac7d658a46711..6c57743ef7bdb 100644 --- a/clients/client-storage-gateway/src/commands/UpdateBandwidthRateLimitCommand.ts +++ b/clients/client-storage-gateway/src/commands/UpdateBandwidthRateLimitCommand.ts @@ -41,11 +41,9 @@ export interface UpdateBandwidthRateLimitCommandOutput extends UpdateBandwidthRa * bandwidth rate limit, the existing rate limit remains. This operation is supported only for * the stored volume, cached volume, and tape gateway types. To update bandwidth rate limits * for S3 file gateways, use UpdateBandwidthRateLimitSchedule.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  By default, a gateway's bandwidth rate limits are not set. If you don't set * any limit, the gateway does not have any limitations on its bandwidth usage and could * potentially use the maximum available bandwidth.

                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in * your request.

                                                                                                                                                                                                                                                                                                                                                  * @example diff --git a/clients/client-storage-gateway/src/commands/UpdateChapCredentialsCommand.ts b/clients/client-storage-gateway/src/commands/UpdateChapCredentialsCommand.ts index 1799409aa28f3..7a8411dd6d486 100644 --- a/clients/client-storage-gateway/src/commands/UpdateChapCredentialsCommand.ts +++ b/clients/client-storage-gateway/src/commands/UpdateChapCredentialsCommand.ts @@ -44,7 +44,6 @@ export interface UpdateChapCredentialsCommandOutput extends UpdateChapCredential * specified iSCSI target. By default, a gateway does not have CHAP enabled; however, for * added security, you might use it. This operation is supported in the volume and tape * gateway types.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  When you update CHAP credentials, all existing connections on the target are closed * and initiators must reconnect with the new credentials.

                                                                                                                                                                                                                                                                                                                                                  diff --git a/clients/client-storage-gateway/src/commands/UpdateGatewayInformationCommand.ts b/clients/client-storage-gateway/src/commands/UpdateGatewayInformationCommand.ts index b07d6e0cb9610..b48560de83ca2 100644 --- a/clients/client-storage-gateway/src/commands/UpdateGatewayInformationCommand.ts +++ b/clients/client-storage-gateway/src/commands/UpdateGatewayInformationCommand.ts @@ -39,7 +39,6 @@ export interface UpdateGatewayInformationCommandOutput extends UpdateGatewayInfo *

                                                                                                                                                                                                                                                                                                                                                  Updates a gateway's metadata, which includes the gateway's name and time zone. * To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in * your request.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  For gateways activated after September 2, 2015, the gateway's ARN contains the * gateway ID rather than the gateway name. However, changing the name of the gateway has @@ -56,7 +55,7 @@ export interface UpdateGatewayInformationCommandOutput extends UpdateGatewayInfo * GatewayName: "STRING_VALUE", * GatewayTimezone: "STRING_VALUE", * CloudWatchLogGroupARN: "STRING_VALUE", - * GatewayCapacity: "STRING_VALUE", + * GatewayCapacity: "Small" || "Medium" || "Large", * }; * const command = new UpdateGatewayInformationCommand(input); * const response = await client.send(command); diff --git a/clients/client-storage-gateway/src/commands/UpdateGatewaySoftwareNowCommand.ts b/clients/client-storage-gateway/src/commands/UpdateGatewaySoftwareNowCommand.ts index e6e2b68ab071c..9c9e28f1c5f52 100644 --- a/clients/client-storage-gateway/src/commands/UpdateGatewaySoftwareNowCommand.ts +++ b/clients/client-storage-gateway/src/commands/UpdateGatewaySoftwareNowCommand.ts @@ -38,14 +38,12 @@ export interface UpdateGatewaySoftwareNowCommandOutput extends UpdateGatewaySoft * @public *

                                                                                                                                                                                                                                                                                                                                                  Updates the gateway virtual machine (VM) software. The request immediately triggers the * software update.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  When you make this request, you get a 200 OK success response * immediately. However, it might take some time for the update to complete. You can call * DescribeGatewayInformation to verify the gateway is in the * STATE_RUNNING state.

                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  A software update forces a system restart of your gateway. You can minimize the * chance of any disruption to your applications by increasing your iSCSI Initiators' diff --git a/clients/client-storage-gateway/src/commands/UpdateNFSFileShareCommand.ts b/clients/client-storage-gateway/src/commands/UpdateNFSFileShareCommand.ts index a03d8a7f31c15..573026d371dde 100644 --- a/clients/client-storage-gateway/src/commands/UpdateNFSFileShareCommand.ts +++ b/clients/client-storage-gateway/src/commands/UpdateNFSFileShareCommand.ts @@ -38,14 +38,11 @@ export interface UpdateNFSFileShareCommandOutput extends UpdateNFSFileShareOutpu * @public *

                                                                                                                                                                                                                                                                                                                                                  Updates a Network File System (NFS) file share. This operation is only supported in S3 * File Gateways.

                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                  To leave a file share field unchanged, set the corresponding input field to * null.

                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                  Updates the following file share settings:

                                                                                                                                                                                                                                                                                                                                                  - * *
                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                  • *

                                                                                                                                                                                                                                                                                                                                                    Default storage class for your S3 bucket

                                                                                                                                                                                                                                                                                                                                                    @@ -80,7 +77,7 @@ export interface UpdateNFSFileShareCommandOutput extends UpdateNFSFileShareOutpu * OwnerId: Number("long"), * }, * DefaultStorageClass: "STRING_VALUE", - * ObjectACL: "STRING_VALUE", + * ObjectACL: "private" || "public-read" || "public-read-write" || "authenticated-read" || "bucket-owner-read" || "bucket-owner-full-control" || "aws-exec-read", * ClientList: [ // FileShareClientList * "STRING_VALUE", * ], diff --git a/clients/client-storage-gateway/src/commands/UpdateSMBFileShareCommand.ts b/clients/client-storage-gateway/src/commands/UpdateSMBFileShareCommand.ts index 74a48fb5ae335..40f2d54e67cbc 100644 --- a/clients/client-storage-gateway/src/commands/UpdateSMBFileShareCommand.ts +++ b/clients/client-storage-gateway/src/commands/UpdateSMBFileShareCommand.ts @@ -38,12 +38,10 @@ export interface UpdateSMBFileShareCommandOutput extends UpdateSMBFileShareOutpu * @public *

                                                                                                                                                                                                                                                                                                                                                    Updates a Server Message Block (SMB) file share. This operation is only supported for S3 * File Gateways.

                                                                                                                                                                                                                                                                                                                                                    - * * *

                                                                                                                                                                                                                                                                                                                                                    To leave a file share field unchanged, set the corresponding input field to * null.

                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                    - * * *

                                                                                                                                                                                                                                                                                                                                                    File gateways require Security Token Service (Amazon Web Services STS) to be * activated to enable you to create a file share. Make sure that Amazon Web Services STS @@ -52,7 +50,6 @@ export interface UpdateSMBFileShareCommandOutput extends UpdateSMBFileShareOutpu * it. For information about how to activate Amazon Web Services STS, see Activating and * deactivating Amazon Web Services STS in an Amazon Web Services Region in the * Identity and Access Management User Guide.

                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                    File gateways don't support creating hard or symbolic links on a file * share.

                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                    @@ -67,7 +64,7 @@ export interface UpdateSMBFileShareCommandOutput extends UpdateSMBFileShareOutpu * KMSEncrypted: true || false, * KMSKey: "STRING_VALUE", * DefaultStorageClass: "STRING_VALUE", - * ObjectACL: "STRING_VALUE", + * ObjectACL: "private" || "public-read" || "public-read-write" || "authenticated-read" || "bucket-owner-read" || "bucket-owner-full-control" || "aws-exec-read", * ReadOnly: true || false, * GuessMIMETypeEnabled: true || false, * RequesterPays: true || false, @@ -83,7 +80,7 @@ export interface UpdateSMBFileShareCommandOutput extends UpdateSMBFileShareOutpu * "STRING_VALUE", * ], * AuditDestinationARN: "STRING_VALUE", - * CaseSensitivity: "STRING_VALUE", + * CaseSensitivity: "ClientSpecified" || "CaseSensitive", * FileShareName: "STRING_VALUE", * CacheAttributes: { // CacheAttributes * CacheStaleTimeoutInSeconds: Number("int"), diff --git a/clients/client-storage-gateway/src/commands/UpdateSMBSecurityStrategyCommand.ts b/clients/client-storage-gateway/src/commands/UpdateSMBSecurityStrategyCommand.ts index a80579d8b2ebe..3c6efc76dd3d1 100644 --- a/clients/client-storage-gateway/src/commands/UpdateSMBSecurityStrategyCommand.ts +++ b/clients/client-storage-gateway/src/commands/UpdateSMBSecurityStrategyCommand.ts @@ -38,10 +38,8 @@ export interface UpdateSMBSecurityStrategyCommandOutput extends UpdateSMBSecurit * @public *

                                                                                                                                                                                                                                                                                                                                                    Updates the SMB security strategy on a file gateway. This action is only supported in * file gateways.

                                                                                                                                                                                                                                                                                                                                                    - * * *

                                                                                                                                                                                                                                                                                                                                                    This API is called Security level in the User Guide.

                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                    A higher security level can affect performance of the gateway.

                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                    * @example @@ -52,7 +50,7 @@ export interface UpdateSMBSecurityStrategyCommandOutput extends UpdateSMBSecurit * const client = new StorageGatewayClient(config); * const input = { // UpdateSMBSecurityStrategyInput * GatewayARN: "STRING_VALUE", // required - * SMBSecurityStrategy: "STRING_VALUE", // required + * SMBSecurityStrategy: "ClientSpecified" || "MandatorySigning" || "MandatoryEncryption", // required * }; * const command = new UpdateSMBSecurityStrategyCommand(input); * const response = await client.send(command); diff --git a/clients/client-storage-gateway/src/commands/UpdateSnapshotScheduleCommand.ts b/clients/client-storage-gateway/src/commands/UpdateSnapshotScheduleCommand.ts index bf26e2d2e1f36..a120daf1fe6c5 100644 --- a/clients/client-storage-gateway/src/commands/UpdateSnapshotScheduleCommand.ts +++ b/clients/client-storage-gateway/src/commands/UpdateSnapshotScheduleCommand.ts @@ -38,11 +38,9 @@ export interface UpdateSnapshotScheduleCommandOutput extends UpdateSnapshotSched * @public *

                                                                                                                                                                                                                                                                                                                                                    Updates a snapshot schedule configured for a gateway volume. This operation is only * supported in the cached volume and stored volume gateway types.

                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                    The default snapshot schedule for volume is once every 24 hours, starting at the * creation time of the volume. You can use this API to change the snapshot schedule * configured for the volume.

                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                    In the request you must identify the gateway volume whose snapshot schedule you want to * update, and the schedule information, including when you want the snapshot to begin on a * day and the frequency (in hours) of snapshots.

                                                                                                                                                                                                                                                                                                                                                    diff --git a/clients/client-storage-gateway/src/endpoint/ruleset.ts b/clients/client-storage-gateway/src/endpoint/ruleset.ts index 420220818ce46..8605ca0f42912 100644 --- a/clients/client-storage-gateway/src/endpoint/ruleset.ts +++ b/clients/client-storage-gateway/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/storage-gateway.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://storagegateway-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://storagegateway-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://storagegateway.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://storagegateway.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://storagegateway-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://storagegateway-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://storagegateway.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://storagegateway.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-storage-gateway/src/index.ts b/clients/client-storage-gateway/src/index.ts index 22af591c9f4fb..faf334fc5f65b 100644 --- a/clients/client-storage-gateway/src/index.ts +++ b/clients/client-storage-gateway/src/index.ts @@ -2,15 +2,12 @@ /* eslint-disable */ /** * Storage Gateway Service - * *

                                                                                                                                                                                                                                                                                                                                                    Storage Gateway is the service that connects an on-premises software appliance * with cloud-based storage to provide seamless and secure integration between an * organization's on-premises IT environment and the Amazon Web Services storage * infrastructure. The service enables you to securely upload data to the Amazon Web Services Cloud for cost effective backup and rapid disaster recovery.

                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                    Use the following links to get started using the Storage Gateway * Service API Reference:

                                                                                                                                                                                                                                                                                                                                                    - * *
                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                    • *

                                                                                                                                                                                                                                                                                                                                                      @@ -38,7 +35,6 @@ * and the endpoints available for use with Storage Gateway.

                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                                                                                                                    - * * *

                                                                                                                                                                                                                                                                                                                                                    Storage Gateway resource IDs are in uppercase. When you use these resource IDs * with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must change @@ -47,7 +43,6 @@ * this ID with the EC2 API, you must change it to vol-aa22bb012345daf670. * Otherwise, the EC2 API might not behave as expected.

                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                    - * * *

                                                                                                                                                                                                                                                                                                                                                    IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway * volumes are changing to a longer format. Starting in December 2016, all new volumes and @@ -55,16 +50,12 @@ * be able to use these longer IDs so you can test your systems with the new format. For * more information, see Longer EC2 and * EBS resource IDs.

                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                    For example, a volume Amazon Resource Name (ARN) with the longer volume ID format * looks like the following:

                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                    * arn:aws:storagegateway:us-west-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABBCCDDEEFFG.

                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                    A snapshot ID with the longer ID format looks like the following: * snap-78e226633445566ee.

                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                    For more information, see Announcement: * Heads-up – Longer Storage Gateway volume and snapshot IDs coming in * 2016.

                                                                                                                                                                                                                                                                                                                                                    diff --git a/clients/client-storage-gateway/src/models/models_0.ts b/clients/client-storage-gateway/src/models/models_0.ts index 26cd95da1efcc..a59a67ea4bd07 100644 --- a/clients/client-storage-gateway/src/models/models_0.ts +++ b/clients/client-storage-gateway/src/models/models_0.ts @@ -26,7 +26,6 @@ export interface Tag { /** * @public *

                                                                                                                                                                                                                                                                                                                                                    A JSON object containing one or more of the following fields:

                                                                                                                                                                                                                                                                                                                                                    - * *
                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                    • *

                                                                                                                                                                                                                                                                                                                                                      @@ -75,9 +74,6 @@ export interface ActivateGatewayInput { * parameters, however, these are merely defaults -- the arguments you pass to the * ActivateGateway API call determine the actual configuration of your * gateway.

                                                                                                                                                                                                                                                                                                                                                      - * - * - * *

                                                                                                                                                                                                                                                                                                                                                      For more information, see Getting activation * key in the Storage Gateway User Guide.

                                                                                                                                                                                                                                                                                                                                                      */ @@ -107,7 +103,6 @@ export interface ActivateGatewayInput { * information about available Amazon Web Services Regions and endpoints for Storage Gateway, see * Storage Gateway endpoints and quotas in the Amazon Web Services * General Reference.

                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                      Valid Values: See * Storage Gateway endpoints and quotas in the Amazon Web Services * General Reference. @@ -121,7 +116,6 @@ export interface ActivateGatewayInput { *

                                                                                                                                                                                                                                                                                                                                                      A value that defines the type of gateway to activate. The type specified is critical to * all later functions of the gateway and cannot be changed after activation. The default * value is CACHED.

                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                      Valid Values: STORED | CACHED | VTL | * VTL_SNOW | FILE_S3 | FILE_FSX_SMB *

                                                                                                                                                                                                                                                                                                                                                      @@ -132,7 +126,6 @@ export interface ActivateGatewayInput { * @public *

                                                                                                                                                                                                                                                                                                                                                      The value that indicates the type of tape drive to use for tape gateway. This field is * optional.

                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                      Valid Values: IBM-ULT3580-TD5 *

                                                                                                                                                                                                                                                                                                                                                      */ @@ -142,7 +135,6 @@ export interface ActivateGatewayInput { * @public *

                                                                                                                                                                                                                                                                                                                                                      The value that indicates the type of medium changer to use for tape gateway. This field * is optional.

                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                      Valid Values: STK-L700 | AWS-Gateway-VTL | * IBM-03584L32-0402 *

                                                                                                                                                                                                                                                                                                                                                      @@ -153,7 +145,6 @@ export interface ActivateGatewayInput { * @public *

                                                                                                                                                                                                                                                                                                                                                      A list of up to 50 tags that you can assign to the gateway. Each tag is a key-value * pair.

                                                                                                                                                                                                                                                                                                                                                      - * * *

                                                                                                                                                                                                                                                                                                                                                      Valid characters for key and value are letters, spaces, and numbers that can be * represented in UTF-8 format, and the following special characters: + - = . _ : / @. The @@ -169,7 +160,6 @@ export interface ActivateGatewayInput { *

                                                                                                                                                                                                                                                                                                                                                      Storage Gateway returns the Amazon Resource Name (ARN) of the activated gateway. It * is a string made of information such as your account, gateway name, and Amazon Web Services Region. This ARN is used to reference the gateway in other API operations as * well as resource-based authorization.

                                                                                                                                                                                                                                                                                                                                                      - * * *

                                                                                                                                                                                                                                                                                                                                                      For gateways activated prior to September 02, 2015, the gateway ARN contains the * gateway name rather than the gateway ID. Changing the name of the gateway has no effect @@ -187,70 +177,77 @@ export interface ActivateGatewayOutput { /** * @public + * @enum */ -export type ErrorCode = - | "ActivationKeyExpired" - | "ActivationKeyInvalid" - | "ActivationKeyNotFound" - | "AuthenticationFailure" - | "BandwidthThrottleScheduleNotFound" - | "Blocked" - | "CannotExportSnapshot" - | "ChapCredentialNotFound" - | "DiskAlreadyAllocated" - | "DiskDoesNotExist" - | "DiskSizeGreaterThanVolumeMaxSize" - | "DiskSizeLessThanVolumeSize" - | "DiskSizeNotGigAligned" - | "DuplicateCertificateInfo" - | "DuplicateSchedule" - | "EndpointNotFound" - | "GatewayInternalError" - | "GatewayNotConnected" - | "GatewayNotFound" - | "GatewayProxyNetworkConnectionBusy" - | "IAMNotSupported" - | "InitiatorInvalid" - | "InitiatorNotFound" - | "InternalError" - | "InvalidEndpoint" - | "InvalidGateway" - | "InvalidParameters" - | "InvalidSchedule" - | "JoinDomainInProgress" - | "LocalStorageLimitExceeded" - | "LunAlreadyAllocated " - | "LunInvalid" - | "MaximumContentLengthExceeded" - | "MaximumTapeCartridgeCountExceeded" - | "MaximumVolumeCountExceeded" - | "NetworkConfigurationChanged" - | "NoDisksAvailable" - | "NotImplemented" - | "NotSupported" - | "OperationAborted" - | "OutdatedGateway" - | "ParametersNotImplemented" - | "RegionInvalid" - | "RequestTimeout" - | "ServiceUnavailable" - | "SnapshotDeleted" - | "SnapshotIdInvalid" - | "SnapshotInProgress" - | "SnapshotNotFound" - | "SnapshotScheduleNotFound" - | "StagingAreaFull" - | "StorageFailure" - | "TapeCartridgeNotFound" - | "TargetAlreadyExists" - | "TargetInvalid" - | "TargetNotFound" - | "UnauthorizedOperation" - | "VolumeAlreadyExists" - | "VolumeIdInvalid" - | "VolumeInUse" - | "VolumeNotFound" - | "VolumeNotReady"; +export const ErrorCode = { + ActivationKeyExpired: "ActivationKeyExpired", + ActivationKeyInvalid: "ActivationKeyInvalid", + ActivationKeyNotFound: "ActivationKeyNotFound", + AuthenticationFailure: "AuthenticationFailure", + BandwidthThrottleScheduleNotFound: "BandwidthThrottleScheduleNotFound", + Blocked: "Blocked", + CannotExportSnapshot: "CannotExportSnapshot", + ChapCredentialNotFound: "ChapCredentialNotFound", + DiskAlreadyAllocated: "DiskAlreadyAllocated", + DiskDoesNotExist: "DiskDoesNotExist", + DiskSizeGreaterThanVolumeMaxSize: "DiskSizeGreaterThanVolumeMaxSize", + DiskSizeLessThanVolumeSize: "DiskSizeLessThanVolumeSize", + DiskSizeNotGigAligned: "DiskSizeNotGigAligned", + DuplicateCertificateInfo: "DuplicateCertificateInfo", + DuplicateSchedule: "DuplicateSchedule", + EndpointNotFound: "EndpointNotFound", + GatewayInternalError: "GatewayInternalError", + GatewayNotConnected: "GatewayNotConnected", + GatewayNotFound: "GatewayNotFound", + GatewayProxyNetworkConnectionBusy: "GatewayProxyNetworkConnectionBusy", + IAMNotSupported: "IAMNotSupported", + InitiatorInvalid: "InitiatorInvalid", + InitiatorNotFound: "InitiatorNotFound", + InternalError: "InternalError", + InvalidEndpoint: "InvalidEndpoint", + InvalidGateway: "InvalidGateway", + InvalidParameters: "InvalidParameters", + InvalidSchedule: "InvalidSchedule", + JoinDomainInProgress: "JoinDomainInProgress", + LocalStorageLimitExceeded: "LocalStorageLimitExceeded", + LunAlreadyAllocated_: "LunAlreadyAllocated ", + LunInvalid: "LunInvalid", + MaximumContentLengthExceeded: "MaximumContentLengthExceeded", + MaximumTapeCartridgeCountExceeded: "MaximumTapeCartridgeCountExceeded", + MaximumVolumeCountExceeded: "MaximumVolumeCountExceeded", + NetworkConfigurationChanged: "NetworkConfigurationChanged", + NoDisksAvailable: "NoDisksAvailable", + NotImplemented: "NotImplemented", + NotSupported: "NotSupported", + OperationAborted: "OperationAborted", + OutdatedGateway: "OutdatedGateway", + ParametersNotImplemented: "ParametersNotImplemented", + RegionInvalid: "RegionInvalid", + RequestTimeout: "RequestTimeout", + ServiceUnavailable: "ServiceUnavailable", + SnapshotDeleted: "SnapshotDeleted", + SnapshotIdInvalid: "SnapshotIdInvalid", + SnapshotInProgress: "SnapshotInProgress", + SnapshotNotFound: "SnapshotNotFound", + SnapshotScheduleNotFound: "SnapshotScheduleNotFound", + StagingAreaFull: "StagingAreaFull", + StorageFailure: "StorageFailure", + TapeCartridgeNotFound: "TapeCartridgeNotFound", + TargetAlreadyExists: "TargetAlreadyExists", + TargetInvalid: "TargetInvalid", + TargetNotFound: "TargetNotFound", + UnauthorizedOperation: "UnauthorizedOperation", + VolumeAlreadyExists: "VolumeAlreadyExists", + VolumeIdInvalid: "VolumeIdInvalid", + VolumeInUse: "VolumeInUse", + VolumeNotFound: "VolumeNotFound", + VolumeNotReady: "VolumeNotReady", +} as const; + +/** + * @public + */ +export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode]; /** * @public @@ -330,17 +327,24 @@ export class InvalidGatewayRequestException extends __BaseException { } } +/** + * @public + * @enum + */ +export const ActiveDirectoryStatus = { + ACCESS_DENIED: "ACCESS_DENIED", + DETACHED: "DETACHED", + JOINED: "JOINED", + JOINING: "JOINING", + NETWORK_ERROR: "NETWORK_ERROR", + TIMEOUT: "TIMEOUT", + UNKNOWN_ERROR: "UNKNOWN_ERROR", +} as const; + /** * @public */ -export type ActiveDirectoryStatus = - | "ACCESS_DENIED" - | "DETACHED" - | "JOINED" - | "JOINING" - | "NETWORK_ERROR" - | "TIMEOUT" - | "UNKNOWN_ERROR"; +export type ActiveDirectoryStatus = (typeof ActiveDirectoryStatus)[keyof typeof ActiveDirectoryStatus]; /** * @public @@ -389,7 +393,6 @@ export interface AddTagsToResourceInput { * @public *

                                                                                                                                                                                                                                                                                                                                                      The key-value pair that represents the tag you want to add to the resource. The value * can be an empty string.

                                                                                                                                                                                                                                                                                                                                                      - * * *

                                                                                                                                                                                                                                                                                                                                                      Valid characters for key and value are letters, spaces, and numbers representable in * UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length @@ -447,7 +450,6 @@ export interface AddUploadBufferOutput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                      A JSON object containing one or more of the following fields:

                                                                                                                                                                                                                                                                                                                                                      - * *
                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                      • *

                                                                                                                                                                                                                                                                                                                                                        @@ -515,7 +517,6 @@ export interface AssignTapePoolInput { * BypassGovernanceRetention, setting this to TRUE enables the user to bypass * the retention lock. This parameter is set to true by default for calls from the * console.

                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                        Valid values: TRUE | FALSE *

                                                                                                                                                                                                                                                                                                                                                        */ @@ -545,7 +546,6 @@ export interface CacheAttributes { * time since the last refresh after which access to the directory would cause the file * gateway to first refresh that directory's contents from the Amazon S3 bucket * or Amazon FSx file system. The TTL duration is in seconds.

                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                        Valid Values:0, 300 to 2,592,000 seconds (5 minutes to 30 days)

                                                                                                                                                                                                                                                                                                                                                        */ CacheStaleTimeoutInSeconds?: number; @@ -668,7 +668,6 @@ export interface AttachVolumeInput { * myvolume results in the target ARN of * arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. * The target name must be unique across all volumes on a gateway.

                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                        If you don't specify a value, Storage Gateway uses the value that was previously * used for this volume as the new target name.

                                                                                                                                                                                                                                                                                                                                                        */ @@ -685,7 +684,6 @@ export interface AttachVolumeInput { *

                                                                                                                                                                                                                                                                                                                                                        The network interface of the gateway on which to expose the iSCSI target. Only IPv4 * addresses are accepted. Use DescribeGatewayInformation to get a list of * the network interfaces available on a gateway.

                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                        Valid Values: A valid IP address.

                                                                                                                                                                                                                                                                                                                                                        */ NetworkInterfaceId: string | undefined; @@ -729,7 +727,6 @@ export interface AutomaticTapeCreationRule { * @public *

                                                                                                                                                                                                                                                                                                                                                        A prefix that you append to the barcode of the virtual tape that you are creating. This * prefix makes the barcode unique.

                                                                                                                                                                                                                                                                                                                                                        - * * *

                                                                                                                                                                                                                                                                                                                                                        The prefix must be 1-4 characters in length and must be one of the uppercase letters * from A to Z.

                                                                                                                                                                                                                                                                                                                                                        @@ -793,10 +790,21 @@ export interface AutomaticTapeCreationPolicyInfo { GatewayARN?: string; } +/** + * @public + * @enum + */ +export const AvailabilityMonitorTestStatus = { + COMPLETE: "COMPLETE", + FAILED: "FAILED", + PENDING: "PENDING", +} as const; + /** * @public */ -export type AvailabilityMonitorTestStatus = "COMPLETE" | "FAILED" | "PENDING"; +export type AvailabilityMonitorTestStatus = + (typeof AvailabilityMonitorTestStatus)[keyof typeof AvailabilityMonitorTestStatus]; /** * @public @@ -829,7 +837,6 @@ export interface BandwidthRateLimitInterval { /** * @public *

                                                                                                                                                                                                                                                                                                                                                        The minute of the hour to end the bandwidth rate limit interval.

                                                                                                                                                                                                                                                                                                                                                        - * * *

                                                                                                                                                                                                                                                                                                                                                        The bandwidth rate limit interval ends at the end of the minute. To end an interval * at the end of an hour, use the value 59.

                                                                                                                                                                                                                                                                                                                                                        @@ -976,11 +983,9 @@ export interface CachediSCSIVolume { * value can be useful for sequential write patterns but less accurate for random write * patterns. VolumeUsedInBytes is different from the compressed size of the * volume, which is the value that is used to calculate your bill.

                                                                                                                                                                                                                                                                                                                                                        - * * *

                                                                                                                                                                                                                                                                                                                                                        This value is not available for volumes created prior to May 13, 2015, until you * store data on the volume.

                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                        If you use a delete tool that overwrites the data on your volume with random data, * your usage will not be reduced. This is because the random data is not compressible. If * you want to reduce the amount of billed storage on your volume, we recommend overwriting @@ -1004,7 +1009,6 @@ export interface CachediSCSIVolume { * myvolume results in the target ARN of * arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. * The target name must be unique across all volumes on a gateway.

                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                        If you don't specify a value, Storage Gateway uses the value that was previously * used for this volume as the new target name.

                                                                                                                                                                                                                                                                                                                                                        */ @@ -1079,8 +1083,17 @@ export interface CancelRetrievalOutput { /** * @public + * @enum */ -export type CaseSensitivity = "CaseSensitive" | "ClientSpecified"; +export const CaseSensitivity = { + CaseSensitive: "CaseSensitive", + ClientSpecified: "ClientSpecified", +} as const; + +/** + * @public + */ +export type CaseSensitivity = (typeof CaseSensitivity)[keyof typeof CaseSensitivity]; /** * @public @@ -1091,7 +1104,6 @@ export interface ChapInfo { /** * @public *

                                                                                                                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) of the volume.

                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                        Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

                                                                                                                                                                                                                                                                                                                                                        */ TargetARN?: string; @@ -1150,7 +1162,6 @@ export interface CreateCachediSCSIVolumeInput { * myvolume results in the target ARN of * arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. * The target name must be unique across all volumes on a gateway.

                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                        If you don't specify a value, Storage Gateway uses the value that was previously * used for this volume as the new target name.

                                                                                                                                                                                                                                                                                                                                                        */ @@ -1170,7 +1181,6 @@ export interface CreateCachediSCSIVolumeInput { *

                                                                                                                                                                                                                                                                                                                                                        The network interface of the gateway on which to expose the iSCSI target. Only IPv4 * addresses are accepted. Use DescribeGatewayInformation to get a list of * the network interfaces available on a gateway.

                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                        Valid Values: A valid IP address.

                                                                                                                                                                                                                                                                                                                                                        */ NetworkInterfaceId: string | undefined; @@ -1187,7 +1197,6 @@ export interface CreateCachediSCSIVolumeInput { *

                                                                                                                                                                                                                                                                                                                                                        Set to true to use Amazon S3 server-side encryption with your own * KMS key, or false to use a key managed by Amazon S3. * Optional.

                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                        Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                        */ @@ -1204,7 +1213,6 @@ export interface CreateCachediSCSIVolumeInput { * @public *

                                                                                                                                                                                                                                                                                                                                                        A list of up to 50 tags that you can assign to a cached volume. Each tag is a key-value * pair.

                                                                                                                                                                                                                                                                                                                                                        - * * *

                                                                                                                                                                                                                                                                                                                                                        Valid characters for key and value are letters, spaces, and numbers that you can * represent in UTF-8 format, and the following special characters: + - = . _ : / @. The @@ -1274,15 +1282,22 @@ export interface NFSFileShareDefaults { /** * @public + * @enum */ -export type ObjectACL = - | "authenticated-read" - | "aws-exec-read" - | "bucket-owner-full-control" - | "bucket-owner-read" - | "private" - | "public-read" - | "public-read-write"; +export const ObjectACL = { + authenticated_read: "authenticated-read", + aws_exec_read: "aws-exec-read", + bucket_owner_full_control: "bucket-owner-full-control", + bucket_owner_read: "bucket-owner-read", + private: "private", + public_read: "public-read", + public_read_write: "public-read-write", +} as const; + +/** + * @public + */ +export type ObjectACL = (typeof ObjectACL)[keyof typeof ObjectACL]; /** * @public @@ -1314,7 +1329,6 @@ export interface CreateNFSFileShareInput { *

                                                                                                                                                                                                                                                                                                                                                        Set to true to use Amazon S3 server-side encryption with your own * KMS key, or false to use a key managed by Amazon S3. * Optional.

                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                        Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                        */ @@ -1342,20 +1356,16 @@ export interface CreateNFSFileShareInput { * *

                                                                                                                                                                                                                                                                                                                                                        You can specify LocationARN as a bucket ARN, access point ARN or access point alias, * as shown in the following examples.

                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                        Bucket ARN:

                                                                                                                                                                                                                                                                                                                                                        *

                                                                                                                                                                                                                                                                                                                                                        * arn:aws:s3:::my-bucket/prefix/ *

                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                        Access point ARN:

                                                                                                                                                                                                                                                                                                                                                        *

                                                                                                                                                                                                                                                                                                                                                        * arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/ *

                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                        If you specify an access point, the bucket policy must be configured to delegate * access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                        Access point alias:

                                                                                                                                                                                                                                                                                                                                                        *

                                                                                                                                                                                                                                                                                                                                                        * test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias @@ -1368,7 +1378,6 @@ export interface CreateNFSFileShareInput { * @public *

                                                                                                                                                                                                                                                                                                                                                        The default storage class for objects put into an Amazon S3 bucket by the S3 * File Gateway. The default value is S3_STANDARD. Optional.

                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                        Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | * S3_STANDARD_IA | S3_ONEZONE_IA *

                                                                                                                                                                                                                                                                                                                                                        @@ -1392,9 +1401,7 @@ export interface CreateNFSFileShareInput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                        A value that maps a user to anonymous user.

                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                        Valid values are the following:

                                                                                                                                                                                                                                                                                                                                                        - * *
                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                        • *

                                                                                                                                                                                                                                                                                                                                                          @@ -1416,7 +1423,6 @@ export interface CreateNFSFileShareInput { * @public *

                                                                                                                                                                                                                                                                                                                                                          A value that sets the write status of a file share. Set this value to true * to set the write status to read-only, otherwise set to false.

                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                          */ @@ -1427,7 +1433,6 @@ export interface CreateNFSFileShareInput { *

                                                                                                                                                                                                                                                                                                                                                          A value that enables guessing of the MIME type for uploaded objects based on file * extensions. Set this value to true to enable MIME type guessing, otherwise set * to false. The default value is true.

                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                          */ @@ -1439,14 +1444,12 @@ export interface CreateNFSFileShareInput { * download from the S3 bucket. If this value is set to true, the requester pays * the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays * the cost of storing data.

                                                                                                                                                                                                                                                                                                                                                          - * * *

                                                                                                                                                                                                                                                                                                                                                          * RequesterPays is a configuration for the S3 bucket that backs the file * share, so make sure that the configuration on the file share is the same as the S3 * bucket configuration.

                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                          */ @@ -1456,7 +1459,6 @@ export interface CreateNFSFileShareInput { * @public *

                                                                                                                                                                                                                                                                                                                                                          A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a * key-value pair.

                                                                                                                                                                                                                                                                                                                                                          - * * *

                                                                                                                                                                                                                                                                                                                                                          Valid characters for key and value are letters, spaces, and numbers representable in * UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length @@ -1469,7 +1471,6 @@ export interface CreateNFSFileShareInput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                          The name of the file share. Optional.

                                                                                                                                                                                                                                                                                                                                                          - * * *

                                                                                                                                                                                                                                                                                                                                                          * FileShareName must be set if an S3 prefix name is set in @@ -1491,22 +1492,17 @@ export interface CreateNFSFileShareInput { * generating an ObjectUploaded notification. Because clients can make many small * writes to files, it's best to set this parameter for as long as possible to avoid * generating multiple notifications for the same file in a small time period.

                                                                                                                                                                                                                                                                                                                                                          - * * *

                                                                                                                                                                                                                                                                                                                                                          * SettlingTimeInSeconds has no effect on the timing of the object * uploading to Amazon S3, only the timing of the notification.

                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          The following example sets NotificationPolicy on with * SettlingTimeInSeconds set to 60.

                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          * \{\"Upload\": \{\"SettlingTimeInSeconds\": 60\}\} *

                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          The following example sets NotificationPolicy off.

                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          * \{\} *

                                                                                                                                                                                                                                                                                                                                                          @@ -1578,7 +1574,6 @@ export interface CreateSMBFileShareInput { *

                                                                                                                                                                                                                                                                                                                                                          Set to true to use Amazon S3 server-side encryption with your own * KMS key, or false to use a key managed by Amazon S3. * Optional.

                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                          */ @@ -1606,20 +1601,16 @@ export interface CreateSMBFileShareInput { * *

                                                                                                                                                                                                                                                                                                                                                          You can specify LocationARN as a bucket ARN, access point ARN or access point alias, * as shown in the following examples.

                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          Bucket ARN:

                                                                                                                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                                                                                                                          * arn:aws:s3:::my-bucket/prefix/ *

                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          Access point ARN:

                                                                                                                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                                                                                                                          * arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/ *

                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          If you specify an access point, the bucket policy must be configured to delegate * access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          Access point alias:

                                                                                                                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                                                                                                                          * test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias @@ -1632,7 +1623,6 @@ export interface CreateSMBFileShareInput { * @public *

                                                                                                                                                                                                                                                                                                                                                          The default storage class for objects put into an Amazon S3 bucket by the S3 * File Gateway. The default value is S3_STANDARD. Optional.

                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | * S3_STANDARD_IA | S3_ONEZONE_IA *

                                                                                                                                                                                                                                                                                                                                                          @@ -1650,7 +1640,6 @@ export interface CreateSMBFileShareInput { * @public *

                                                                                                                                                                                                                                                                                                                                                          A value that sets the write status of a file share. Set this value to true * to set the write status to read-only, otherwise set to false.

                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                          */ @@ -1661,7 +1650,6 @@ export interface CreateSMBFileShareInput { *

                                                                                                                                                                                                                                                                                                                                                          A value that enables guessing of the MIME type for uploaded objects based on file * extensions. Set this value to true to enable MIME type guessing, otherwise set * to false. The default value is true.

                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                          */ @@ -1673,14 +1661,12 @@ export interface CreateSMBFileShareInput { * download from the S3 bucket. If this value is set to true, the requester pays * the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays * the cost of storing data.

                                                                                                                                                                                                                                                                                                                                                          - * * *

                                                                                                                                                                                                                                                                                                                                                          * RequesterPays is a configuration for the S3 bucket that backs the file * share, so make sure that the configuration on the file share is the same as the S3 * bucket configuration.

                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                          */ @@ -1691,13 +1677,9 @@ export interface CreateSMBFileShareInput { *

                                                                                                                                                                                                                                                                                                                                                          Set this value to true to enable access control list (ACL) on the SMB file * share. Set it to false to map file and directory permissions to the POSIX * permissions.

                                                                                                                                                                                                                                                                                                                                                          - * - * - * *

                                                                                                                                                                                                                                                                                                                                                          For more information, see Using Microsoft Windows ACLs to * control access to an SMB file share in the Storage Gateway User * Guide.

                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                          */ @@ -1716,7 +1698,6 @@ export interface CreateSMBFileShareInput { * privileges on the file share. These users can do all file operations as the super-user. * Acceptable formats include: DOMAIN\User1, user1, * @group1, and @DOMAIN\group1.

                                                                                                                                                                                                                                                                                                                                                          - * * *

                                                                                                                                                                                                                                                                                                                                                          Use this option very carefully, because any user in this list can do anything they * like on the file share, regardless of file permissions.

                                                                                                                                                                                                                                                                                                                                                          @@ -1754,7 +1735,6 @@ export interface CreateSMBFileShareInput { * @public *

                                                                                                                                                                                                                                                                                                                                                          The authentication method that users use to access the file share. The default is * ActiveDirectory.

                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          Valid Values: ActiveDirectory | GuestAccess *

                                                                                                                                                                                                                                                                                                                                                          */ @@ -1773,7 +1753,6 @@ export interface CreateSMBFileShareInput { * @public *

                                                                                                                                                                                                                                                                                                                                                          A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a * key-value pair.

                                                                                                                                                                                                                                                                                                                                                          - * * *

                                                                                                                                                                                                                                                                                                                                                          Valid characters for key and value are letters, spaces, and numbers representable in * UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length @@ -1786,7 +1765,6 @@ export interface CreateSMBFileShareInput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                          The name of the file share. Optional.

                                                                                                                                                                                                                                                                                                                                                          - * * *

                                                                                                                                                                                                                                                                                                                                                          * FileShareName must be set if an S3 prefix name is set in @@ -1808,22 +1786,17 @@ export interface CreateSMBFileShareInput { * generating an ObjectUploaded notification. Because clients can make many small * writes to files, it's best to set this parameter for as long as possible to avoid * generating multiple notifications for the same file in a small time period.

                                                                                                                                                                                                                                                                                                                                                          - * * *

                                                                                                                                                                                                                                                                                                                                                          * SettlingTimeInSeconds has no effect on the timing of the object * uploading to Amazon S3, only the timing of the notification.

                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          The following example sets NotificationPolicy on with * SettlingTimeInSeconds set to 60.

                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          * \{\"Upload\": \{\"SettlingTimeInSeconds\": 60\}\} *

                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          The following example sets NotificationPolicy off.

                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                          * \{\} *

                                                                                                                                                                                                                                                                                                                                                          @@ -1881,7 +1854,6 @@ export interface CreateSMBFileShareOutput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                          A JSON object containing one or more of the following fields:

                                                                                                                                                                                                                                                                                                                                                          - * *
                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                          • *

                                                                                                                                                                                                                                                                                                                                                            @@ -1916,7 +1888,6 @@ export interface CreateSnapshotInput { * @public *

                                                                                                                                                                                                                                                                                                                                                            A list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value * pair.

                                                                                                                                                                                                                                                                                                                                                            - * * *

                                                                                                                                                                                                                                                                                                                                                            Valid characters for key and value are letters, spaces, and numbers representable in * UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length @@ -2000,7 +1971,6 @@ export interface CreateSnapshotFromVolumeRecoveryPointInput { * @public *

                                                                                                                                                                                                                                                                                                                                                            A list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value * pair.

                                                                                                                                                                                                                                                                                                                                                            - * * *

                                                                                                                                                                                                                                                                                                                                                            Valid characters for key and value are letters, spaces, and numbers representable in * UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length @@ -2038,7 +2008,6 @@ export interface CreateSnapshotFromVolumeRecoveryPointOutput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                            A JSON object containing one or more of the following fields:

                                                                                                                                                                                                                                                                                                                                                            - * *
                                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                                            • *

                                                                                                                                                                                                                                                                                                                                                              @@ -2096,7 +2065,6 @@ export interface CreateStorediSCSIVolumeInput { * @public *

                                                                                                                                                                                                                                                                                                                                                              Set to true if you want to preserve the data on the local disk. Otherwise, * set to false to create an empty volume.

                                                                                                                                                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                                                                                                                                                              Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                              */ @@ -2109,7 +2077,6 @@ export interface CreateStorediSCSIVolumeInput { * myvolume results in the target ARN of * arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. * The target name must be unique across all volumes on a gateway.

                                                                                                                                                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                                                                                                                                                              If you don't specify a value, Storage Gateway uses the value that was previously * used for this volume as the new target name.

                                                                                                                                                                                                                                                                                                                                                              */ @@ -2120,7 +2087,6 @@ export interface CreateStorediSCSIVolumeInput { *

                                                                                                                                                                                                                                                                                                                                                              The network interface of the gateway on which to expose the iSCSI target. Only IPv4 * addresses are accepted. Use DescribeGatewayInformation to get a list of * the network interfaces available on a gateway.

                                                                                                                                                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                                                                                                                                                              Valid Values: A valid IP address.

                                                                                                                                                                                                                                                                                                                                                              */ NetworkInterfaceId: string | undefined; @@ -2130,7 +2096,6 @@ export interface CreateStorediSCSIVolumeInput { *

                                                                                                                                                                                                                                                                                                                                                              Set to true to use Amazon S3 server-side encryption with your own * KMS key, or false to use a key managed by Amazon S3. * Optional.

                                                                                                                                                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                                                                                                                                                              Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                              */ @@ -2147,7 +2112,6 @@ export interface CreateStorediSCSIVolumeInput { * @public *

                                                                                                                                                                                                                                                                                                                                                              A list of up to 50 tags that can be assigned to a stored volume. Each tag is a key-value * pair.

                                                                                                                                                                                                                                                                                                                                                              - * * *

                                                                                                                                                                                                                                                                                                                                                              Valid characters for key and value are letters, spaces, and numbers representable in * UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length @@ -2185,13 +2149,32 @@ export interface CreateStorediSCSIVolumeOutput { /** * @public + * @enum */ -export type RetentionLockType = "COMPLIANCE" | "GOVERNANCE" | "NONE"; +export const RetentionLockType = { + COMPLIANCE: "COMPLIANCE", + GOVERNANCE: "GOVERNANCE", + NONE: "NONE", +} as const; /** * @public */ -export type TapeStorageClass = "DEEP_ARCHIVE" | "GLACIER"; +export type RetentionLockType = (typeof RetentionLockType)[keyof typeof RetentionLockType]; + +/** + * @public + * @enum + */ +export const TapeStorageClass = { + DEEP_ARCHIVE: "DEEP_ARCHIVE", + GLACIER: "GLACIER", +} as const; + +/** + * @public + */ +export type TapeStorageClass = (typeof TapeStorageClass)[keyof typeof TapeStorageClass]; /** * @public @@ -2231,7 +2214,6 @@ export interface CreateTapePoolInput { * @public *

                                                                                                                                                                                                                                                                                                                                                              A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value * pair.

                                                                                                                                                                                                                                                                                                                                                              - * * *

                                                                                                                                                                                                                                                                                                                                                              Valid characters for key and value are letters, spaces, and numbers representable in * UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length @@ -2271,7 +2253,6 @@ export interface CreateTapesInput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                              The size, in bytes, of the virtual tapes that you want to create.

                                                                                                                                                                                                                                                                                                                                                              - * * *

                                                                                                                                                                                                                                                                                                                                                              The size must be aligned by gigabyte (1024*1024*1024 bytes).

                                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                                              @@ -2282,7 +2263,6 @@ export interface CreateTapesInput { * @public *

                                                                                                                                                                                                                                                                                                                                                              A unique identifier that you use to retry a request. If you retry a request, use the * same ClientToken you specified in the initial request.

                                                                                                                                                                                                                                                                                                                                                              - * * *

                                                                                                                                                                                                                                                                                                                                                              Using the same ClientToken prevents creating the tape multiple * times.

                                                                                                                                                                                                                                                                                                                                                              @@ -2300,7 +2280,6 @@ export interface CreateTapesInput { * @public *

                                                                                                                                                                                                                                                                                                                                                              A prefix that you append to the barcode of the virtual tape you are creating. This * prefix makes the barcode unique.

                                                                                                                                                                                                                                                                                                                                                              - * * *

                                                                                                                                                                                                                                                                                                                                                              The prefix must be 1-4 characters in length and must be one of the uppercase letters * from A to Z.

                                                                                                                                                                                                                                                                                                                                                              @@ -2313,7 +2292,6 @@ export interface CreateTapesInput { *

                                                                                                                                                                                                                                                                                                                                                              Set to true to use Amazon S3 server-side encryption with your own * KMS key, or false to use a key managed by Amazon S3. * Optional.

                                                                                                                                                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                                                                                                                                                              Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                              */ @@ -2346,7 +2324,6 @@ export interface CreateTapesInput { * @public *

                                                                                                                                                                                                                                                                                                                                                              A list of up to 50 tags that can be assigned to a virtual tape. Each tag is a key-value * pair.

                                                                                                                                                                                                                                                                                                                                                              - * * *

                                                                                                                                                                                                                                                                                                                                                              Valid characters for key and value are letters, spaces, and numbers representable in * UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length @@ -2386,7 +2363,6 @@ export interface CreateTapeWithBarcodeInput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                              The size, in bytes, of the virtual tape that you want to create.

                                                                                                                                                                                                                                                                                                                                                              - * * *

                                                                                                                                                                                                                                                                                                                                                              The size must be aligned by gigabyte (1024*1024*1024 bytes).

                                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                                              @@ -2396,7 +2372,6 @@ export interface CreateTapeWithBarcodeInput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                              The barcode that you want to assign to the tape.

                                                                                                                                                                                                                                                                                                                                                              - * * *

                                                                                                                                                                                                                                                                                                                                                              Barcodes cannot be reused. This includes barcodes used for tapes that have been * deleted.

                                                                                                                                                                                                                                                                                                                                                              @@ -2409,7 +2384,6 @@ export interface CreateTapeWithBarcodeInput { *

                                                                                                                                                                                                                                                                                                                                                              Set to true to use Amazon S3 server-side encryption with your own * KMS key, or false to use a key managed by Amazon S3. * Optional.

                                                                                                                                                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                                                                                                                                                              Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                              */ @@ -2442,7 +2416,6 @@ export interface CreateTapeWithBarcodeInput { * @public *

                                                                                                                                                                                                                                                                                                                                                              A list of up to 50 tags that can be assigned to a virtual tape that has a barcode. Each * tag is a key-value pair.

                                                                                                                                                                                                                                                                                                                                                              - * * *

                                                                                                                                                                                                                                                                                                                                                              Valid characters for key and value are letters, spaces, and numbers representable in * UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length @@ -2493,7 +2466,6 @@ export interface DeleteAutomaticTapeCreationPolicyOutput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                              A JSON object containing the following fields:

                                                                                                                                                                                                                                                                                                                                                              - * *
                                                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                                                              • *

                                                                                                                                                                                                                                                                                                                                                                @@ -2514,7 +2486,6 @@ export interface DeleteBandwidthRateLimitInput { * @public *

                                                                                                                                                                                                                                                                                                                                                                One of the BandwidthType values that indicates the gateway bandwidth rate limit to * delete.

                                                                                                                                                                                                                                                                                                                                                                - * *

                                                                                                                                                                                                                                                                                                                                                                Valid Values: UPLOAD | DOWNLOAD | ALL *

                                                                                                                                                                                                                                                                                                                                                                */ @@ -2538,7 +2509,6 @@ export interface DeleteBandwidthRateLimitOutput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                A JSON object containing one or more of the following fields:

                                                                                                                                                                                                                                                                                                                                                                - * *
                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                • *

                                                                                                                                                                                                                                                                                                                                                                  @@ -2602,7 +2572,6 @@ export interface DeleteFileShareInput { * immediately and aborts all data uploads to Amazon Web Services. Otherwise, the file share is * not deleted until all data is uploaded to Amazon Web Services. This process aborts the data * upload process, and the file share enters the FORCE_DELETING status.

                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                  Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                  */ @@ -3019,33 +2988,28 @@ export interface DescribeChapCredentialsOutput { * object in the array contains CHAP credential information for one target-initiator pair. If * no CHAP credentials are set, an empty array is returned. CHAP credential information is * provided in a JSON object with the following fields:

                                                                                                                                                                                                                                                                                                                                                                  - * *
                                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                                  • *

                                                                                                                                                                                                                                                                                                                                                                    * InitiatorName: The iSCSI initiator that connects to * the target.

                                                                                                                                                                                                                                                                                                                                                                    - * *
                                                                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                                                                  • *

                                                                                                                                                                                                                                                                                                                                                                    * SecretToAuthenticateInitiator: The secret key that * the initiator (for example, the Windows client) must provide to participate in mutual * CHAP with the target.

                                                                                                                                                                                                                                                                                                                                                                    - * *
                                                                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                                                                  • *

                                                                                                                                                                                                                                                                                                                                                                    * SecretToAuthenticateTarget: The secret key that the * target must provide to participate in mutual CHAP with the initiator (e.g. Windows * client).

                                                                                                                                                                                                                                                                                                                                                                    - * *
                                                                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                                                                  • *

                                                                                                                                                                                                                                                                                                                                                                    * TargetARN: The Amazon Resource Name (ARN) of the * storage volume.

                                                                                                                                                                                                                                                                                                                                                                    - * *
                                                                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                                                                  */ @@ -3204,7 +3168,6 @@ export interface NetworkInterface { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                  The Media Access Control (MAC) address of the interface.

                                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                                  This is currently unsupported and will not be returned in output.

                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                  @@ -3219,10 +3182,23 @@ export interface NetworkInterface { Ipv6Address?: string; } +/** + * @public + * @enum + */ +export const HostEnvironment = { + EC2: "EC2", + HYPER_V: "HYPER-V", + KVM: "KVM", + OTHER: "OTHER", + SNOWBALL: "SNOWBALL", + VMWARE: "VMWARE", +} as const; + /** * @public */ -export type HostEnvironment = "EC2" | "HYPER-V" | "KVM" | "OTHER" | "SNOWBALL" | "VMWARE"; +export type HostEnvironment = (typeof HostEnvironment)[keyof typeof HostEnvironment]; /** * @public @@ -3336,7 +3312,6 @@ export interface DescribeGatewayInformationOutput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                  The type of endpoint for your gateway.

                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                  Valid Values: STANDARD | FIPS *

                                                                                                                                                                                                                                                                                                                                                                  */ @@ -3393,7 +3368,6 @@ export interface DescribeMaintenanceStartTimeInput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                  A JSON object containing the following fields:

                                                                                                                                                                                                                                                                                                                                                                  - * *
                                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                                  • *

                                                                                                                                                                                                                                                                                                                                                                    @@ -3515,7 +3489,6 @@ export interface NFSFileShareInfo { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                    The status of the file share.

                                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                                    Valid Values: CREATING | UPDATING | AVAILABLE | * DELETING *

                                                                                                                                                                                                                                                                                                                                                                    @@ -3534,7 +3507,6 @@ export interface NFSFileShareInfo { *

                                                                                                                                                                                                                                                                                                                                                                    Set to true to use Amazon S3 server-side encryption with your own * KMS key, or false to use a key managed by Amazon S3. * Optional.

                                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                                    Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                    */ @@ -3568,20 +3540,16 @@ export interface NFSFileShareInfo { * *

                                                                                                                                                                                                                                                                                                                                                                    You can specify LocationARN as a bucket ARN, access point ARN or access point alias, * as shown in the following examples.

                                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                                    Bucket ARN:

                                                                                                                                                                                                                                                                                                                                                                    *

                                                                                                                                                                                                                                                                                                                                                                    * arn:aws:s3:::my-bucket/prefix/ *

                                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                                    Access point ARN:

                                                                                                                                                                                                                                                                                                                                                                    *

                                                                                                                                                                                                                                                                                                                                                                    * arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/ *

                                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                                    If you specify an access point, the bucket policy must be configured to delegate * access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                                    Access point alias:

                                                                                                                                                                                                                                                                                                                                                                    *

                                                                                                                                                                                                                                                                                                                                                                    * test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias @@ -3594,7 +3562,6 @@ export interface NFSFileShareInfo { * @public *

                                                                                                                                                                                                                                                                                                                                                                    The default storage class for objects put into an Amazon S3 bucket by the S3 * File Gateway. The default value is S3_STANDARD. Optional.

                                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                                    Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | * S3_STANDARD_IA | S3_ONEZONE_IA *

                                                                                                                                                                                                                                                                                                                                                                    @@ -3619,7 +3586,6 @@ export interface NFSFileShareInfo { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                    The user mapped to anonymous user. Valid options are the following:

                                                                                                                                                                                                                                                                                                                                                                    - * *
                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                    • *

                                                                                                                                                                                                                                                                                                                                                                      @@ -3641,7 +3607,6 @@ export interface NFSFileShareInfo { * @public *

                                                                                                                                                                                                                                                                                                                                                                      A value that sets the write status of a file share. Set this value to true * to set the write status to read-only, otherwise set to false.

                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                      */ @@ -3652,7 +3617,6 @@ export interface NFSFileShareInfo { *

                                                                                                                                                                                                                                                                                                                                                                      A value that enables guessing of the MIME type for uploaded objects based on file * extensions. Set this value to true to enable MIME type guessing, otherwise set * to false. The default value is true.

                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                      */ @@ -3664,14 +3628,12 @@ export interface NFSFileShareInfo { * download from the S3 bucket. If this value is set to true, the requester pays * the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays * the cost of storing data.

                                                                                                                                                                                                                                                                                                                                                                      - * * *

                                                                                                                                                                                                                                                                                                                                                                      * RequesterPays is a configuration for the S3 bucket that backs the file * share, so make sure that the configuration on the file share is the same as the S3 * bucket configuration.

                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                      */ @@ -3688,7 +3650,6 @@ export interface NFSFileShareInfo { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                      The name of the file share. Optional.

                                                                                                                                                                                                                                                                                                                                                                      - * * *

                                                                                                                                                                                                                                                                                                                                                                      * FileShareName must be set if an S3 prefix name is set in @@ -3710,22 +3671,17 @@ export interface NFSFileShareInfo { * generating an ObjectUploaded notification. Because clients can make many small * writes to files, it's best to set this parameter for as long as possible to avoid * generating multiple notifications for the same file in a small time period.

                                                                                                                                                                                                                                                                                                                                                                      - * * *

                                                                                                                                                                                                                                                                                                                                                                      * SettlingTimeInSeconds has no effect on the timing of the object * uploading to Amazon S3, only the timing of the notification.

                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      The following example sets NotificationPolicy on with * SettlingTimeInSeconds set to 60.

                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      * \{\"Upload\": \{\"SettlingTimeInSeconds\": 60\}\} *

                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      The following example sets NotificationPolicy off.

                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      * \{\} *

                                                                                                                                                                                                                                                                                                                                                                      @@ -3809,7 +3765,6 @@ export interface SMBFileShareInfo { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                      The status of the file share.

                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      Valid Values: CREATING | UPDATING | AVAILABLE | * DELETING *

                                                                                                                                                                                                                                                                                                                                                                      @@ -3828,7 +3783,6 @@ export interface SMBFileShareInfo { *

                                                                                                                                                                                                                                                                                                                                                                      Set to true to use Amazon S3 server-side encryption with your own * KMS key, or false to use a key managed by Amazon S3. * Optional.

                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                      */ @@ -3862,20 +3816,16 @@ export interface SMBFileShareInfo { * *

                                                                                                                                                                                                                                                                                                                                                                      You can specify LocationARN as a bucket ARN, access point ARN or access point alias, * as shown in the following examples.

                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      Bucket ARN:

                                                                                                                                                                                                                                                                                                                                                                      *

                                                                                                                                                                                                                                                                                                                                                                      * arn:aws:s3:::my-bucket/prefix/ *

                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      Access point ARN:

                                                                                                                                                                                                                                                                                                                                                                      *

                                                                                                                                                                                                                                                                                                                                                                      * arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/ *

                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      If you specify an access point, the bucket policy must be configured to delegate * access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      Access point alias:

                                                                                                                                                                                                                                                                                                                                                                      *

                                                                                                                                                                                                                                                                                                                                                                      * test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias @@ -3888,7 +3838,6 @@ export interface SMBFileShareInfo { * @public *

                                                                                                                                                                                                                                                                                                                                                                      The default storage class for objects put into an Amazon S3 bucket by the S3 * File Gateway. The default value is S3_STANDARD. Optional.

                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | * S3_STANDARD_IA | S3_ONEZONE_IA *

                                                                                                                                                                                                                                                                                                                                                                      @@ -3907,7 +3856,6 @@ export interface SMBFileShareInfo { * @public *

                                                                                                                                                                                                                                                                                                                                                                      A value that sets the write status of a file share. Set this value to true * to set the write status to read-only, otherwise set to false.

                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                      */ @@ -3918,7 +3866,6 @@ export interface SMBFileShareInfo { *

                                                                                                                                                                                                                                                                                                                                                                      A value that enables guessing of the MIME type for uploaded objects based on file * extensions. Set this value to true to enable MIME type guessing, otherwise set * to false. The default value is true.

                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                      */ @@ -3930,14 +3877,12 @@ export interface SMBFileShareInfo { * download from the S3 bucket. If this value is set to true, the requester pays * the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays * the cost of storing data.

                                                                                                                                                                                                                                                                                                                                                                      - * * *

                                                                                                                                                                                                                                                                                                                                                                      * RequesterPays is a configuration for the S3 bucket that backs the file * share, so make sure that the configuration on the file share is the same as the S3 * bucket configuration.

                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                      */ @@ -3948,9 +3893,6 @@ export interface SMBFileShareInfo { *

                                                                                                                                                                                                                                                                                                                                                                      If this value is set to true, it indicates that access control list (ACL) * is enabled on the SMB file share. If it is set to false, it indicates that * file and directory permissions are mapped to the POSIX permission.

                                                                                                                                                                                                                                                                                                                                                                      - * - * - * *

                                                                                                                                                                                                                                                                                                                                                                      For more information, see Using Microsoft Windows ACLs to * control access to an SMB file share in the Storage Gateway User * Guide.

                                                                                                                                                                                                                                                                                                                                                                      @@ -4003,7 +3945,6 @@ export interface SMBFileShareInfo { * @public *

                                                                                                                                                                                                                                                                                                                                                                      The authentication method of the file share. The default is * ActiveDirectory.

                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      Valid Values: ActiveDirectory | GuestAccess *

                                                                                                                                                                                                                                                                                                                                                                      */ @@ -4029,7 +3970,6 @@ export interface SMBFileShareInfo { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                      The name of the file share. Optional.

                                                                                                                                                                                                                                                                                                                                                                      - * * *

                                                                                                                                                                                                                                                                                                                                                                      * FileShareName must be set if an S3 prefix name is set in @@ -4051,22 +3991,17 @@ export interface SMBFileShareInfo { * generating an ObjectUploaded notification. Because clients can make many small * writes to files, it's best to set this parameter for as long as possible to avoid * generating multiple notifications for the same file in a small time period.

                                                                                                                                                                                                                                                                                                                                                                      - * * *

                                                                                                                                                                                                                                                                                                                                                                      * SettlingTimeInSeconds has no effect on the timing of the object * uploading to Amazon S3, only the timing of the notification.

                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      The following example sets NotificationPolicy on with * SettlingTimeInSeconds set to 60.

                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      * \{\"Upload\": \{\"SettlingTimeInSeconds\": 60\}\} *

                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      The following example sets NotificationPolicy off.

                                                                                                                                                                                                                                                                                                                                                                      - * *

                                                                                                                                                                                                                                                                                                                                                                      * \{\} *

                                                                                                                                                                                                                                                                                                                                                                      @@ -4150,10 +4085,20 @@ export interface SMBLocalGroups { GatewayAdmins?: string[]; } +/** + * @public + * @enum + */ +export const SMBSecurityStrategy = { + ClientSpecified: "ClientSpecified", + MandatoryEncryption: "MandatoryEncryption", + MandatorySigning: "MandatorySigning", +} as const; + /** * @public */ -export type SMBSecurityStrategy = "ClientSpecified" | "MandatoryEncryption" | "MandatorySigning"; +export type SMBSecurityStrategy = (typeof SMBSecurityStrategy)[keyof typeof SMBSecurityStrategy]; /** * @public @@ -4176,7 +4121,6 @@ export interface DescribeSMBSettingsOutput { * @public *

                                                                                                                                                                                                                                                                                                                                                                      Indicates the status of a gateway that is a member of the Active Directory * domain.

                                                                                                                                                                                                                                                                                                                                                                      - * *
                                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                                      • *

                                                                                                                                                                                                                                                                                                                                                                        @@ -4220,7 +4164,6 @@ export interface DescribeSMBSettingsOutput { * @public *

                                                                                                                                                                                                                                                                                                                                                                        This value is true if a password for the guest user smbguest * is set, otherwise false. Only supported for S3 File Gateways.

                                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                                        Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                        */ @@ -4229,7 +4172,6 @@ export interface DescribeSMBSettingsOutput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                        The type of security strategy that was specified for file gateway.

                                                                                                                                                                                                                                                                                                                                                                        - * *
                                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                                        • *

                                                                                                                                                                                                                                                                                                                                                                          @@ -4410,7 +4352,6 @@ export interface StorediSCSIVolume { * @public *

                                                                                                                                                                                                                                                                                                                                                                          Indicates if when the stored volume was created, existing data on the underlying local * disk was preserved.

                                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                                          Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                          */ @@ -4437,7 +4378,6 @@ export interface StorediSCSIVolume { * value can be useful for sequential write patterns but less accurate for random write * patterns. VolumeUsedInBytes is different from the compressed size of the * volume, which is the value that is used to calculate your bill.

                                                                                                                                                                                                                                                                                                                                                                          - * * *

                                                                                                                                                                                                                                                                                                                                                                          This value is not available for volumes created prior to May 13, 2015, until you * store data on the volume.

                                                                                                                                                                                                                                                                                                                                                                          @@ -4459,7 +4399,6 @@ export interface StorediSCSIVolume { * myvolume results in the target ARN of * arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. * The target name must be unique across all volumes on a gateway.

                                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                                          If you don't specify a value, Storage Gateway uses the value that was previously * used for this volume as the new target name.

                                                                                                                                                                                                                                                                                                                                                                          */ @@ -4474,7 +4413,6 @@ export interface DescribeStorediSCSIVolumesOutput { * @public *

                                                                                                                                                                                                                                                                                                                                                                          Describes a single unit of output from DescribeStorediSCSIVolumes. The * following fields are returned:

                                                                                                                                                                                                                                                                                                                                                                          - * *
                                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                                          • *

                                                                                                                                                                                                                                                                                                                                                                            @@ -4619,7 +4557,6 @@ export interface TapeArchive { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                            The time that the archiving of the virtual tape was completed.

                                                                                                                                                                                                                                                                                                                                                                            - * *

                                                                                                                                                                                                                                                                                                                                                                            The default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' * format.

                                                                                                                                                                                                                                                                                                                                                                            */ @@ -4629,7 +4566,6 @@ export interface TapeArchive { * @public *

                                                                                                                                                                                                                                                                                                                                                                            The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is being * retrieved to.

                                                                                                                                                                                                                                                                                                                                                                            - * *

                                                                                                                                                                                                                                                                                                                                                                            The virtual tape is retrieved from the virtual tape shelf (VTS).

                                                                                                                                                                                                                                                                                                                                                                            */ RetrievedTo?: string; @@ -4643,7 +4579,6 @@ export interface TapeArchive { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                            The size, in bytes, of data stored on the virtual tape.

                                                                                                                                                                                                                                                                                                                                                                            - * * *

                                                                                                                                                                                                                                                                                                                                                                            This value is not available for tapes created prior to May 13, 2015.

                                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                                            @@ -4681,7 +4616,6 @@ export interface TapeArchive { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                            The time that the tape entered the custom tape pool.

                                                                                                                                                                                                                                                                                                                                                                            - * *

                                                                                                                                                                                                                                                                                                                                                                            The default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' * format.

                                                                                                                                                                                                                                                                                                                                                                            */ @@ -4754,7 +4688,6 @@ export interface TapeRecoveryPointInfo { * @public *

                                                                                                                                                                                                                                                                                                                                                                            The time when the point-in-time view of the virtual tape was replicated for later * recovery.

                                                                                                                                                                                                                                                                                                                                                                            - * *

                                                                                                                                                                                                                                                                                                                                                                            The default timestamp format of the tape recovery point time is in the ISO8601 extended * YYYY-MM-DD'T'HH:MM:SS'Z' format.

                                                                                                                                                                                                                                                                                                                                                                            */ @@ -4795,7 +4728,6 @@ export interface DescribeTapeRecoveryPointsOutput { * @public *

                                                                                                                                                                                                                                                                                                                                                                            An opaque string that indicates the position at which the virtual tape recovery points * that were listed for description ended.

                                                                                                                                                                                                                                                                                                                                                                            - * *

                                                                                                                                                                                                                                                                                                                                                                            Use this marker in your next request to list the next set of virtual tape recovery * points in the list. If there are no more recovery points to describe, this field does not * appear in the response.

                                                                                                                                                                                                                                                                                                                                                                            @@ -4827,7 +4759,6 @@ export interface DescribeTapesInput { * @public *

                                                                                                                                                                                                                                                                                                                                                                            A marker value, obtained in a previous call to DescribeTapes. This marker * indicates which page of results to retrieve.

                                                                                                                                                                                                                                                                                                                                                                            - * *

                                                                                                                                                                                                                                                                                                                                                                            If not specified, the first page of results is retrieved.

                                                                                                                                                                                                                                                                                                                                                                            */ Marker?: string; @@ -4836,7 +4767,6 @@ export interface DescribeTapesInput { * @public *

                                                                                                                                                                                                                                                                                                                                                                            Specifies that the number of virtual tapes described be limited to the specified * number.

                                                                                                                                                                                                                                                                                                                                                                            - * * *

                                                                                                                                                                                                                                                                                                                                                                            Amazon Web Services may impose its own limit, if this field is not set.

                                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                                            @@ -4889,7 +4819,6 @@ export interface Tape { * @public *

                                                                                                                                                                                                                                                                                                                                                                            For archiving virtual tapes, indicates how much data remains to be uploaded before * archiving is complete.

                                                                                                                                                                                                                                                                                                                                                                            - * *

                                                                                                                                                                                                                                                                                                                                                                            Range: 0 (not started) to 100 (complete).

                                                                                                                                                                                                                                                                                                                                                                            */ Progress?: number; @@ -4897,7 +4826,6 @@ export interface Tape { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                            The size, in bytes, of data stored on the virtual tape.

                                                                                                                                                                                                                                                                                                                                                                            - * * *

                                                                                                                                                                                                                                                                                                                                                                            This value is not available for tapes created prior to May 13, 2015.

                                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                                            @@ -4955,7 +4883,6 @@ export interface DescribeTapesOutput { * @public *

                                                                                                                                                                                                                                                                                                                                                                            An opaque string that can be used as part of a subsequent DescribeTapes * call to retrieve the next page of results.

                                                                                                                                                                                                                                                                                                                                                                            - * *

                                                                                                                                                                                                                                                                                                                                                                            If a response does not contain a marker, then there are no more results to be * retrieved.

                                                                                                                                                                                                                                                                                                                                                                            */ @@ -5023,7 +4950,6 @@ export interface DescribeVTLDevicesInput { * @public *

                                                                                                                                                                                                                                                                                                                                                                            An array of strings, where each string represents the Amazon Resource Name (ARN) of a * VTL device.

                                                                                                                                                                                                                                                                                                                                                                            - * * *

                                                                                                                                                                                                                                                                                                                                                                            All of the specified VTL devices must be from the same gateway. If no VTL devices are * specified, the result will contain all devices on the specified gateway.

                                                                                                                                                                                                                                                                                                                                                                            @@ -5209,7 +5135,6 @@ export interface DetachVolumeInput { * and detach the volume. The default is false. If this value is set to * false, you must manually disconnect the iSCSI connection from the target * volume.

                                                                                                                                                                                                                                                                                                                                                                            - * *

                                                                                                                                                                                                                                                                                                                                                                            Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                            */ @@ -5323,7 +5248,6 @@ export interface Disk { * @public *

                                                                                                                                                                                                                                                                                                                                                                            One of the DiskAllocationType enumeration values that identifies how a * local disk is used.

                                                                                                                                                                                                                                                                                                                                                                            - * *

                                                                                                                                                                                                                                                                                                                                                                            Valid Values: UPLOAD_BUFFER | CACHE_STORAGE *

                                                                                                                                                                                                                                                                                                                                                                            */ @@ -5346,8 +5270,17 @@ export interface Disk { /** * @public + * @enum */ -export type FileShareType = "NFS" | "SMB"; +export const FileShareType = { + NFS: "NFS", + SMB: "SMB", +} as const; + +/** + * @public + */ +export type FileShareType = (typeof FileShareType)[keyof typeof FileShareType]; /** * @public @@ -5375,7 +5308,6 @@ export interface FileShareInfo { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                            The status of the file share.

                                                                                                                                                                                                                                                                                                                                                                            - * *

                                                                                                                                                                                                                                                                                                                                                                            Valid Values: CREATING | UPDATING | AVAILABLE | * DELETING *

                                                                                                                                                                                                                                                                                                                                                                            @@ -5454,7 +5386,6 @@ export interface GatewayInfo { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                            The state of the gateway.

                                                                                                                                                                                                                                                                                                                                                                            - * *

                                                                                                                                                                                                                                                                                                                                                                            Valid Values: DISABLED | ACTIVE *

                                                                                                                                                                                                                                                                                                                                                                            */ @@ -5565,7 +5496,6 @@ export interface JoinDomainOutput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                            Indicates the status of the gateway as a member of the Active Directory domain.

                                                                                                                                                                                                                                                                                                                                                                            - * *
                                                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                                                            • *

                                                                                                                                                                                                                                                                                                                                                                              @@ -5743,7 +5673,6 @@ export interface ListFileSystemAssociationsOutput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                              A JSON object containing zero or more of the following fields:

                                                                                                                                                                                                                                                                                                                                                                              - * *
                                                                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                                                                              • *

                                                                                                                                                                                                                                                                                                                                                                                @@ -5818,7 +5747,6 @@ export interface ListLocalDisksOutput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                A JSON object containing the following fields:

                                                                                                                                                                                                                                                                                                                                                                                - * *
                                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                                • *

                                                                                                                                                                                                                                                                                                                                                                                  @@ -5906,10 +5834,19 @@ export interface ListTapePoolsInput { Limit?: number; } +/** + * @public + * @enum + */ +export const PoolStatus = { + ACTIVE: "ACTIVE", + DELETED: "DELETED", +} as const; + /** * @public */ -export type PoolStatus = "ACTIVE" | "DELETED"; +export type PoolStatus = (typeof PoolStatus)[keyof typeof PoolStatus]; /** * @public @@ -5987,7 +5924,6 @@ export interface ListTapePoolsOutput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                  A JSON object that contains one or more of the following fields:

                                                                                                                                                                                                                                                                                                                                                                                  - * *
                                                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                                                  • *

                                                                                                                                                                                                                                                                                                                                                                                    @@ -6090,7 +6026,6 @@ export interface TapeInfo { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                    A JSON object containing the following fields:

                                                                                                                                                                                                                                                                                                                                                                                    - * *
                                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                                    • *

                                                                                                                                                                                                                                                                                                                                                                                      @@ -6180,7 +6115,6 @@ export interface VolumeRecoveryPointInfo { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                      The size of the data stored on the volume in bytes.

                                                                                                                                                                                                                                                                                                                                                                                      - * * *

                                                                                                                                                                                                                                                                                                                                                                                      This value is not available for volumes created prior to May 13, 2015, until you * store data on the volume.

                                                                                                                                                                                                                                                                                                                                                                                      @@ -6216,7 +6150,6 @@ export interface ListVolumeRecoveryPointsOutput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                      A JSON object that contains one or more of the following fields:

                                                                                                                                                                                                                                                                                                                                                                                      - * *
                                                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                                                      • *

                                                                                                                                                                                                                                                                                                                                                                                        @@ -6262,11 +6195,9 @@ export interface VolumeInfo { * @public *

                                                                                                                                                                                                                                                                                                                                                                                        The Amazon Resource Name (ARN) for the storage volume. For example, the following is a * valid ARN:

                                                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                                                        * arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB *

                                                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                                                        Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

                                                                                                                                                                                                                                                                                                                                                                                        */ VolumeARN?: string; @@ -6275,7 +6206,6 @@ export interface VolumeInfo { * @public *

                                                                                                                                                                                                                                                                                                                                                                                        The unique identifier assigned to the volume. This ID becomes part of the volume Amazon * Resource Name (ARN), which you use as input for other operations.

                                                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                                                        Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

                                                                                                                                                                                                                                                                                                                                                                                        */ VolumeId?: string; @@ -6292,7 +6222,6 @@ export interface VolumeInfo { *

                                                                                                                                                                                                                                                                                                                                                                                        The unique identifier assigned to your gateway during activation. This ID becomes part * of the gateway Amazon Resource Name (ARN), which you use as input for other * operations.

                                                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                                                        Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

                                                                                                                                                                                                                                                                                                                                                                                        */ GatewayId?: string; @@ -6306,7 +6235,6 @@ export interface VolumeInfo { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                        The size of the volume in bytes.

                                                                                                                                                                                                                                                                                                                                                                                        - * *

                                                                                                                                                                                                                                                                                                                                                                                        Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

                                                                                                                                                                                                                                                                                                                                                                                        */ VolumeSizeInBytes?: number; @@ -6321,7 +6249,6 @@ export interface VolumeInfo { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                        A JSON object containing the following fields:

                                                                                                                                                                                                                                                                                                                                                                                        - * *
                                                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                                                        • *

                                                                                                                                                                                                                                                                                                                                                                                          @@ -6416,7 +6343,6 @@ export interface RefreshCacheInput { * FolderList are not refreshed. Only objects that are in folders listed * directly under FolderList are found and used for the update. The default is * true.

                                                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                                                          Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                                          */ @@ -6514,7 +6440,6 @@ export interface RetrieveTapeArchiveInput { *

                                                                                                                                                                                                                                                                                                                                                                                          The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to. * Use the ListGateways operation to return a list of gateways for your * account and Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                          - * *

                                                                                                                                                                                                                                                                                                                                                                                          You retrieve archived virtual tapes to only one gateway and the gateway must be a tape * gateway.

                                                                                                                                                                                                                                                                                                                                                                                          */ @@ -6741,7 +6666,6 @@ export interface UpdateAutomaticTapeCreationPolicyOutput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                          A JSON object containing one or more of the following fields:

                                                                                                                                                                                                                                                                                                                                                                                          - * *
                                                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                                                          • *

                                                                                                                                                                                                                                                                                                                                                                                            @@ -6824,7 +6748,6 @@ export interface UpdateBandwidthRateLimitScheduleOutput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                            A JSON object containing one or more of the following fields:

                                                                                                                                                                                                                                                                                                                                                                                            - * *
                                                                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                                                                            • *

                                                                                                                                                                                                                                                                                                                                                                                              @@ -6840,7 +6763,6 @@ export interface UpdateBandwidthRateLimitScheduleOutput { *

                                                                                                                                                                                                                                                                                                                                                                                              * UpdateChapCredentialsInput$SecretToAuthenticateTarget *

                                                                                                                                                                                                                                                                                                                                                                                              - * *
                                                                                                                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                                                                                                                            • *

                                                                                                                                                                                                                                                                                                                                                                                              @@ -6861,7 +6783,6 @@ export interface UpdateChapCredentialsInput { * @public *

                                                                                                                                                                                                                                                                                                                                                                                              The secret key that the initiator (for example, the Windows client) must provide to * participate in mutual CHAP with the target.

                                                                                                                                                                                                                                                                                                                                                                                              - * * *

                                                                                                                                                                                                                                                                                                                                                                                              The secret key must be between 12 and 16 bytes when encoded in UTF-8.

                                                                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                                                                              @@ -6878,9 +6799,7 @@ export interface UpdateChapCredentialsInput { * @public *

                                                                                                                                                                                                                                                                                                                                                                                              The secret key that the target must provide to participate in mutual CHAP with the * initiator (e.g. Windows client).

                                                                                                                                                                                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                                                                                                                                                                                              Byte constraints: Minimum bytes of 12. Maximum bytes of 16.

                                                                                                                                                                                                                                                                                                                                                                                              - * * *

                                                                                                                                                                                                                                                                                                                                                                                              The secret key must be between 12 and 16 bytes when encoded in UTF-8.

                                                                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                                                                              @@ -6984,7 +6903,6 @@ export interface UpdateGatewayInformationInput { * @public *

                                                                                                                                                                                                                                                                                                                                                                                              The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that you want to use * to monitor and log events in the gateway.

                                                                                                                                                                                                                                                                                                                                                                                              - * *

                                                                                                                                                                                                                                                                                                                                                                                              For more information, see What is Amazon CloudWatch * Logs? *

                                                                                                                                                                                                                                                                                                                                                                                              @@ -7048,7 +6966,6 @@ export interface UpdateGatewaySoftwareNowOutput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                              A JSON object containing the following fields:

                                                                                                                                                                                                                                                                                                                                                                                              - * *
                                                                                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                                                                                              • *

                                                                                                                                                                                                                                                                                                                                                                                                @@ -7142,7 +7059,6 @@ export interface UpdateNFSFileShareInput { *

                                                                                                                                                                                                                                                                                                                                                                                                Set to true to use Amazon S3 server-side encryption with your own * KMS key, or false to use a key managed by Amazon S3. * Optional.

                                                                                                                                                                                                                                                                                                                                                                                                - * *

                                                                                                                                                                                                                                                                                                                                                                                                Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                                                */ @@ -7165,7 +7081,6 @@ export interface UpdateNFSFileShareInput { * @public *

                                                                                                                                                                                                                                                                                                                                                                                                The default storage class for objects put into an Amazon S3 bucket by the S3 * File Gateway. The default value is S3_STANDARD. Optional.

                                                                                                                                                                                                                                                                                                                                                                                                - * *

                                                                                                                                                                                                                                                                                                                                                                                                Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | * S3_STANDARD_IA | S3_ONEZONE_IA *

                                                                                                                                                                                                                                                                                                                                                                                                @@ -7189,9 +7104,7 @@ export interface UpdateNFSFileShareInput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                                The user mapped to anonymous user.

                                                                                                                                                                                                                                                                                                                                                                                                - * *

                                                                                                                                                                                                                                                                                                                                                                                                Valid values are the following:

                                                                                                                                                                                                                                                                                                                                                                                                - * *
                                                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                                                • *

                                                                                                                                                                                                                                                                                                                                                                                                  @@ -7213,7 +7126,6 @@ export interface UpdateNFSFileShareInput { * @public *

                                                                                                                                                                                                                                                                                                                                                                                                  A value that sets the write status of a file share. Set this value to true * to set the write status to read-only, otherwise set to false.

                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                                                  */ @@ -7224,7 +7136,6 @@ export interface UpdateNFSFileShareInput { *

                                                                                                                                                                                                                                                                                                                                                                                                  A value that enables guessing of the MIME type for uploaded objects based on file * extensions. Set this value to true to enable MIME type guessing, otherwise set * to false. The default value is true.

                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                                                  */ @@ -7236,14 +7147,12 @@ export interface UpdateNFSFileShareInput { * download from the S3 bucket. If this value is set to true, the requester pays * the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays * the cost of storing data.

                                                                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                                                                  * RequesterPays is a configuration for the S3 bucket that backs the file * share, so make sure that the configuration on the file share is the same as the S3 * bucket configuration.

                                                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                                                  */ @@ -7252,7 +7161,6 @@ export interface UpdateNFSFileShareInput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                                  The name of the file share. Optional.

                                                                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                                                                  * FileShareName must be set if an S3 prefix name is set in @@ -7274,22 +7182,17 @@ export interface UpdateNFSFileShareInput { * generating an ObjectUploaded notification. Because clients can make many small * writes to files, it's best to set this parameter for as long as possible to avoid * generating multiple notifications for the same file in a small time period.

                                                                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                                                                  * SettlingTimeInSeconds has no effect on the timing of the object * uploading to Amazon S3, only the timing of the notification.

                                                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  The following example sets NotificationPolicy on with * SettlingTimeInSeconds set to 60.

                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  * \{\"Upload\": \{\"SettlingTimeInSeconds\": 60\}\} *

                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  The following example sets NotificationPolicy off.

                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  * \{\} *

                                                                                                                                                                                                                                                                                                                                                                                                  @@ -7331,7 +7234,6 @@ export interface UpdateSMBFileShareInput { *

                                                                                                                                                                                                                                                                                                                                                                                                  Set to true to use Amazon S3 server-side encryption with your own * KMS key, or false to use a key managed by Amazon S3. * Optional.

                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                                                  */ @@ -7348,7 +7250,6 @@ export interface UpdateSMBFileShareInput { * @public *

                                                                                                                                                                                                                                                                                                                                                                                                  The default storage class for objects put into an Amazon S3 bucket by the S3 * File Gateway. The default value is S3_STANDARD. Optional.

                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | * S3_STANDARD_IA | S3_ONEZONE_IA *

                                                                                                                                                                                                                                                                                                                                                                                                  @@ -7366,7 +7267,6 @@ export interface UpdateSMBFileShareInput { * @public *

                                                                                                                                                                                                                                                                                                                                                                                                  A value that sets the write status of a file share. Set this value to true * to set write status to read-only, otherwise set to false.

                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                                                  */ @@ -7377,7 +7277,6 @@ export interface UpdateSMBFileShareInput { *

                                                                                                                                                                                                                                                                                                                                                                                                  A value that enables guessing of the MIME type for uploaded objects based on file * extensions. Set this value to true to enable MIME type guessing, otherwise set * to false. The default value is true.

                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                                                  */ @@ -7389,14 +7288,12 @@ export interface UpdateSMBFileShareInput { * download from the S3 bucket. If this value is set to true, the requester pays * the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays * the cost of storing data.

                                                                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                                                                  * RequesterPays is a configuration for the S3 bucket that backs the file * share, so make sure that the configuration on the file share is the same as the S3 * bucket configuration.

                                                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                                                  */ @@ -7407,13 +7304,9 @@ export interface UpdateSMBFileShareInput { *

                                                                                                                                                                                                                                                                                                                                                                                                  Set this value to true to enable access control list (ACL) on the SMB file * share. Set it to false to map file and directory permissions to the POSIX * permissions.

                                                                                                                                                                                                                                                                                                                                                                                                  - * - * - * *

                                                                                                                                                                                                                                                                                                                                                                                                  For more information, see Using Microsoft Windows ACLs to * control access to an SMB file share in the Storage Gateway User * Guide.

                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  Valid Values: true | false *

                                                                                                                                                                                                                                                                                                                                                                                                  */ @@ -7474,7 +7367,6 @@ export interface UpdateSMBFileShareInput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                                  The name of the file share. Optional.

                                                                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                                                                  * FileShareName must be set if an S3 prefix name is set in @@ -7496,22 +7388,17 @@ export interface UpdateSMBFileShareInput { * generating an ObjectUploaded notification. Because clients can make many small * writes to files, it's best to set this parameter for as long as possible to avoid * generating multiple notifications for the same file in a small time period.

                                                                                                                                                                                                                                                                                                                                                                                                  - * * *

                                                                                                                                                                                                                                                                                                                                                                                                  * SettlingTimeInSeconds has no effect on the timing of the object * uploading to Amazon S3, only the timing of the notification.

                                                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  The following example sets NotificationPolicy on with * SettlingTimeInSeconds set to 60.

                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  * \{\"Upload\": \{\"SettlingTimeInSeconds\": 60\}\} *

                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  The following example sets NotificationPolicy off.

                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  * \{\} *

                                                                                                                                                                                                                                                                                                                                                                                                  @@ -7618,16 +7505,13 @@ export interface UpdateSMBSecurityStrategyInput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                                  Specifies the type of security strategy.

                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  ClientSpecified: if you use this option, requests are established based on what is * negotiated by the client. This option is recommended when you want to maximize * compatibility across different clients in your environment. Supported only in S3 File * Gateway.

                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  MandatorySigning: if you use this option, file gateway only allows connections from * SMBv2 or SMBv3 clients that have signing enabled. This option works with SMB clients on * Microsoft Windows Vista, Windows Server 2008 or newer.

                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  MandatoryEncryption: if you use this option, file gateway only allows connections from * SMBv3 clients that have encryption enabled. This option is highly recommended for * environments that handle sensitive data. This option works with SMB clients on Microsoft @@ -7651,7 +7535,6 @@ export interface UpdateSMBSecurityStrategyOutput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                                  A JSON object containing one or more of the following fields:

                                                                                                                                                                                                                                                                                                                                                                                                  - * *
                                                                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                                                                  • *

                                                                                                                                                                                                                                                                                                                                                                                                    @@ -7707,7 +7590,6 @@ export interface UpdateSnapshotScheduleInput { * @public *

                                                                                                                                                                                                                                                                                                                                                                                                    A list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value * pair.

                                                                                                                                                                                                                                                                                                                                                                                                    - * * *

                                                                                                                                                                                                                                                                                                                                                                                                    Valid characters for key and value are letters, spaces, and numbers representable in * UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length @@ -7745,7 +7627,6 @@ export interface UpdateVTLDeviceTypeInput { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                                    The type of medium changer you want to select.

                                                                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                                                                    Valid Values: STK-L700 | AWS-Gateway-VTL | * IBM-03584L32-0402 *

                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/clients/client-sts/src/endpoint/ruleset.ts b/clients/client-sts/src/endpoint/ruleset.ts index 31c21c48b1695..edef5db3855bf 100644 --- a/clients/client-sts/src/endpoint/ruleset.ts +++ b/clients/client-sts/src/endpoint/ruleset.ts @@ -42,5 +42,5 @@ B={[H]:c,[I]:[true,{[H]:l,[I]:[A,"supportsDualStack"]}]}, C=[{[H]:"isSet",[I]:[o]}], D=[x], E=[y]; -const _data={version:"1.0",parameters:{Region:m,UseDualStack:n,UseFIPS:n,Endpoint:m,UseGlobalEndpoint:n},rules:[{conditions:[{[H]:c,[I]:[{[J]:"UseGlobalEndpoint"},b]},{[H]:"not",[I]:C},p,r,{[H]:c,[I]:[s,a]},{[H]:c,[I]:[t,a]}],[G]:d,rules:[{conditions:[{[H]:e,[I]:[q,"ap-northeast-1"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"ap-south-1"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"ap-southeast-1"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"ap-southeast-2"]}],endpoint:u,[G]:i},w,{conditions:[{[H]:e,[I]:[q,"ca-central-1"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"eu-central-1"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"eu-north-1"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"eu-west-1"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"eu-west-2"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"eu-west-3"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"sa-east-1"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,h]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"us-east-2"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"us-west-1"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"us-west-2"]}],endpoint:u,[G]:i},{endpoint:{url:j,properties:{authSchemes:[{name:f,signingName:g,signingRegion:"{Region}"}]},headers:v},[G]:i}]},{conditions:C,[G]:d,rules:[{conditions:D,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[G]:k},{[G]:d,rules:[{conditions:E,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[G]:k},{endpoint:{url:o,properties:v,headers:v},[G]:i}]}]},{[G]:d,rules:[{conditions:[p],[G]:d,rules:[{conditions:[r],[G]:d,rules:[{conditions:[x,y],[G]:d,rules:[{conditions:[z,B],[G]:d,rules:[{[G]:d,rules:[{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:v,headers:v},[G]:i}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[G]:k}]},{conditions:D,[G]:d,rules:[{conditions:[z],[G]:d,rules:[{[G]:d,rules:[{conditions:[{[H]:e,[I]:["aws-us-gov",{[H]:l,[I]:[A,"name"]}]}],endpoint:{url:"https://sts.{Region}.amazonaws.com",properties:v,headers:v},[G]:i},{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:v,headers:v},[G]:i}]}]},{error:"FIPS is enabled but this partition does not support FIPS",[G]:k}]},{conditions:E,[G]:d,rules:[{conditions:[B],[G]:d,rules:[{[G]:d,rules:[{endpoint:{url:"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:v,headers:v},[G]:i}]}]},{error:"DualStack is enabled but this partition does not support DualStack",[G]:k}]},{[G]:d,rules:[w,{endpoint:{url:j,properties:v,headers:v},[G]:i}]}]}]},{error:"Invalid Configuration: Missing Region",[G]:k}]}]}; +const _data={version:"1.0",parameters:{Region:m,UseDualStack:n,UseFIPS:n,Endpoint:m,UseGlobalEndpoint:n},rules:[{conditions:[{[H]:c,[I]:[{[J]:"UseGlobalEndpoint"},b]},{[H]:"not",[I]:C},p,r,{[H]:c,[I]:[s,a]},{[H]:c,[I]:[t,a]}],[G]:d,rules:[{conditions:[{[H]:e,[I]:[q,"ap-northeast-1"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"ap-south-1"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"ap-southeast-1"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"ap-southeast-2"]}],endpoint:u,[G]:i},w,{conditions:[{[H]:e,[I]:[q,"ca-central-1"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"eu-central-1"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"eu-north-1"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"eu-west-1"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"eu-west-2"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"eu-west-3"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"sa-east-1"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,h]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"us-east-2"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"us-west-1"]}],endpoint:u,[G]:i},{conditions:[{[H]:e,[I]:[q,"us-west-2"]}],endpoint:u,[G]:i},{endpoint:{url:j,properties:{authSchemes:[{name:f,signingName:g,signingRegion:"{Region}"}]},headers:v},[G]:i}]},{conditions:C,[G]:d,rules:[{conditions:D,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[G]:k},{conditions:E,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[G]:k},{endpoint:{url:o,properties:v,headers:v},[G]:i}]},{conditions:[p],[G]:d,rules:[{conditions:[r],[G]:d,rules:[{conditions:[x,y],[G]:d,rules:[{conditions:[z,B],[G]:d,rules:[{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:v,headers:v},[G]:i}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[G]:k}]},{conditions:D,[G]:d,rules:[{conditions:[z],[G]:d,rules:[{conditions:[{[H]:e,[I]:["aws-us-gov",{[H]:l,[I]:[A,"name"]}]}],endpoint:{url:"https://sts.{Region}.amazonaws.com",properties:v,headers:v},[G]:i},{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:v,headers:v},[G]:i}]},{error:"FIPS is enabled but this partition does not support FIPS",[G]:k}]},{conditions:E,[G]:d,rules:[{conditions:[B],[G]:d,rules:[{endpoint:{url:"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:v,headers:v},[G]:i}]},{error:"DualStack is enabled but this partition does not support DualStack",[G]:k}]},w,{endpoint:{url:j,properties:v,headers:v},[G]:i}]}]},{error:"Invalid Configuration: Missing Region",[G]:k}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-support-app/src/endpoint/ruleset.ts b/clients/client-support-app/src/endpoint/ruleset.ts index b1b25a448f2e2..d0f8480bd61f2 100644 --- a/clients/client-support-app/src/endpoint/ruleset.ts +++ b/clients/client-support-app/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/support-app.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://supportapp-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://supportapp-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://supportapp.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://supportapp.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://supportapp-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://supportapp-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://supportapp.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://supportapp.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-support/src/endpoint/ruleset.ts b/clients/client-support/src/endpoint/ruleset.ts index d19193c37fce3..7be26d742c28c 100644 --- a/clients/client-support/src/endpoint/ruleset.ts +++ b/clients/client-support/src/endpoint/ruleset.ts @@ -32,5 +32,5 @@ s={[x]:"booleanEquals",[y]:[true,{[x]:"getAttr",[y]:[{[z]:e},"supportsDualStack" t=[l], u=[m], v=[{[z]:"Region"}]; -const _data={version:"1.0",parameters:{Region:i,UseDualStack:j,UseFIPS:j,Endpoint:i},rules:[{conditions:[{[x]:a,[y]:[k]}],type:b,rules:[{conditions:t,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:u,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:k,properties:n,headers:n},type:d}]}]},{type:b,rules:[{conditions:[{[x]:a,[y]:v}],type:b,rules:[{conditions:[{[x]:"aws.partition",[y]:v,assign:e}],type:b,rules:[{conditions:[{[x]:f,[y]:[o,"aws"]},p,q],endpoint:{url:"https://support.us-east-1.amazonaws.com",properties:{authSchemes:[{name:g,signingName:h,signingRegion:"us-east-1"}]},headers:n},type:d},{conditions:[{[x]:f,[y]:[o,"aws-cn"]},p,q],endpoint:{url:"https://support.cn-north-1.amazonaws.com.cn",properties:{authSchemes:[{name:g,signingName:h,signingRegion:"cn-north-1"}]},headers:n},type:d},{conditions:[{[x]:f,[y]:[o,"aws-us-gov"]},p,q],endpoint:{url:"https://support.us-gov-west-1.amazonaws.com",properties:{authSchemes:[{name:g,signingName:h,signingRegion:"us-gov-west-1"}]},headers:n},type:d},{conditions:[{[x]:f,[y]:[o,"aws-iso"]},p,q],endpoint:{url:"https://support.us-iso-east-1.c2s.ic.gov",properties:{authSchemes:[{name:g,signingName:h,signingRegion:"us-iso-east-1"}]},headers:n},type:d},{conditions:[{[x]:f,[y]:[o,"aws-iso-b"]},p,q],endpoint:{url:"https://support.us-isob-east-1.sc2s.sgov.gov",properties:{authSchemes:[{name:g,signingName:h,signingRegion:"us-isob-east-1"}]},headers:n},type:d},{conditions:[l,m],type:b,rules:[{conditions:[r,s],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://support-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:t,type:b,rules:[{conditions:[r],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://support-fips.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:u,type:b,rules:[{conditions:[s],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://support.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://support.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:i,UseDualStack:j,UseFIPS:j,Endpoint:i},rules:[{conditions:[{[x]:a,[y]:[k]}],type:b,rules:[{conditions:t,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:u,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:k,properties:n,headers:n},type:d}]},{conditions:[{[x]:a,[y]:v}],type:b,rules:[{conditions:[{[x]:"aws.partition",[y]:v,assign:e}],type:b,rules:[{conditions:[{[x]:f,[y]:[o,"aws"]},p,q],endpoint:{url:"https://support.us-east-1.amazonaws.com",properties:{authSchemes:[{name:g,signingName:h,signingRegion:"us-east-1"}]},headers:n},type:d},{conditions:[{[x]:f,[y]:[o,"aws-cn"]},p,q],endpoint:{url:"https://support.cn-north-1.amazonaws.com.cn",properties:{authSchemes:[{name:g,signingName:h,signingRegion:"cn-north-1"}]},headers:n},type:d},{conditions:[{[x]:f,[y]:[o,"aws-us-gov"]},p,q],endpoint:{url:"https://support.us-gov-west-1.amazonaws.com",properties:{authSchemes:[{name:g,signingName:h,signingRegion:"us-gov-west-1"}]},headers:n},type:d},{conditions:[{[x]:f,[y]:[o,"aws-iso"]},p,q],endpoint:{url:"https://support.us-iso-east-1.c2s.ic.gov",properties:{authSchemes:[{name:g,signingName:h,signingRegion:"us-iso-east-1"}]},headers:n},type:d},{conditions:[{[x]:f,[y]:[o,"aws-iso-b"]},p,q],endpoint:{url:"https://support.us-isob-east-1.sc2s.sgov.gov",properties:{authSchemes:[{name:g,signingName:h,signingRegion:"us-isob-east-1"}]},headers:n},type:d},{conditions:[l,m],type:b,rules:[{conditions:[r,s],type:b,rules:[{endpoint:{url:"https://support-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:t,type:b,rules:[{conditions:[r],type:b,rules:[{endpoint:{url:"https://support-fips.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:u,type:b,rules:[{conditions:[s],type:b,rules:[{endpoint:{url:"https://support.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://support.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-synthetics/README.md b/clients/client-synthetics/README.md index 892d8df4e793c..e1072eeaaa613 100644 --- a/clients/client-synthetics/README.md +++ b/clients/client-synthetics/README.md @@ -19,7 +19,6 @@ ServiceLens to help you trace the causes of impacted nodes in your applications. information, see Using ServiceLens to Monitor the Health of Your Applications in the Amazon CloudWatch User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                                                                    Before you create and manage canaries, be aware of the security considerations. For more information, see Security Considerations for Synthetics Canaries.

                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/clients/client-synthetics/src/Synthetics.ts b/clients/client-synthetics/src/Synthetics.ts index 586a9d6a8f879..88240ed18e832 100644 --- a/clients/client-synthetics/src/Synthetics.ts +++ b/clients/client-synthetics/src/Synthetics.ts @@ -396,7 +396,6 @@ export interface Synthetics { * information, see Using ServiceLens to Monitor * the Health of Your Applications in the Amazon CloudWatch User * Guide.

                                                                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                                                                    Before you create and manage canaries, be aware of the security considerations. For more * information, see Security * Considerations for Synthetics Canaries.

                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/clients/client-synthetics/src/SyntheticsClient.ts b/clients/client-synthetics/src/SyntheticsClient.ts index e0faff209b5e0..d56bfe9656f4c 100644 --- a/clients/client-synthetics/src/SyntheticsClient.ts +++ b/clients/client-synthetics/src/SyntheticsClient.ts @@ -331,7 +331,6 @@ export interface SyntheticsClientResolvedConfig extends SyntheticsClientResolved * information, see Using ServiceLens to Monitor * the Health of Your Applications in the Amazon CloudWatch User * Guide.

                                                                                                                                                                                                                                                                                                                                                                                                    - * *

                                                                                                                                                                                                                                                                                                                                                                                                    Before you create and manage canaries, be aware of the security considerations. For more * information, see Security * Considerations for Synthetics Canaries.

                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/clients/client-synthetics/src/commands/CreateCanaryCommand.ts b/clients/client-synthetics/src/commands/CreateCanaryCommand.ts index 47e06800747d5..ed7e650fa3e56 100644 --- a/clients/client-synthetics/src/commands/CreateCanaryCommand.ts +++ b/clients/client-synthetics/src/commands/CreateCanaryCommand.ts @@ -95,7 +95,7 @@ export interface CreateCanaryCommandOutput extends CreateCanaryResponse, __Metad * }, * ArtifactConfig: { // ArtifactConfigInput * S3Encryption: { // S3EncryptionConfig - * EncryptionMode: "STRING_VALUE", + * EncryptionMode: "SSE_S3" || "SSE_KMS", * KmsKeyArn: "STRING_VALUE", * }, * }, @@ -123,9 +123,9 @@ export interface CreateCanaryCommandOutput extends CreateCanaryResponse, __Metad * // SuccessRetentionPeriodInDays: Number("int"), * // FailureRetentionPeriodInDays: Number("int"), * // Status: { // CanaryStatus - * // State: "STRING_VALUE", + * // State: "CREATING" || "READY" || "STARTING" || "RUNNING" || "UPDATING" || "STOPPING" || "STOPPED" || "ERROR" || "DELETING", * // StateReason: "STRING_VALUE", - * // StateReasonCode: "STRING_VALUE", + * // StateReasonCode: "INVALID_PERMISSIONS" || "CREATE_PENDING" || "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "UPDATE_PENDING" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "ROLLBACK_COMPLETE" || "ROLLBACK_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_FAILED" || "SYNC_DELETE_IN_PROGRESS", * // }, * // Timeline: { // CanaryTimeline * // Created: new Date("TIMESTAMP"), @@ -161,7 +161,7 @@ export interface CreateCanaryCommandOutput extends CreateCanaryResponse, __Metad * // }, * // ArtifactConfig: { // ArtifactConfigOutput * // S3Encryption: { // S3EncryptionConfig - * // EncryptionMode: "STRING_VALUE", + * // EncryptionMode: "SSE_S3" || "SSE_KMS", * // KmsKeyArn: "STRING_VALUE", * // }, * // }, diff --git a/clients/client-synthetics/src/commands/DeleteCanaryCommand.ts b/clients/client-synthetics/src/commands/DeleteCanaryCommand.ts index 61c61b11852bd..837d55d9f80df 100644 --- a/clients/client-synthetics/src/commands/DeleteCanaryCommand.ts +++ b/clients/client-synthetics/src/commands/DeleteCanaryCommand.ts @@ -64,7 +64,6 @@ export interface DeleteCanaryCommandOutput extends DeleteCanaryResponse, __Metad * .

                                                                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  Before you delete a canary, you might want to use GetCanary to display * the information about this canary. Make * note of the information returned by this operation so that you can delete these resources diff --git a/clients/client-synthetics/src/commands/DescribeCanariesCommand.ts b/clients/client-synthetics/src/commands/DescribeCanariesCommand.ts index 4a7d0acd1cc42..8bf6bbe54d83e 100644 --- a/clients/client-synthetics/src/commands/DescribeCanariesCommand.ts +++ b/clients/client-synthetics/src/commands/DescribeCanariesCommand.ts @@ -83,9 +83,9 @@ export interface DescribeCanariesCommandOutput extends DescribeCanariesResponse, * // SuccessRetentionPeriodInDays: Number("int"), * // FailureRetentionPeriodInDays: Number("int"), * // Status: { // CanaryStatus - * // State: "STRING_VALUE", + * // State: "CREATING" || "READY" || "STARTING" || "RUNNING" || "UPDATING" || "STOPPING" || "STOPPED" || "ERROR" || "DELETING", * // StateReason: "STRING_VALUE", - * // StateReasonCode: "STRING_VALUE", + * // StateReasonCode: "INVALID_PERMISSIONS" || "CREATE_PENDING" || "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "UPDATE_PENDING" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "ROLLBACK_COMPLETE" || "ROLLBACK_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_FAILED" || "SYNC_DELETE_IN_PROGRESS", * // }, * // Timeline: { // CanaryTimeline * // Created: new Date("TIMESTAMP"), @@ -121,7 +121,7 @@ export interface DescribeCanariesCommandOutput extends DescribeCanariesResponse, * // }, * // ArtifactConfig: { // ArtifactConfigOutput * // S3Encryption: { // S3EncryptionConfig - * // EncryptionMode: "STRING_VALUE", + * // EncryptionMode: "SSE_S3" || "SSE_KMS", * // KmsKeyArn: "STRING_VALUE", * // }, * // }, diff --git a/clients/client-synthetics/src/commands/DescribeCanariesLastRunCommand.ts b/clients/client-synthetics/src/commands/DescribeCanariesLastRunCommand.ts index de6b37f9305c5..c95243a4b5488 100644 --- a/clients/client-synthetics/src/commands/DescribeCanariesLastRunCommand.ts +++ b/clients/client-synthetics/src/commands/DescribeCanariesLastRunCommand.ts @@ -37,7 +37,6 @@ export interface DescribeCanariesLastRunCommandOutput extends DescribeCanariesLa /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                                  Use this operation to see information from the most recent run of each canary that you have created.

                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  This operation supports resource-level authorization using an IAM policy and * the Names parameter. If you specify the Names parameter, the operation is successful only if you have authorization to view * all the canaries that you specify in your request. If you do not have permission to view any of @@ -69,9 +68,9 @@ export interface DescribeCanariesLastRunCommandOutput extends DescribeCanariesLa * // Id: "STRING_VALUE", * // Name: "STRING_VALUE", * // Status: { // CanaryRunStatus - * // State: "STRING_VALUE", + * // State: "RUNNING" || "PASSED" || "FAILED", * // StateReason: "STRING_VALUE", - * // StateReasonCode: "STRING_VALUE", + * // StateReasonCode: "CANARY_FAILURE" || "EXECUTION_FAILURE", * // }, * // Timeline: { // CanaryRunTimeline * // Started: new Date("TIMESTAMP"), diff --git a/clients/client-synthetics/src/commands/GetCanaryCommand.ts b/clients/client-synthetics/src/commands/GetCanaryCommand.ts index 9bb92b9fb13b7..3fb09d090a8dc 100644 --- a/clients/client-synthetics/src/commands/GetCanaryCommand.ts +++ b/clients/client-synthetics/src/commands/GetCanaryCommand.ts @@ -71,9 +71,9 @@ export interface GetCanaryCommandOutput extends GetCanaryResponse, __MetadataBea * // SuccessRetentionPeriodInDays: Number("int"), * // FailureRetentionPeriodInDays: Number("int"), * // Status: { // CanaryStatus - * // State: "STRING_VALUE", + * // State: "CREATING" || "READY" || "STARTING" || "RUNNING" || "UPDATING" || "STOPPING" || "STOPPED" || "ERROR" || "DELETING", * // StateReason: "STRING_VALUE", - * // StateReasonCode: "STRING_VALUE", + * // StateReasonCode: "INVALID_PERMISSIONS" || "CREATE_PENDING" || "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "UPDATE_PENDING" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "ROLLBACK_COMPLETE" || "ROLLBACK_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_FAILED" || "SYNC_DELETE_IN_PROGRESS", * // }, * // Timeline: { // CanaryTimeline * // Created: new Date("TIMESTAMP"), @@ -109,7 +109,7 @@ export interface GetCanaryCommandOutput extends GetCanaryResponse, __MetadataBea * // }, * // ArtifactConfig: { // ArtifactConfigOutput * // S3Encryption: { // S3EncryptionConfig - * // EncryptionMode: "STRING_VALUE", + * // EncryptionMode: "SSE_S3" || "SSE_KMS", * // KmsKeyArn: "STRING_VALUE", * // }, * // }, diff --git a/clients/client-synthetics/src/commands/GetCanaryRunsCommand.ts b/clients/client-synthetics/src/commands/GetCanaryRunsCommand.ts index b0d7f0bc4cb15..1375016694d37 100644 --- a/clients/client-synthetics/src/commands/GetCanaryRunsCommand.ts +++ b/clients/client-synthetics/src/commands/GetCanaryRunsCommand.ts @@ -56,9 +56,9 @@ export interface GetCanaryRunsCommandOutput extends GetCanaryRunsResponse, __Met * // Id: "STRING_VALUE", * // Name: "STRING_VALUE", * // Status: { // CanaryRunStatus - * // State: "STRING_VALUE", + * // State: "RUNNING" || "PASSED" || "FAILED", * // StateReason: "STRING_VALUE", - * // StateReasonCode: "STRING_VALUE", + * // StateReasonCode: "CANARY_FAILURE" || "EXECUTION_FAILURE", * // }, * // Timeline: { // CanaryRunTimeline * // Started: new Date("TIMESTAMP"), diff --git a/clients/client-synthetics/src/commands/UpdateCanaryCommand.ts b/clients/client-synthetics/src/commands/UpdateCanaryCommand.ts index 74c050c369f47..79436449ac380 100644 --- a/clients/client-synthetics/src/commands/UpdateCanaryCommand.ts +++ b/clients/client-synthetics/src/commands/UpdateCanaryCommand.ts @@ -94,7 +94,7 @@ export interface UpdateCanaryCommandOutput extends UpdateCanaryResponse, __Metad * ArtifactS3Location: "STRING_VALUE", * ArtifactConfig: { // ArtifactConfigInput * S3Encryption: { // S3EncryptionConfig - * EncryptionMode: "STRING_VALUE", + * EncryptionMode: "SSE_S3" || "SSE_KMS", * KmsKeyArn: "STRING_VALUE", * }, * }, diff --git a/clients/client-synthetics/src/endpoint/ruleset.ts b/clients/client-synthetics/src/endpoint/ruleset.ts index ad5c3749f7b7a..b251f12d68cfa 100644 --- a/clients/client-synthetics/src/endpoint/ruleset.ts +++ b/clients/client-synthetics/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/synthetics.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://synthetics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://synthetics-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://synthetics.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://synthetics.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://synthetics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://synthetics-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://synthetics.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://synthetics.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-synthetics/src/index.ts b/clients/client-synthetics/src/index.ts index ffd27b88c7749..46b1b623f3f12 100644 --- a/clients/client-synthetics/src/index.ts +++ b/clients/client-synthetics/src/index.ts @@ -13,7 +13,6 @@ * information, see Using ServiceLens to Monitor * the Health of Your Applications in the Amazon CloudWatch User * Guide.

                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  Before you create and manage canaries, be aware of the security considerations. For more * information, see Security * Considerations for Synthetics Canaries.

                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/clients/client-synthetics/src/models/models_0.ts b/clients/client-synthetics/src/models/models_0.ts index a00fb0592a14a..8fab2cecd7261 100644 --- a/clients/client-synthetics/src/models/models_0.ts +++ b/clients/client-synthetics/src/models/models_0.ts @@ -23,7 +23,7 @@ export type EncryptionMode = (typeof EncryptionMode)[keyof typeof EncryptionMode * uploads to Amazon S3.

                                                                                                                                                                                                                                                                                                                                                                                                  *

                                                                                                                                                                                                                                                                                                                                                                                                  For more information, see * Encrypting canary artifacts - *

                                                                                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                                                                                  */ export interface S3EncryptionConfig { /** @@ -1831,7 +1831,6 @@ export interface UntagResourceResponse {} * @public *

                                                                                                                                                                                                                                                                                                                                                                                                  An object that specifies what screenshots to use as a baseline for visual monitoring by this canary. It can * optionally also specify parts of the screenshots to ignore during the visual monitoring comparison.

                                                                                                                                                                                                                                                                                                                                                                                                  - * *

                                                                                                                                                                                                                                                                                                                                                                                                  Visual monitoring is supported only on canaries running the syn-puppeteer-node-3.2 * runtime or later. For more information, see * Visual monitoring and diff --git a/clients/client-textract/src/endpoint/ruleset.ts b/clients/client-textract/src/endpoint/ruleset.ts index 48ffca23343b5..6abf0a919e34d 100644 --- a/clients/client-textract/src/endpoint/ruleset.ts +++ b/clients/client-textract/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://textract-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://textract-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://textract.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://textract.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://textract-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://textract-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://textract.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://textract.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-timestream-query/src/TimestreamQuery.ts b/clients/client-timestream-query/src/TimestreamQuery.ts index 03e80df37829b..4c8e959ea0ca9 100644 --- a/clients/client-timestream-query/src/TimestreamQuery.ts +++ b/clients/client-timestream-query/src/TimestreamQuery.ts @@ -270,7 +270,7 @@ export interface TimestreamQuery { * @public * Amazon Timestream Query * - *

                                                                                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                                                                                  */ export class TimestreamQuery extends TimestreamQueryClient implements TimestreamQuery {} createAggregatedClient(commands, TimestreamQuery); diff --git a/clients/client-timestream-query/src/TimestreamQueryClient.ts b/clients/client-timestream-query/src/TimestreamQueryClient.ts index d4966fb0dabd3..edc261fc7b6ce 100644 --- a/clients/client-timestream-query/src/TimestreamQueryClient.ts +++ b/clients/client-timestream-query/src/TimestreamQueryClient.ts @@ -321,7 +321,7 @@ export interface TimestreamQueryClientResolvedConfig extends TimestreamQueryClie * @public * Amazon Timestream Query * - *

                                                                                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                                                                                  */ export class TimestreamQueryClient extends __Client< __HttpHandlerOptions, diff --git a/clients/client-timestream-query/src/commands/CreateScheduledQueryCommand.ts b/clients/client-timestream-query/src/commands/CreateScheduledQueryCommand.ts index 77331e190a7db..e67213137afd1 100644 --- a/clients/client-timestream-query/src/commands/CreateScheduledQueryCommand.ts +++ b/clients/client-timestream-query/src/commands/CreateScheduledQueryCommand.ts @@ -71,7 +71,7 @@ export interface CreateScheduledQueryCommandOutput extends CreateScheduledQueryR * DimensionMappings: [ // DimensionMappingList // required * { // DimensionMapping * Name: "STRING_VALUE", // required - * DimensionValueType: "STRING_VALUE", // required + * DimensionValueType: "VARCHAR", // required * }, * ], * MultiMeasureMappings: { // MultiMeasureMappings @@ -80,7 +80,7 @@ export interface CreateScheduledQueryCommandOutput extends CreateScheduledQueryR * { // MultiMeasureAttributeMapping * SourceColumn: "STRING_VALUE", // required * TargetMultiMeasureAttributeName: "STRING_VALUE", - * MeasureValueType: "STRING_VALUE", // required + * MeasureValueType: "BIGINT" || "BOOLEAN" || "DOUBLE" || "VARCHAR" || "TIMESTAMP", // required * }, * ], * }, @@ -89,12 +89,12 @@ export interface CreateScheduledQueryCommandOutput extends CreateScheduledQueryR * MeasureName: "STRING_VALUE", * SourceColumn: "STRING_VALUE", * TargetMeasureName: "STRING_VALUE", - * MeasureValueType: "STRING_VALUE", // required + * MeasureValueType: "BIGINT" || "BOOLEAN" || "DOUBLE" || "VARCHAR" || "MULTI", // required * MultiMeasureAttributeMappings: [ * { * SourceColumn: "STRING_VALUE", // required * TargetMultiMeasureAttributeName: "STRING_VALUE", - * MeasureValueType: "STRING_VALUE", // required + * MeasureValueType: "BIGINT" || "BOOLEAN" || "DOUBLE" || "VARCHAR" || "TIMESTAMP", // required * }, * ], * }, @@ -115,7 +115,7 @@ export interface CreateScheduledQueryCommandOutput extends CreateScheduledQueryR * S3Configuration: { // S3Configuration * BucketName: "STRING_VALUE", // required * ObjectKeyPrefix: "STRING_VALUE", - * EncryptionOption: "STRING_VALUE", + * EncryptionOption: "SSE_S3" || "SSE_KMS", * }, * }, * }; diff --git a/clients/client-timestream-query/src/commands/DescribeEndpointsCommand.ts b/clients/client-timestream-query/src/commands/DescribeEndpointsCommand.ts index 9922ac90b2ab6..907f6afbf4546 100644 --- a/clients/client-timestream-query/src/commands/DescribeEndpointsCommand.ts +++ b/clients/client-timestream-query/src/commands/DescribeEndpointsCommand.ts @@ -38,24 +38,24 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons * @public *

                                                                                                                                                                                                                                                                                                                                                                                                  DescribeEndpoints returns a list of available endpoints to make Timestream * API calls against. This API is available through both Write and Query.

                                                                                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                                                                                  Because the Timestream SDKs are designed to transparently work with the + *

                                                                                                                                                                                                                                                                                                                                                                                                  Because the Timestream SDKs are designed to transparently work with the * service’s architecture, including the management and mapping of the service endpoints, * it is not recommended that you use this API unless:

                                                                                                                                                                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                                                                                                                                                                    + * - *

                                                                                                                                                                                                                                                                                                                                                                                                    For detailed information on how and when to use and implement DescribeEndpoints, see + *

                                                                                                                                                                                                                                                                                                                                                                                                    For detailed information on how and when to use and implement DescribeEndpoints, see * The Endpoint Discovery Pattern.

                                                                                                                                                                                                                                                                                                                                                                                                    * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-timestream-query/src/commands/DescribeScheduledQueryCommand.ts b/clients/client-timestream-query/src/commands/DescribeScheduledQueryCommand.ts index 9ecd40278f313..0edfe351d7a3a 100644 --- a/clients/client-timestream-query/src/commands/DescribeScheduledQueryCommand.ts +++ b/clients/client-timestream-query/src/commands/DescribeScheduledQueryCommand.ts @@ -59,7 +59,7 @@ export interface DescribeScheduledQueryCommandOutput extends DescribeScheduledQu * // Name: "STRING_VALUE", // required * // QueryString: "STRING_VALUE", // required * // CreationTime: new Date("TIMESTAMP"), - * // State: "STRING_VALUE", // required + * // State: "ENABLED" || "DISABLED", // required * // PreviousInvocationTime: new Date("TIMESTAMP"), * // NextInvocationTime: new Date("TIMESTAMP"), * // ScheduleConfiguration: { // ScheduleConfiguration @@ -78,7 +78,7 @@ export interface DescribeScheduledQueryCommandOutput extends DescribeScheduledQu * // DimensionMappings: [ // DimensionMappingList // required * // { // DimensionMapping * // Name: "STRING_VALUE", // required - * // DimensionValueType: "STRING_VALUE", // required + * // DimensionValueType: "VARCHAR", // required * // }, * // ], * // MultiMeasureMappings: { // MultiMeasureMappings @@ -87,7 +87,7 @@ export interface DescribeScheduledQueryCommandOutput extends DescribeScheduledQu * // { // MultiMeasureAttributeMapping * // SourceColumn: "STRING_VALUE", // required * // TargetMultiMeasureAttributeName: "STRING_VALUE", - * // MeasureValueType: "STRING_VALUE", // required + * // MeasureValueType: "BIGINT" || "BOOLEAN" || "DOUBLE" || "VARCHAR" || "TIMESTAMP", // required * // }, * // ], * // }, @@ -96,12 +96,12 @@ export interface DescribeScheduledQueryCommandOutput extends DescribeScheduledQu * // MeasureName: "STRING_VALUE", * // SourceColumn: "STRING_VALUE", * // TargetMeasureName: "STRING_VALUE", - * // MeasureValueType: "STRING_VALUE", // required + * // MeasureValueType: "BIGINT" || "BOOLEAN" || "DOUBLE" || "VARCHAR" || "MULTI", // required * // MultiMeasureAttributeMappings: [ * // { * // SourceColumn: "STRING_VALUE", // required * // TargetMultiMeasureAttributeName: "STRING_VALUE", - * // MeasureValueType: "STRING_VALUE", // required + * // MeasureValueType: "BIGINT" || "BOOLEAN" || "DOUBLE" || "VARCHAR" || "TIMESTAMP", // required * // }, * // ], * // }, @@ -115,13 +115,13 @@ export interface DescribeScheduledQueryCommandOutput extends DescribeScheduledQu * // S3Configuration: { // S3Configuration * // BucketName: "STRING_VALUE", // required * // ObjectKeyPrefix: "STRING_VALUE", - * // EncryptionOption: "STRING_VALUE", + * // EncryptionOption: "SSE_S3" || "SSE_KMS", * // }, * // }, * // LastRunSummary: { // ScheduledQueryRunSummary * // InvocationTime: new Date("TIMESTAMP"), * // TriggerTime: new Date("TIMESTAMP"), - * // RunStatus: "STRING_VALUE", + * // RunStatus: "AUTO_TRIGGER_SUCCESS" || "AUTO_TRIGGER_FAILURE" || "MANUAL_TRIGGER_SUCCESS" || "MANUAL_TRIGGER_FAILURE", * // ExecutionStats: { // ExecutionStats * // ExecutionTimeInMillis: Number("long"), * // DataWrites: Number("long"), @@ -141,7 +141,7 @@ export interface DescribeScheduledQueryCommandOutput extends DescribeScheduledQu * // { * // InvocationTime: new Date("TIMESTAMP"), * // TriggerTime: new Date("TIMESTAMP"), - * // RunStatus: "STRING_VALUE", + * // RunStatus: "AUTO_TRIGGER_SUCCESS" || "AUTO_TRIGGER_FAILURE" || "MANUAL_TRIGGER_SUCCESS" || "MANUAL_TRIGGER_FAILURE", * // ExecutionStats: { * // ExecutionTimeInMillis: Number("long"), * // DataWrites: Number("long"), diff --git a/clients/client-timestream-query/src/commands/ListScheduledQueriesCommand.ts b/clients/client-timestream-query/src/commands/ListScheduledQueriesCommand.ts index 7469693444e2b..f501728583e35 100644 --- a/clients/client-timestream-query/src/commands/ListScheduledQueriesCommand.ts +++ b/clients/client-timestream-query/src/commands/ListScheduledQueriesCommand.ts @@ -56,14 +56,14 @@ export interface ListScheduledQueriesCommandOutput extends ListScheduledQueriesR * // Arn: "STRING_VALUE", // required * // Name: "STRING_VALUE", // required * // CreationTime: new Date("TIMESTAMP"), - * // State: "STRING_VALUE", // required + * // State: "ENABLED" || "DISABLED", // required * // PreviousInvocationTime: new Date("TIMESTAMP"), * // NextInvocationTime: new Date("TIMESTAMP"), * // ErrorReportConfiguration: { // ErrorReportConfiguration * // S3Configuration: { // S3Configuration * // BucketName: "STRING_VALUE", // required * // ObjectKeyPrefix: "STRING_VALUE", - * // EncryptionOption: "STRING_VALUE", + * // EncryptionOption: "SSE_S3" || "SSE_KMS", * // }, * // }, * // TargetDestination: { // TargetDestination @@ -72,7 +72,7 @@ export interface ListScheduledQueriesCommandOutput extends ListScheduledQueriesR * // TableName: "STRING_VALUE", * // }, * // }, - * // LastRunStatus: "STRING_VALUE", + * // LastRunStatus: "AUTO_TRIGGER_SUCCESS" || "AUTO_TRIGGER_FAILURE" || "MANUAL_TRIGGER_SUCCESS" || "MANUAL_TRIGGER_FAILURE", * // }, * // ], * // NextToken: "STRING_VALUE", diff --git a/clients/client-timestream-query/src/commands/PrepareQueryCommand.ts b/clients/client-timestream-query/src/commands/PrepareQueryCommand.ts index a70ff1393d505..9af8473e17e63 100644 --- a/clients/client-timestream-query/src/commands/PrepareQueryCommand.ts +++ b/clients/client-timestream-query/src/commands/PrepareQueryCommand.ts @@ -63,11 +63,11 @@ export interface PrepareQueryCommandOutput extends PrepareQueryResponse, __Metad * // { // SelectColumn * // Name: "STRING_VALUE", * // Type: { // Type - * // ScalarType: "STRING_VALUE", + * // ScalarType: "VARCHAR" || "BOOLEAN" || "BIGINT" || "DOUBLE" || "TIMESTAMP" || "DATE" || "TIME" || "INTERVAL_DAY_TO_SECOND" || "INTERVAL_YEAR_TO_MONTH" || "UNKNOWN" || "INTEGER", * // ArrayColumnInfo: { // ColumnInfo * // Name: "STRING_VALUE", * // Type: { - * // ScalarType: "STRING_VALUE", + * // ScalarType: "VARCHAR" || "BOOLEAN" || "BIGINT" || "DOUBLE" || "TIMESTAMP" || "DATE" || "TIME" || "INTERVAL_DAY_TO_SECOND" || "INTERVAL_YEAR_TO_MONTH" || "UNKNOWN" || "INTEGER", * // ArrayColumnInfo: { * // Name: "STRING_VALUE", * // Type: "", // required diff --git a/clients/client-timestream-query/src/commands/QueryCommand.ts b/clients/client-timestream-query/src/commands/QueryCommand.ts index 024f6bb57179f..2a40ab8e91fdf 100644 --- a/clients/client-timestream-query/src/commands/QueryCommand.ts +++ b/clients/client-timestream-query/src/commands/QueryCommand.ts @@ -43,26 +43,26 @@ export interface QueryCommandOutput extends QueryResponse, __MetadataBearer {} * You must update the default timeout in the SDK to support a timeout of 60 seconds. See * the code * sample for details.

                                                                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                                                                    Your query request will fail in the following cases:

                                                                                                                                                                                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                                                                                      Your query request will fail in the following cases:

                                                                                                                                                                                                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                                                                                                                                        If you submit a Query request with the same client token outside + *

                                                                                                                                                                                                                                                                                                                                                                                                        If you submit a Query request with the same client token outside * of the 5-minute idempotency window.

                                                                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                                                                                                                                        If you submit a Query request with the same client token, but + *

                                                                                                                                                                                                                                                                                                                                                                                                        If you submit a Query request with the same client token, but * change other parameters, within the 5-minute idempotency window.

                                                                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                                                                                                                                        If the size of the row (including the query metadata) exceeds 1 MB, then the + *

                                                                                                                                                                                                                                                                                                                                                                                                        If the size of the row (including the query metadata) exceeds 1 MB, then the * query will fail with the following error message:

                                                                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                                                                        * Query aborted as max page response size has been exceeded by the output * result row - *

                                                                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                                                                                                                                        If the IAM principal of the query initiator and the result reader are not the + *

                                                                                                                                                                                                                                                                                                                                                                                                        If the IAM principal of the query initiator and the result reader are not the * same and/or the query initiator and the result reader do not have the same query * string in the query requests, the query will fail with an Invalid * pagination token error.

                                                                                                                                                                                                                                                                                                                                                                                                        @@ -122,11 +122,11 @@ export interface QueryCommandOutput extends QueryResponse, __MetadataBearer {} * // { // ColumnInfo * // Name: "STRING_VALUE", * // Type: { // Type - * // ScalarType: "STRING_VALUE", + * // ScalarType: "VARCHAR" || "BOOLEAN" || "BIGINT" || "DOUBLE" || "TIMESTAMP" || "DATE" || "TIME" || "INTERVAL_DAY_TO_SECOND" || "INTERVAL_YEAR_TO_MONTH" || "UNKNOWN" || "INTEGER", * // ArrayColumnInfo: { * // Name: "STRING_VALUE", * // Type: { - * // ScalarType: "STRING_VALUE", + * // ScalarType: "VARCHAR" || "BOOLEAN" || "BIGINT" || "DOUBLE" || "TIMESTAMP" || "DATE" || "TIME" || "INTERVAL_DAY_TO_SECOND" || "INTERVAL_YEAR_TO_MONTH" || "UNKNOWN" || "INTEGER", * // ArrayColumnInfo: "", * // TimeSeriesMeasureValueColumnInfo: "", * // RowColumnInfo: [ diff --git a/clients/client-timestream-query/src/commands/UpdateScheduledQueryCommand.ts b/clients/client-timestream-query/src/commands/UpdateScheduledQueryCommand.ts index 5c72fcf835fe1..97e8439b4cef4 100644 --- a/clients/client-timestream-query/src/commands/UpdateScheduledQueryCommand.ts +++ b/clients/client-timestream-query/src/commands/UpdateScheduledQueryCommand.ts @@ -46,7 +46,7 @@ export interface UpdateScheduledQueryCommandOutput extends __MetadataBearer {} * const client = new TimestreamQueryClient(config); * const input = { // UpdateScheduledQueryRequest * ScheduledQueryArn: "STRING_VALUE", // required - * State: "STRING_VALUE", // required + * State: "ENABLED" || "DISABLED", // required * }; * const command = new UpdateScheduledQueryCommand(input); * const response = await client.send(command); diff --git a/clients/client-timestream-query/src/endpoint/ruleset.ts b/clients/client-timestream-query/src/endpoint/ruleset.ts index 2eab9f43559e1..f1a03b8bf23df 100644 --- a/clients/client-timestream-query/src/endpoint/ruleset.ts +++ b/clients/client-timestream-query/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/timestream-query.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://query.timestream-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://query.timestream-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://query.timestream.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://query.timestream.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://query.timestream-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://query.timestream-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://query.timestream.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://query.timestream.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-timestream-query/src/index.ts b/clients/client-timestream-query/src/index.ts index 3071c42ae2633..813c0198d9378 100644 --- a/clients/client-timestream-query/src/index.ts +++ b/clients/client-timestream-query/src/index.ts @@ -3,7 +3,7 @@ /** * Amazon Timestream Query * - *

                                                                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                                                                        * * @packageDocumentation */ diff --git a/clients/client-timestream-query/src/models/models_0.ts b/clients/client-timestream-query/src/models/models_0.ts index 84435ae5da181..0e3d3d753a9dc 100644 --- a/clients/client-timestream-query/src/models/models_0.ts +++ b/clients/client-timestream-query/src/models/models_0.ts @@ -531,7 +531,7 @@ export interface CreateScheduledQueryRequest { *

                                                                                                                                                                                                                                                                                                                                                                                                        The query string to run. Parameter * names can be specified in the query string @ character followed by an * identifier. The named Parameter @scheduled_runtime is reserved and can be used in the query to get the time at which the query is scheduled to run.

                                                                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                                                                        The timestamp calculated according to the ScheduleConfiguration parameter, will be the value of @scheduled_runtime paramater for each query run. + *

                                                                                                                                                                                                                                                                                                                                                                                                        The timestamp calculated according to the ScheduleConfiguration parameter, will be the value of @scheduled_runtime paramater for each query run. * For example, consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this instance, the @scheduled_runtime parameter is * initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.

                                                                                                                                                                                                                                                                                                                                                                                                        */ @@ -564,11 +564,11 @@ export interface CreateScheduledQueryRequest { *

                                                                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                                                                                                                                                          If CreateScheduledQuery is called without a ClientToken, the + *

                                                                                                                                                                                                                                                                                                                                                                                                          If CreateScheduledQuery is called without a ClientToken, the * Query SDK generates a ClientToken on your behalf.

                                                                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                                                                                                                                                          After 8 hours, any request with the same ClientToken is treated + *

                                                                                                                                                                                                                                                                                                                                                                                                          After 8 hours, any request with the same ClientToken is treated * as a new request.

                                                                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                                                                                                                                                        @@ -594,7 +594,7 @@ export interface CreateScheduledQueryRequest { * owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias name, or alias * ARN. When using an alias name, prefix the name with alias/ *

                                                                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                                                                        If ErrorReportConfiguration uses SSE_KMS as encryption type, the same KmsKeyId is used to encrypt the error report at rest.

                                                                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                                                                        If ErrorReportConfiguration uses SSE_KMS as encryption type, the same KmsKeyId is used to encrypt the error report at rest.

                                                                                                                                                                                                                                                                                                                                                                                                        */ KmsKeyId?: string; @@ -1230,23 +1230,23 @@ export interface QueryRequest { * produce the same result. In other words, making multiple identical Query * requests has the same effect as making a single request. When using * ClientToken in a query, note the following:

                                                                                                                                                                                                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                                                                                                                                                                                                          + *
                                                                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                                                                                                                                                            If the Query API is instantiated without a ClientToken, the + *

                                                                                                                                                                                                                                                                                                                                                                                                            If the Query API is instantiated without a ClientToken, the * Query SDK generates a ClientToken on your behalf.

                                                                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                                                                                                                                                            If the Query invocation only contains the + *

                                                                                                                                                                                                                                                                                                                                                                                                            If the Query invocation only contains the * ClientToken but does not include a NextToken, that * invocation of Query is assumed to be a new query run.

                                                                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                                                                                                                                                            If the invocation contains NextToken, that particular invocation + *

                                                                                                                                                                                                                                                                                                                                                                                                            If the invocation contains NextToken, that particular invocation * is assumed to be a subsequent invocation of a prior call to the Query API, and a * result set is returned.

                                                                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                                                                                                                                                            After 4 hours, any request with the same ClientToken is treated + *

                                                                                                                                                                                                                                                                                                                                                                                                            After 4 hours, any request with the same ClientToken is treated * as a new request.

                                                                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                                                                                                                                                          @@ -1261,34 +1261,34 @@ export interface QueryRequest { * returned. However, if the Query invocation only contains the * ClientToken, that invocation of Query is assumed to be a * new query run.

                                                                                                                                                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                                                                                                                                                          Note the following when using NextToken in a query:

                                                                                                                                                                                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                                                                                                                            Note the following when using NextToken in a query:

                                                                                                                                                                                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                                                                                                                              A pagination token can be used for up to five Query invocations, + *

                                                                                                                                                                                                                                                                                                                                                                                                              A pagination token can be used for up to five Query invocations, * OR for a duration of up to 1 hour – whichever comes first.

                                                                                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                                                                                                                              Using the same NextToken will return the same set of records. To + *

                                                                                                                                                                                                                                                                                                                                                                                                              Using the same NextToken will return the same set of records. To * keep paginating through the result set, you must to use the most recent * nextToken.

                                                                                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                                                                                                                              Suppose a Query invocation returns two NextToken + *

                                                                                                                                                                                                                                                                                                                                                                                                              Suppose a Query invocation returns two NextToken * values, TokenA and TokenB. If TokenB is * used in a subsequent Query invocation, then TokenA is * invalidated and cannot be reused.

                                                                                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                                                                                                                              To request a previous result set from a query after pagination has begun, you + *

                                                                                                                                                                                                                                                                                                                                                                                                              To request a previous result set from a query after pagination has begun, you * must re-invoke the Query API.

                                                                                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                                                                                                                              The latest NextToken should be used to paginate until + *

                                                                                                                                                                                                                                                                                                                                                                                                              The latest NextToken should be used to paginate until * null is returned, at which point a new NextToken * should be used.

                                                                                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                                                                                                                              If the IAM principal of the query initiator and the result reader are not the + *

                                                                                                                                                                                                                                                                                                                                                                                                              If the IAM principal of the query initiator and the result reader are not the * same and/or the query initiator and the result reader do not have the same query * string in the query requests, the query will fail with an Invalid * pagination token error.

                                                                                                                                                                                                                                                                                                                                                                                                              @@ -1302,20 +1302,20 @@ export interface QueryRequest { *

                                                                                                                                                                                                                                                                                                                                                                                                              The total number of rows to be returned in the Query output. The initial * run of Query with a MaxRows value specified will return the * result set of the query in two cases:

                                                                                                                                                                                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                                                                                                                                                                                                + *
                                                                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                                                                                                                                                  The size of the result is less than 1MB.

                                                                                                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                                                                                                  The size of the result is less than 1MB.

                                                                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                                                                                                                                                  The number of rows in the result set is less than the value of + *

                                                                                                                                                                                                                                                                                                                                                                                                                  The number of rows in the result set is less than the value of * maxRows.

                                                                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                                                                                                                                                Otherwise, the initial invocation of Query only returns a + *

                                                                                                                                                                                                                                                                                                                                                                                                                Otherwise, the initial invocation of Query only returns a * NextToken, which can then be used in subsequent calls to fetch the * result set. To resume pagination, provide the NextToken value in the * subsequent command.

                                                                                                                                                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                                                                                                                                                If the row size is large (e.g. a row has many columns), Timestream may return + *

                                                                                                                                                                                                                                                                                                                                                                                                                If the row size is large (e.g. a row has many columns), Timestream may return * fewer rows to keep the response size from exceeding the 1 MB limit. If * MaxRows is not provided, Timestream will send the necessary * number of rows to meet the 1 MB limit.

                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/clients/client-timestream-write/src/endpoint/ruleset.ts b/clients/client-timestream-write/src/endpoint/ruleset.ts index 557e91c73fd3f..e1dd50a089836 100644 --- a/clients/client-timestream-write/src/endpoint/ruleset.ts +++ b/clients/client-timestream-write/src/endpoint/ruleset.ts @@ -6,25 +6,27 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/timestream-write.json */ -const q="required", -r="fn", -s="argv", -t="ref"; +const s="required", +t="fn", +u="argv", +v="ref"; const a="isSet", b="tree", c="error", d="endpoint", e="PartitionResult", -f={[q]:false,"type":"String"}, -g={[q]:true,"default":false,"type":"Boolean"}, -h={[t]:"Endpoint"}, -i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, -j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, -k={}, -l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, -m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, -n=[i], -o=[j], -p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ingest.timestream-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ingest.timestream-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ingest.timestream.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://ingest.timestream.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +f="getAttr", +g={[s]:false,"type":"String"}, +h={[s]:true,"default":false,"type":"Boolean"}, +i={[v]:"Endpoint"}, +j={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, +k={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, +l={}, +m={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[{[v]:e},"supportsFIPS"]}]}, +n={[v]:e}, +o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]}, +p=[j], +q=[k], +r=[{[v]:"Region"}]; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://ingest.timestream-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://ingest.timestream.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://ingest.timestream-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://ingest.timestream.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://ingest.timestream.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-transcribe-streaming/src/commands/StartMedicalStreamTranscriptionCommand.ts b/clients/client-transcribe-streaming/src/commands/StartMedicalStreamTranscriptionCommand.ts index dae97ecb22c15..bab86abc0024c 100644 --- a/clients/client-transcribe-streaming/src/commands/StartMedicalStreamTranscriptionCommand.ts +++ b/clients/client-transcribe-streaming/src/commands/StartMedicalStreamTranscriptionCommand.ts @@ -56,25 +56,25 @@ export interface StartMedicalStreamTranscriptionCommandOutput *

                                                                                                                                                                                                                                                                                                                                                                                                                Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to * Amazon Transcribe Medical and the transcription results are streamed to your * application.

                                                                                                                                                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                                                                                                                                                The following parameters are required:

                                                                                                                                                                                                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                                                                                                  The following parameters are required:

                                                                                                                                                                                                                                                                                                                                                                                                                  + *
                                                                                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                                                                                    * language-code *

                                                                                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                                                                                    * media-encoding *

                                                                                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                                                                                    * sample-rate *

                                                                                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                                                                                                  For more information on streaming with Amazon Transcribe Medical, see + *

                                                                                                                                                                                                                                                                                                                                                                                                                  For more information on streaming with Amazon Transcribe Medical, see * Transcribing * streaming audio.

                                                                                                                                                                                                                                                                                                                                                                                                                  * @example diff --git a/clients/client-transcribe-streaming/src/endpoint/ruleset.ts b/clients/client-transcribe-streaming/src/endpoint/ruleset.ts index fa831da484768..9f76ad034aa7d 100644 --- a/clients/client-transcribe-streaming/src/endpoint/ruleset.ts +++ b/clients/client-transcribe-streaming/src/endpoint/ruleset.ts @@ -6,26 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/transcribe-streaming.json */ -const r="required", -s="fn", -t="argv", -u="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e="stringEquals", -f={[r]:false,"type":"String"}, -g={[r]:true,"default":false,"type":"Boolean"}, -h={[u]:"Region"}, -i={[u]:"Endpoint"}, -j={[s]:"booleanEquals",[t]:[{[u]:"UseFIPS"},true]}, -k={[s]:"booleanEquals",[t]:[{[u]:"UseDualStack"},true]}, -l={}, -m={[s]:"booleanEquals",[t]:[true,{[s]:"getAttr",[t]:[{[u]:a},"supportsFIPS"]}]}, -n={[s]:"booleanEquals",[t]:[true,{[s]:"getAttr",[t]:[{[u]:a},"supportsDualStack"]}]}, -o=[i], -p=[j], -q=[k]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[s]:"aws.partition",[t]:[h],assign:a}],type:b,rules:[{conditions:[{[s]:"isSet",[t]:o},{[s]:"parseURL",[t]:o,assign:"url"}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{conditions:[j,k],type:b,rules:[{conditions:[m,n],type:b,rules:[{endpoint:{url:"https://transcribestreaming-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[s]:e,[t]:[h,"transcribestreaming-ca-central-1"]}],endpoint:{url:"https://transcribestreaming-fips.ca-central-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[s]:e,[t]:[h,"transcribestreaming-us-east-1"]}],endpoint:{url:"https://transcribestreaming-fips.us-east-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[s]:e,[t]:[h,"transcribestreaming-us-east-2"]}],endpoint:{url:"https://transcribestreaming-fips.us-east-2.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[s]:e,[t]:[h,"transcribestreaming-us-west-2"]}],endpoint:{url:"https://transcribestreaming-fips.us-west-2.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://transcribestreaming-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[n],type:b,rules:[{endpoint:{url:"https://transcribestreaming.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://transcribestreaming.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://transcribestreaming-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://transcribestreaming-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://transcribestreaming.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://transcribestreaming.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-transcribe-streaming/src/models/models_0.ts b/clients/client-transcribe-streaming/src/models/models_0.ts index ca039b3065317..1c4a9a7e4c377 100644 --- a/clients/client-transcribe-streaming/src/models/models_0.ts +++ b/clients/client-transcribe-streaming/src/models/models_0.ts @@ -1100,7 +1100,7 @@ export interface MedicalEntity { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                                                  The confidence score associated with the identified PHI entity in your audio.

                                                                                                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                                                                                                  Confidence scores are values between 0 and 1. A larger value indicates a higher + *

                                                                                                                                                                                                                                                                                                                                                                                                                  Confidence scores are values between 0 and 1. A larger value indicates a higher * probability that the identified entity correctly matches the entity spoken in your * media.

                                                                                                                                                                                                                                                                                                                                                                                                                  */ @@ -1141,7 +1141,7 @@ export interface MedicalItem { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                                                  The confidence score associated with a word or phrase in your transcript.

                                                                                                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                                                                                                  Confidence scores are values between 0 and 1. A larger value indicates a higher + *

                                                                                                                                                                                                                                                                                                                                                                                                                  Confidence scores are values between 0 and 1. A larger value indicates a higher * probability that the identified item correctly matches the item spoken in your * media.

                                                                                                                                                                                                                                                                                                                                                                                                                  */ @@ -1200,7 +1200,7 @@ export type MedicalContentIdentificationType = * @public *

                                                                                                                                                                                                                                                                                                                                                                                                                  The Result associated with a * .

                                                                                                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                                                                                                  Contains a set of transcription results from one or more audio segments, along with + *

                                                                                                                                                                                                                                                                                                                                                                                                                  Contains a set of transcription results from one or more audio segments, along with * additional information per your request parameters. This can include information relating to * alternative transcriptions, channel identification, partial result stabilization, language * identification, and other transcription-related data.

                                                                                                                                                                                                                                                                                                                                                                                                                  @@ -1227,7 +1227,7 @@ export interface MedicalResult { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                                                  Indicates if the segment is complete.

                                                                                                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                                                                                                  If IsPartial is true, the segment is not complete. If + *

                                                                                                                                                                                                                                                                                                                                                                                                                  If IsPartial is true, the segment is not complete. If * IsPartial is false, the segment is complete.

                                                                                                                                                                                                                                                                                                                                                                                                                  */ IsPartial?: boolean; @@ -1251,7 +1251,7 @@ export interface MedicalResult { * @public *

                                                                                                                                                                                                                                                                                                                                                                                                                  The MedicalTranscript associated with a * .

                                                                                                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                                                                                                  * MedicalTranscript contains Results, which contains a set of * transcription results from one or more audio segments, along with additional information per your * request parameters.

                                                                                                                                                                                                                                                                                                                                                                                                                  @@ -1271,7 +1271,7 @@ export interface MedicalTranscript { * @public *

                                                                                                                                                                                                                                                                                                                                                                                                                  The MedicalTranscriptEvent associated with a * MedicalTranscriptResultStream.

                                                                                                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                                                                                                  Contains a set of transcription results from one or more audio segments, along with additional + *

                                                                                                                                                                                                                                                                                                                                                                                                                  Contains a set of transcription results from one or more audio segments, along with additional * information per your request parameters.

                                                                                                                                                                                                                                                                                                                                                                                                                  */ export interface MedicalTranscriptEvent { @@ -1306,7 +1306,7 @@ export namespace MedicalTranscriptResultStream { * @public *

                                                                                                                                                                                                                                                                                                                                                                                                                  The MedicalTranscriptEvent associated with a * MedicalTranscriptResultStream.

                                                                                                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                                                                                                  Contains a set of transcription results from one or more audio segments, along with + *

                                                                                                                                                                                                                                                                                                                                                                                                                  Contains a set of transcription results from one or more audio segments, along with * additional information per your request parameters. This can include information relating to * alternative transcriptions, channel identification, partial result stabilization, language * identification, and other transcription-related data.

                                                                                                                                                                                                                                                                                                                                                                                                                  @@ -1823,9 +1823,9 @@ export interface StartMedicalStreamTranscriptionRequest { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                                                  Specify the language code that represents the language spoken in your audio.

                                                                                                                                                                                                                                                                                                                                                                                                                  - * + * *

                                                                                                                                                                                                                                                                                                                                                                                                                  Amazon Transcribe Medical only supports US English (en-US).

                                                                                                                                                                                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                                                                                                                                                                                  + *
                                                                                                                                                                                                                                                                                                                                                                                                                  */ LanguageCode: LanguageCode | string | undefined; @@ -1840,19 +1840,19 @@ export interface StartMedicalStreamTranscriptionRequest { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                                                  Specify the encoding used for the input audio. Supported formats are:

                                                                                                                                                                                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                                                                                                                                                                                    + *
                                                                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                                                                                                                                                                      FLAC

                                                                                                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                                                                                                      FLAC

                                                                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                                                                                                                                                                      OPUS-encoded audio in an Ogg container

                                                                                                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                                                                                                      OPUS-encoded audio in an Ogg container

                                                                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                                                                                                                                                                      PCM (only signed 16-bit little-endian audio formats, which does not include + *

                                                                                                                                                                                                                                                                                                                                                                                                                      PCM (only signed 16-bit little-endian audio formats, which does not include * WAV)

                                                                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                                                                                    For more information, see Media formats.

                                                                                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                                                                                    For more information, see Media formats.

                                                                                                                                                                                                                                                                                                                                                                                                                    */ MediaEncoding: MediaEncoding | string | undefined; @@ -1881,7 +1881,7 @@ export interface StartMedicalStreamTranscriptionRequest { * @public *

                                                                                                                                                                                                                                                                                                                                                                                                                    Enables speaker partitioning (diarization) in your transcription output. Speaker * partitioning labels the speech from individual speakers in your media file.

                                                                                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                                                                                    For more information, see Partitioning speakers (diarization).

                                                                                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                                                                                    For more information, see Partitioning speakers (diarization).

                                                                                                                                                                                                                                                                                                                                                                                                                    */ ShowSpeakerLabel?: boolean; @@ -1890,7 +1890,7 @@ export interface StartMedicalStreamTranscriptionRequest { *

                                                                                                                                                                                                                                                                                                                                                                                                                    Specify a name for your transcription session. If you don't include this parameter in * your request, Amazon Transcribe Medical generates an ID and returns it in the * response.

                                                                                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                                                                                    You can use a session ID to retry a streaming session.

                                                                                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                                                                                    You can use a session ID to retry a streaming session.

                                                                                                                                                                                                                                                                                                                                                                                                                    */ SessionId?: string; @@ -1905,11 +1905,11 @@ export interface StartMedicalStreamTranscriptionRequest { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                                                    Enables channel identification in multi-channel audio.

                                                                                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                                                                                    Channel identification transcribes the audio on each channel independently, then appends + *

                                                                                                                                                                                                                                                                                                                                                                                                                    Channel identification transcribes the audio on each channel independently, then appends * the output for each channel into one transcript.

                                                                                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                                                                                    If you have multi-channel audio and do not enable channel identification, your audio is + *

                                                                                                                                                                                                                                                                                                                                                                                                                    If you have multi-channel audio and do not enable channel identification, your audio is * transcribed in a continuous manner and your transcript is not separated by channel.

                                                                                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                                                                                    For more information, see Transcribing multi-channel audio.

                                                                                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                                                                                    For more information, see Transcribing multi-channel audio.

                                                                                                                                                                                                                                                                                                                                                                                                                    */ EnableChannelIdentification?: boolean; @@ -1923,9 +1923,9 @@ export interface StartMedicalStreamTranscriptionRequest { /** * @public *

                                                                                                                                                                                                                                                                                                                                                                                                                    Labels all personal health information (PHI) identified in your transcript.

                                                                                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                                                                                    Content identification is performed at the segment level; PHI is flagged upon complete + *

                                                                                                                                                                                                                                                                                                                                                                                                                    Content identification is performed at the segment level; PHI is flagged upon complete * transcription of an audio segment.

                                                                                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                                                                                    For more information, see Identifying personal health information (PHI) in a + *

                                                                                                                                                                                                                                                                                                                                                                                                                    For more information, see Identifying personal health information (PHI) in a * transcription.

                                                                                                                                                                                                                                                                                                                                                                                                                    */ ContentIdentificationType?: MedicalContentIdentificationType | string; diff --git a/clients/client-transcribe/src/endpoint/ruleset.ts b/clients/client-transcribe/src/endpoint/ruleset.ts index 09b9cc20b758f..4c4839dde9002 100644 --- a/clients/client-transcribe/src/endpoint/ruleset.ts +++ b/clients/client-transcribe/src/endpoint/ruleset.ts @@ -30,5 +30,5 @@ q={"url":"https://fips.transcribe.{Region}.amazonaws.com","properties":{},"heade r=[j], s=[k], t=[m]; -const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[v]:a,[w]:[i]}],type:b,rules:[{conditions:r,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:s,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[v]:a,[w]:t}],type:b,rules:[{conditions:[{[v]:"aws.partition",[w]:t,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[n,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://transcribe-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:r,type:b,rules:[{conditions:[n],type:b,rules:[{type:b,rules:[{conditions:[{[v]:f,[w]:["aws",p]}],endpoint:q,type:d},{conditions:[{[v]:f,[w]:["aws-us-gov",p]}],endpoint:q,type:d},{endpoint:{url:"https://transcribe-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:s,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://transcribe.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{conditions:[{[v]:f,[w]:[m,"cn-north-1"]}],endpoint:{url:"https://cn.transcribe.cn-north-1.amazonaws.com.cn",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:[m,"cn-northwest-1"]}],endpoint:{url:"https://cn.transcribe.cn-northwest-1.amazonaws.com.cn",properties:l,headers:l},type:d},{endpoint:{url:"https://transcribe.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[v]:a,[w]:[i]}],type:b,rules:[{conditions:r,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:s,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[v]:a,[w]:t}],type:b,rules:[{conditions:[{[v]:"aws.partition",[w]:t,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[n,o],type:b,rules:[{endpoint:{url:"https://transcribe-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:r,type:b,rules:[{conditions:[n],type:b,rules:[{conditions:[{[v]:f,[w]:["aws",p]}],endpoint:q,type:d},{conditions:[{[v]:f,[w]:["aws-us-gov",p]}],endpoint:q,type:d},{endpoint:{url:"https://transcribe-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:s,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://transcribe.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{conditions:[{[v]:f,[w]:[m,"cn-north-1"]}],endpoint:{url:"https://cn.transcribe.cn-north-1.amazonaws.com.cn",properties:l,headers:l},type:d},{conditions:[{[v]:f,[w]:[m,"cn-northwest-1"]}],endpoint:{url:"https://cn.transcribe.cn-northwest-1.amazonaws.com.cn",properties:l,headers:l},type:d},{endpoint:{url:"https://transcribe.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-translate/src/endpoint/ruleset.ts b/clients/client-translate/src/endpoint/ruleset.ts index 93fc1c66e90d1..fc72993641e88 100644 --- a/clients/client-translate/src/endpoint/ruleset.ts +++ b/clients/client-translate/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://translate-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://translate-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://translate.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://translate.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://translate-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://translate-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://translate.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://translate.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-voice-id/src/endpoint/ruleset.ts b/clients/client-voice-id/src/endpoint/ruleset.ts index e2d25a2b6ce98..48c754be8ab76 100644 --- a/clients/client-voice-id/src/endpoint/ruleset.ts +++ b/clients/client-voice-id/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://voiceid-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://voiceid-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://voiceid.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://voiceid.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://voiceid-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://voiceid-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://voiceid.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://voiceid.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-waf-regional/src/commands/CreateByteMatchSetCommand.ts b/clients/client-waf-regional/src/commands/CreateByteMatchSetCommand.ts index c3babc615f9bc..4a4e44d5b192e 100644 --- a/clients/client-waf-regional/src/commands/CreateByteMatchSetCommand.ts +++ b/clients/client-waf-regional/src/commands/CreateByteMatchSetCommand.ts @@ -87,12 +87,12 @@ export interface CreateByteMatchSetCommandOutput extends CreateByteMatchSetRespo * // ByteMatchTuples: [ // ByteMatchTuples // required * // { // ByteMatchTuple * // FieldToMatch: { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, * // TargetString: "BLOB_VALUE", // required - * // TextTransformation: "STRING_VALUE", // required - * // PositionalConstraint: "STRING_VALUE", // required + * // TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required + * // PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required * // }, * // ], * // }, diff --git a/clients/client-waf-regional/src/commands/CreateGeoMatchSetCommand.ts b/clients/client-waf-regional/src/commands/CreateGeoMatchSetCommand.ts index fd2fbf0368461..25fd4cccc6f7b 100644 --- a/clients/client-waf-regional/src/commands/CreateGeoMatchSetCommand.ts +++ b/clients/client-waf-regional/src/commands/CreateGeoMatchSetCommand.ts @@ -83,8 +83,8 @@ export interface CreateGeoMatchSetCommandOutput extends CreateGeoMatchSetRespons * // Name: "STRING_VALUE", * // GeoMatchConstraints: [ // GeoMatchConstraints // required * // { // GeoMatchConstraint - * // Type: "STRING_VALUE", // required - * // Value: "STRING_VALUE", // required + * // Type: "Country", // required + * // Value: "AF" || "AX" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BQ" || "BA" || "BW" || "BV" || "BR" || "IO" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CG" || "CD" || "CK" || "CR" || "CI" || "HR" || "CU" || "CW" || "CY" || "CZ" || "DK" || "DJ" || "DM" || "DO" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "GF" || "PF" || "TF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GP" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HM" || "VA" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KP" || "KR" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MQ" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "NF" || "MP" || "NO" || "OM" || "PK" || "PW" || "PS" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "GS" || "SS" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TL" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "UG" || "UA" || "AE" || "GB" || "US" || "UM" || "UY" || "UZ" || "VU" || "VE" || "VN" || "VG" || "VI" || "WF" || "EH" || "YE" || "ZM" || "ZW", // required * // }, * // ], * // }, diff --git a/clients/client-waf-regional/src/commands/CreateIPSetCommand.ts b/clients/client-waf-regional/src/commands/CreateIPSetCommand.ts index e76be0b9c04d8..15838bdb0122c 100644 --- a/clients/client-waf-regional/src/commands/CreateIPSetCommand.ts +++ b/clients/client-waf-regional/src/commands/CreateIPSetCommand.ts @@ -88,7 +88,7 @@ export interface CreateIPSetCommandOutput extends CreateIPSetResponse, __Metadat * // Name: "STRING_VALUE", * // IPSetDescriptors: [ // IPSetDescriptors // required * // { // IPSetDescriptor - * // Type: "STRING_VALUE", // required + * // Type: "IPV4" || "IPV6", // required * // Value: "STRING_VALUE", // required * // }, * // ], diff --git a/clients/client-waf-regional/src/commands/CreateRateBasedRuleCommand.ts b/clients/client-waf-regional/src/commands/CreateRateBasedRuleCommand.ts index 54ddaa1638e2c..837f3b4fc8289 100644 --- a/clients/client-waf-regional/src/commands/CreateRateBasedRuleCommand.ts +++ b/clients/client-waf-regional/src/commands/CreateRateBasedRuleCommand.ts @@ -139,7 +139,7 @@ export interface CreateRateBasedRuleCommandOutput extends CreateRateBasedRuleRes * const input = { // CreateRateBasedRuleRequest * Name: "STRING_VALUE", // required * MetricName: "STRING_VALUE", // required - * RateKey: "STRING_VALUE", // required + * RateKey: "IP", // required * RateLimit: Number("long"), // required * ChangeToken: "STRING_VALUE", // required * Tags: [ // TagList @@ -159,11 +159,11 @@ export interface CreateRateBasedRuleCommandOutput extends CreateRateBasedRuleRes * // MatchPredicates: [ // Predicates // required * // { // Predicate * // Negated: true || false, // required - * // Type: "STRING_VALUE", // required + * // Type: "IPMatch" || "ByteMatch" || "SqlInjectionMatch" || "GeoMatch" || "SizeConstraint" || "XssMatch" || "RegexMatch", // required * // DataId: "STRING_VALUE", // required * // }, * // ], - * // RateKey: "STRING_VALUE", // required + * // RateKey: "IP", // required * // RateLimit: Number("long"), // required * // }, * // ChangeToken: "STRING_VALUE", diff --git a/clients/client-waf-regional/src/commands/CreateRegexMatchSetCommand.ts b/clients/client-waf-regional/src/commands/CreateRegexMatchSetCommand.ts index 958a3820b7872..9c92bd76cf1bc 100644 --- a/clients/client-waf-regional/src/commands/CreateRegexMatchSetCommand.ts +++ b/clients/client-waf-regional/src/commands/CreateRegexMatchSetCommand.ts @@ -87,10 +87,10 @@ export interface CreateRegexMatchSetCommandOutput extends CreateRegexMatchSetRes * // RegexMatchTuples: [ // RegexMatchTuples * // { // RegexMatchTuple * // FieldToMatch: { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, - * // TextTransformation: "STRING_VALUE", // required + * // TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required * // RegexPatternSetId: "STRING_VALUE", // required * // }, * // ], diff --git a/clients/client-waf-regional/src/commands/CreateRuleCommand.ts b/clients/client-waf-regional/src/commands/CreateRuleCommand.ts index 37ee8406f8752..61b732bd79801 100644 --- a/clients/client-waf-regional/src/commands/CreateRuleCommand.ts +++ b/clients/client-waf-regional/src/commands/CreateRuleCommand.ts @@ -115,7 +115,7 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB * // Predicates: [ // Predicates // required * // { // Predicate * // Negated: true || false, // required - * // Type: "STRING_VALUE", // required + * // Type: "IPMatch" || "ByteMatch" || "SqlInjectionMatch" || "GeoMatch" || "SizeConstraint" || "XssMatch" || "RegexMatch", // required * // DataId: "STRING_VALUE", // required * // }, * // ], diff --git a/clients/client-waf-regional/src/commands/CreateSizeConstraintSetCommand.ts b/clients/client-waf-regional/src/commands/CreateSizeConstraintSetCommand.ts index 4825a02d6bfc7..70b1f4637da77 100644 --- a/clients/client-waf-regional/src/commands/CreateSizeConstraintSetCommand.ts +++ b/clients/client-waf-regional/src/commands/CreateSizeConstraintSetCommand.ts @@ -87,11 +87,11 @@ export interface CreateSizeConstraintSetCommandOutput extends CreateSizeConstrai * // SizeConstraints: [ // SizeConstraints // required * // { // SizeConstraint * // FieldToMatch: { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, - * // TextTransformation: "STRING_VALUE", // required - * // ComparisonOperator: "STRING_VALUE", // required + * // TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required + * // ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required * // Size: Number("long"), // required * // }, * // ], diff --git a/clients/client-waf-regional/src/commands/CreateSqlInjectionMatchSetCommand.ts b/clients/client-waf-regional/src/commands/CreateSqlInjectionMatchSetCommand.ts index c722f05d9e80f..5ddb7abf9438b 100644 --- a/clients/client-waf-regional/src/commands/CreateSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf-regional/src/commands/CreateSqlInjectionMatchSetCommand.ts @@ -85,10 +85,10 @@ export interface CreateSqlInjectionMatchSetCommandOutput extends CreateSqlInject * // SqlInjectionMatchTuples: [ // SqlInjectionMatchTuples // required * // { // SqlInjectionMatchTuple * // FieldToMatch: { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, - * // TextTransformation: "STRING_VALUE", // required + * // TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required * // }, * // ], * // }, diff --git a/clients/client-waf-regional/src/commands/CreateWebACLCommand.ts b/clients/client-waf-regional/src/commands/CreateWebACLCommand.ts index 5503210da5cdc..4128485a07aa0 100644 --- a/clients/client-waf-regional/src/commands/CreateWebACLCommand.ts +++ b/clients/client-waf-regional/src/commands/CreateWebACLCommand.ts @@ -86,7 +86,7 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad * Name: "STRING_VALUE", // required * MetricName: "STRING_VALUE", // required * DefaultAction: { // WafAction - * Type: "STRING_VALUE", // required + * Type: "BLOCK" || "ALLOW" || "COUNT", // required * }, * ChangeToken: "STRING_VALUE", // required * Tags: [ // TagList @@ -104,19 +104,19 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad * // Name: "STRING_VALUE", * // MetricName: "STRING_VALUE", * // DefaultAction: { // WafAction - * // Type: "STRING_VALUE", // required + * // Type: "BLOCK" || "ALLOW" || "COUNT", // required * // }, * // Rules: [ // ActivatedRules // required * // { // ActivatedRule * // Priority: Number("int"), // required * // RuleId: "STRING_VALUE", // required * // Action: { - * // Type: "STRING_VALUE", // required + * // Type: "BLOCK" || "ALLOW" || "COUNT", // required * // }, * // OverrideAction: { // WafOverrideAction - * // Type: "STRING_VALUE", // required + * // Type: "NONE" || "COUNT", // required * // }, - * // Type: "STRING_VALUE", + * // Type: "REGULAR" || "RATE_BASED" || "GROUP", * // ExcludedRules: [ // ExcludedRules * // { // ExcludedRule * // RuleId: "STRING_VALUE", // required diff --git a/clients/client-waf-regional/src/commands/CreateXssMatchSetCommand.ts b/clients/client-waf-regional/src/commands/CreateXssMatchSetCommand.ts index 3d392d4843a94..1744339faa099 100644 --- a/clients/client-waf-regional/src/commands/CreateXssMatchSetCommand.ts +++ b/clients/client-waf-regional/src/commands/CreateXssMatchSetCommand.ts @@ -85,10 +85,10 @@ export interface CreateXssMatchSetCommandOutput extends CreateXssMatchSetRespons * // XssMatchTuples: [ // XssMatchTuples // required * // { // XssMatchTuple * // FieldToMatch: { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, - * // TextTransformation: "STRING_VALUE", // required + * // TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required * // }, * // ], * // }, diff --git a/clients/client-waf-regional/src/commands/GetByteMatchSetCommand.ts b/clients/client-waf-regional/src/commands/GetByteMatchSetCommand.ts index 7f61ae83aba11..04f971379a049 100644 --- a/clients/client-waf-regional/src/commands/GetByteMatchSetCommand.ts +++ b/clients/client-waf-regional/src/commands/GetByteMatchSetCommand.ts @@ -63,12 +63,12 @@ export interface GetByteMatchSetCommandOutput extends GetByteMatchSetResponse, _ * // ByteMatchTuples: [ // ByteMatchTuples // required * // { // ByteMatchTuple * // FieldToMatch: { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, * // TargetString: "BLOB_VALUE", // required - * // TextTransformation: "STRING_VALUE", // required - * // PositionalConstraint: "STRING_VALUE", // required + * // TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required + * // PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required * // }, * // ], * // }, diff --git a/clients/client-waf-regional/src/commands/GetChangeTokenStatusCommand.ts b/clients/client-waf-regional/src/commands/GetChangeTokenStatusCommand.ts index 242d97e1edb87..b5cefe162ac11 100644 --- a/clients/client-waf-regional/src/commands/GetChangeTokenStatusCommand.ts +++ b/clients/client-waf-regional/src/commands/GetChangeTokenStatusCommand.ts @@ -73,7 +73,7 @@ export interface GetChangeTokenStatusCommandOutput extends GetChangeTokenStatusR * const command = new GetChangeTokenStatusCommand(input); * const response = await client.send(command); * // { // GetChangeTokenStatusResponse - * // ChangeTokenStatus: "STRING_VALUE", + * // ChangeTokenStatus: "PROVISIONED" || "PENDING" || "INSYNC", * // }; * * ``` diff --git a/clients/client-waf-regional/src/commands/GetGeoMatchSetCommand.ts b/clients/client-waf-regional/src/commands/GetGeoMatchSetCommand.ts index f2f93cac1c238..8a6c1ffe2e019 100644 --- a/clients/client-waf-regional/src/commands/GetGeoMatchSetCommand.ts +++ b/clients/client-waf-regional/src/commands/GetGeoMatchSetCommand.ts @@ -62,8 +62,8 @@ export interface GetGeoMatchSetCommandOutput extends GetGeoMatchSetResponse, __M * // Name: "STRING_VALUE", * // GeoMatchConstraints: [ // GeoMatchConstraints // required * // { // GeoMatchConstraint - * // Type: "STRING_VALUE", // required - * // Value: "STRING_VALUE", // required + * // Type: "Country", // required + * // Value: "AF" || "AX" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BQ" || "BA" || "BW" || "BV" || "BR" || "IO" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CG" || "CD" || "CK" || "CR" || "CI" || "HR" || "CU" || "CW" || "CY" || "CZ" || "DK" || "DJ" || "DM" || "DO" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "GF" || "PF" || "TF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GP" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HM" || "VA" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KP" || "KR" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MQ" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "NF" || "MP" || "NO" || "OM" || "PK" || "PW" || "PS" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "GS" || "SS" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TL" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "UG" || "UA" || "AE" || "GB" || "US" || "UM" || "UY" || "UZ" || "VU" || "VE" || "VN" || "VG" || "VI" || "WF" || "EH" || "YE" || "ZM" || "ZW", // required * // }, * // ], * // }, diff --git a/clients/client-waf-regional/src/commands/GetIPSetCommand.ts b/clients/client-waf-regional/src/commands/GetIPSetCommand.ts index 89622abe45dd0..4afa6c8e9fe0f 100644 --- a/clients/client-waf-regional/src/commands/GetIPSetCommand.ts +++ b/clients/client-waf-regional/src/commands/GetIPSetCommand.ts @@ -62,7 +62,7 @@ export interface GetIPSetCommandOutput extends GetIPSetResponse, __MetadataBeare * // Name: "STRING_VALUE", * // IPSetDescriptors: [ // IPSetDescriptors // required * // { // IPSetDescriptor - * // Type: "STRING_VALUE", // required + * // Type: "IPV4" || "IPV6", // required * // Value: "STRING_VALUE", // required * // }, * // ], diff --git a/clients/client-waf-regional/src/commands/GetLoggingConfigurationCommand.ts b/clients/client-waf-regional/src/commands/GetLoggingConfigurationCommand.ts index 1c96d1c2f1765..b5211fa0d276f 100644 --- a/clients/client-waf-regional/src/commands/GetLoggingConfigurationCommand.ts +++ b/clients/client-waf-regional/src/commands/GetLoggingConfigurationCommand.ts @@ -64,7 +64,7 @@ export interface GetLoggingConfigurationCommandOutput extends GetLoggingConfigur * // ], * // RedactedFields: [ // RedactedFields * // { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-waf-regional/src/commands/GetRateBasedRuleCommand.ts b/clients/client-waf-regional/src/commands/GetRateBasedRuleCommand.ts index 3d93eaa48daea..43aff8c928bae 100644 --- a/clients/client-waf-regional/src/commands/GetRateBasedRuleCommand.ts +++ b/clients/client-waf-regional/src/commands/GetRateBasedRuleCommand.ts @@ -66,11 +66,11 @@ export interface GetRateBasedRuleCommandOutput extends GetRateBasedRuleResponse, * // MatchPredicates: [ // Predicates // required * // { // Predicate * // Negated: true || false, // required - * // Type: "STRING_VALUE", // required + * // Type: "IPMatch" || "ByteMatch" || "SqlInjectionMatch" || "GeoMatch" || "SizeConstraint" || "XssMatch" || "RegexMatch", // required * // DataId: "STRING_VALUE", // required * // }, * // ], - * // RateKey: "STRING_VALUE", // required + * // RateKey: "IP", // required * // RateLimit: Number("long"), // required * // }, * // }; diff --git a/clients/client-waf-regional/src/commands/GetRegexMatchSetCommand.ts b/clients/client-waf-regional/src/commands/GetRegexMatchSetCommand.ts index ac99c4180da3f..5ff8cd64bdfc6 100644 --- a/clients/client-waf-regional/src/commands/GetRegexMatchSetCommand.ts +++ b/clients/client-waf-regional/src/commands/GetRegexMatchSetCommand.ts @@ -63,10 +63,10 @@ export interface GetRegexMatchSetCommandOutput extends GetRegexMatchSetResponse, * // RegexMatchTuples: [ // RegexMatchTuples * // { // RegexMatchTuple * // FieldToMatch: { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, - * // TextTransformation: "STRING_VALUE", // required + * // TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required * // RegexPatternSetId: "STRING_VALUE", // required * // }, * // ], diff --git a/clients/client-waf-regional/src/commands/GetRuleCommand.ts b/clients/client-waf-regional/src/commands/GetRuleCommand.ts index fdc4cc26f0455..8ee845a30bcfb 100644 --- a/clients/client-waf-regional/src/commands/GetRuleCommand.ts +++ b/clients/client-waf-regional/src/commands/GetRuleCommand.ts @@ -64,7 +64,7 @@ export interface GetRuleCommandOutput extends GetRuleResponse, __MetadataBearer * // Predicates: [ // Predicates // required * // { // Predicate * // Negated: true || false, // required - * // Type: "STRING_VALUE", // required + * // Type: "IPMatch" || "ByteMatch" || "SqlInjectionMatch" || "GeoMatch" || "SizeConstraint" || "XssMatch" || "RegexMatch", // required * // DataId: "STRING_VALUE", // required * // }, * // ], diff --git a/clients/client-waf-regional/src/commands/GetSizeConstraintSetCommand.ts b/clients/client-waf-regional/src/commands/GetSizeConstraintSetCommand.ts index a01837151616c..617e69738d2a8 100644 --- a/clients/client-waf-regional/src/commands/GetSizeConstraintSetCommand.ts +++ b/clients/client-waf-regional/src/commands/GetSizeConstraintSetCommand.ts @@ -63,11 +63,11 @@ export interface GetSizeConstraintSetCommandOutput extends GetSizeConstraintSetR * // SizeConstraints: [ // SizeConstraints // required * // { // SizeConstraint * // FieldToMatch: { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, - * // TextTransformation: "STRING_VALUE", // required - * // ComparisonOperator: "STRING_VALUE", // required + * // TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required + * // ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required * // Size: Number("long"), // required * // }, * // ], diff --git a/clients/client-waf-regional/src/commands/GetSqlInjectionMatchSetCommand.ts b/clients/client-waf-regional/src/commands/GetSqlInjectionMatchSetCommand.ts index b770539637191..569a301940424 100644 --- a/clients/client-waf-regional/src/commands/GetSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf-regional/src/commands/GetSqlInjectionMatchSetCommand.ts @@ -63,10 +63,10 @@ export interface GetSqlInjectionMatchSetCommandOutput extends GetSqlInjectionMat * // SqlInjectionMatchTuples: [ // SqlInjectionMatchTuples // required * // { // SqlInjectionMatchTuple * // FieldToMatch: { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, - * // TextTransformation: "STRING_VALUE", // required + * // TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required * // }, * // ], * // }, diff --git a/clients/client-waf-regional/src/commands/GetWebACLCommand.ts b/clients/client-waf-regional/src/commands/GetWebACLCommand.ts index 708081cd7579a..05955202fc0fe 100644 --- a/clients/client-waf-regional/src/commands/GetWebACLCommand.ts +++ b/clients/client-waf-regional/src/commands/GetWebACLCommand.ts @@ -62,19 +62,19 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea * // Name: "STRING_VALUE", * // MetricName: "STRING_VALUE", * // DefaultAction: { // WafAction - * // Type: "STRING_VALUE", // required + * // Type: "BLOCK" || "ALLOW" || "COUNT", // required * // }, * // Rules: [ // ActivatedRules // required * // { // ActivatedRule * // Priority: Number("int"), // required * // RuleId: "STRING_VALUE", // required * // Action: { - * // Type: "STRING_VALUE", // required + * // Type: "BLOCK" || "ALLOW" || "COUNT", // required * // }, * // OverrideAction: { // WafOverrideAction - * // Type: "STRING_VALUE", // required + * // Type: "NONE" || "COUNT", // required * // }, - * // Type: "STRING_VALUE", + * // Type: "REGULAR" || "RATE_BASED" || "GROUP", * // ExcludedRules: [ // ExcludedRules * // { // ExcludedRule * // RuleId: "STRING_VALUE", // required diff --git a/clients/client-waf-regional/src/commands/GetXssMatchSetCommand.ts b/clients/client-waf-regional/src/commands/GetXssMatchSetCommand.ts index b35a389648ea3..21c3a5a6d8153 100644 --- a/clients/client-waf-regional/src/commands/GetXssMatchSetCommand.ts +++ b/clients/client-waf-regional/src/commands/GetXssMatchSetCommand.ts @@ -63,10 +63,10 @@ export interface GetXssMatchSetCommandOutput extends GetXssMatchSetResponse, __M * // XssMatchTuples: [ // XssMatchTuples // required * // { // XssMatchTuple * // FieldToMatch: { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, - * // TextTransformation: "STRING_VALUE", // required + * // TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required * // }, * // ], * // }, diff --git a/clients/client-waf-regional/src/commands/ListActivatedRulesInRuleGroupCommand.ts b/clients/client-waf-regional/src/commands/ListActivatedRulesInRuleGroupCommand.ts index 5ae9ca9d2bc25..2754ca6816529 100644 --- a/clients/client-waf-regional/src/commands/ListActivatedRulesInRuleGroupCommand.ts +++ b/clients/client-waf-regional/src/commands/ListActivatedRulesInRuleGroupCommand.ts @@ -70,12 +70,12 @@ export interface ListActivatedRulesInRuleGroupCommandOutput * // Priority: Number("int"), // required * // RuleId: "STRING_VALUE", // required * // Action: { // WafAction - * // Type: "STRING_VALUE", // required + * // Type: "BLOCK" || "ALLOW" || "COUNT", // required * // }, * // OverrideAction: { // WafOverrideAction - * // Type: "STRING_VALUE", // required + * // Type: "NONE" || "COUNT", // required * // }, - * // Type: "STRING_VALUE", + * // Type: "REGULAR" || "RATE_BASED" || "GROUP", * // ExcludedRules: [ // ExcludedRules * // { // ExcludedRule * // RuleId: "STRING_VALUE", // required diff --git a/clients/client-waf-regional/src/commands/ListLoggingConfigurationsCommand.ts b/clients/client-waf-regional/src/commands/ListLoggingConfigurationsCommand.ts index d018f7da37a9d..f53e126ada6e4 100644 --- a/clients/client-waf-regional/src/commands/ListLoggingConfigurationsCommand.ts +++ b/clients/client-waf-regional/src/commands/ListLoggingConfigurationsCommand.ts @@ -66,7 +66,7 @@ export interface ListLoggingConfigurationsCommandOutput extends ListLoggingConfi * // ], * // RedactedFields: [ // RedactedFields * // { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-waf-regional/src/commands/ListResourcesForWebACLCommand.ts b/clients/client-waf-regional/src/commands/ListResourcesForWebACLCommand.ts index 1df6832371efc..2b8be4605903c 100644 --- a/clients/client-waf-regional/src/commands/ListResourcesForWebACLCommand.ts +++ b/clients/client-waf-regional/src/commands/ListResourcesForWebACLCommand.ts @@ -53,7 +53,7 @@ export interface ListResourcesForWebACLCommandOutput extends ListResourcesForWeb * const client = new WAFRegionalClient(config); * const input = { // ListResourcesForWebACLRequest * WebACLId: "STRING_VALUE", // required - * ResourceType: "STRING_VALUE", + * ResourceType: "APPLICATION_LOAD_BALANCER" || "API_GATEWAY", * }; * const command = new ListResourcesForWebACLCommand(input); * const response = await client.send(command); diff --git a/clients/client-waf-regional/src/commands/PutLoggingConfigurationCommand.ts b/clients/client-waf-regional/src/commands/PutLoggingConfigurationCommand.ts index e317f85529c9d..855e7afc994ac 100644 --- a/clients/client-waf-regional/src/commands/PutLoggingConfigurationCommand.ts +++ b/clients/client-waf-regional/src/commands/PutLoggingConfigurationCommand.ts @@ -76,7 +76,7 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur * ], * RedactedFields: [ // RedactedFields * { // FieldToMatch - * Type: "STRING_VALUE", // required + * Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * Data: "STRING_VALUE", * }, * ], @@ -92,7 +92,7 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur * // ], * // RedactedFields: [ // RedactedFields * // { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-waf-regional/src/commands/UpdateByteMatchSetCommand.ts b/clients/client-waf-regional/src/commands/UpdateByteMatchSetCommand.ts index 6c3935f1a242a..247c24430ce83 100644 --- a/clients/client-waf-regional/src/commands/UpdateByteMatchSetCommand.ts +++ b/clients/client-waf-regional/src/commands/UpdateByteMatchSetCommand.ts @@ -94,15 +94,15 @@ export interface UpdateByteMatchSetCommandOutput extends UpdateByteMatchSetRespo * ChangeToken: "STRING_VALUE", // required * Updates: [ // ByteMatchSetUpdates // required * { // ByteMatchSetUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * ByteMatchTuple: { // ByteMatchTuple * FieldToMatch: { // FieldToMatch - * Type: "STRING_VALUE", // required + * Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * Data: "STRING_VALUE", * }, * TargetString: "BLOB_VALUE", // required - * TextTransformation: "STRING_VALUE", // required - * PositionalConstraint: "STRING_VALUE", // required + * TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required + * PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required * }, * }, * ], diff --git a/clients/client-waf-regional/src/commands/UpdateGeoMatchSetCommand.ts b/clients/client-waf-regional/src/commands/UpdateGeoMatchSetCommand.ts index 7bebfd0f82bdf..5a7c16ab4edc3 100644 --- a/clients/client-waf-regional/src/commands/UpdateGeoMatchSetCommand.ts +++ b/clients/client-waf-regional/src/commands/UpdateGeoMatchSetCommand.ts @@ -86,10 +86,10 @@ export interface UpdateGeoMatchSetCommandOutput extends UpdateGeoMatchSetRespons * ChangeToken: "STRING_VALUE", // required * Updates: [ // GeoMatchSetUpdates // required * { // GeoMatchSetUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * GeoMatchConstraint: { // GeoMatchConstraint - * Type: "STRING_VALUE", // required - * Value: "STRING_VALUE", // required + * Type: "Country", // required + * Value: "AF" || "AX" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BQ" || "BA" || "BW" || "BV" || "BR" || "IO" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CG" || "CD" || "CK" || "CR" || "CI" || "HR" || "CU" || "CW" || "CY" || "CZ" || "DK" || "DJ" || "DM" || "DO" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "GF" || "PF" || "TF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GP" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HM" || "VA" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KP" || "KR" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MQ" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "NF" || "MP" || "NO" || "OM" || "PK" || "PW" || "PS" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "GS" || "SS" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TL" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "UG" || "UA" || "AE" || "GB" || "US" || "UM" || "UY" || "UZ" || "VU" || "VE" || "VN" || "VG" || "VI" || "WF" || "EH" || "YE" || "ZM" || "ZW", // required * }, * }, * ], diff --git a/clients/client-waf-regional/src/commands/UpdateIPSetCommand.ts b/clients/client-waf-regional/src/commands/UpdateIPSetCommand.ts index 8d87ed6f6819e..68089d96ed322 100644 --- a/clients/client-waf-regional/src/commands/UpdateIPSetCommand.ts +++ b/clients/client-waf-regional/src/commands/UpdateIPSetCommand.ts @@ -121,9 +121,9 @@ export interface UpdateIPSetCommandOutput extends UpdateIPSetResponse, __Metadat * ChangeToken: "STRING_VALUE", // required * Updates: [ // IPSetUpdates // required * { // IPSetUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * IPSetDescriptor: { // IPSetDescriptor - * Type: "STRING_VALUE", // required + * Type: "IPV4" || "IPV6", // required * Value: "STRING_VALUE", // required * }, * }, diff --git a/clients/client-waf-regional/src/commands/UpdateRateBasedRuleCommand.ts b/clients/client-waf-regional/src/commands/UpdateRateBasedRuleCommand.ts index 76d01fe4683de..934246689b76b 100644 --- a/clients/client-waf-regional/src/commands/UpdateRateBasedRuleCommand.ts +++ b/clients/client-waf-regional/src/commands/UpdateRateBasedRuleCommand.ts @@ -102,10 +102,10 @@ export interface UpdateRateBasedRuleCommandOutput extends UpdateRateBasedRuleRes * ChangeToken: "STRING_VALUE", // required * Updates: [ // RuleUpdates // required * { // RuleUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * Predicate: { // Predicate * Negated: true || false, // required - * Type: "STRING_VALUE", // required + * Type: "IPMatch" || "ByteMatch" || "SqlInjectionMatch" || "GeoMatch" || "SizeConstraint" || "XssMatch" || "RegexMatch", // required * DataId: "STRING_VALUE", // required * }, * }, diff --git a/clients/client-waf-regional/src/commands/UpdateRegexMatchSetCommand.ts b/clients/client-waf-regional/src/commands/UpdateRegexMatchSetCommand.ts index e215a9b3c4d3f..20c906d018b42 100644 --- a/clients/client-waf-regional/src/commands/UpdateRegexMatchSetCommand.ts +++ b/clients/client-waf-regional/src/commands/UpdateRegexMatchSetCommand.ts @@ -89,13 +89,13 @@ export interface UpdateRegexMatchSetCommandOutput extends UpdateRegexMatchSetRes * RegexMatchSetId: "STRING_VALUE", // required * Updates: [ // RegexMatchSetUpdates // required * { // RegexMatchSetUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * RegexMatchTuple: { // RegexMatchTuple * FieldToMatch: { // FieldToMatch - * Type: "STRING_VALUE", // required + * Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * Data: "STRING_VALUE", * }, - * TextTransformation: "STRING_VALUE", // required + * TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required * RegexPatternSetId: "STRING_VALUE", // required * }, * }, diff --git a/clients/client-waf-regional/src/commands/UpdateRegexPatternSetCommand.ts b/clients/client-waf-regional/src/commands/UpdateRegexPatternSetCommand.ts index ea38258b86f38..9114d1e067698 100644 --- a/clients/client-waf-regional/src/commands/UpdateRegexPatternSetCommand.ts +++ b/clients/client-waf-regional/src/commands/UpdateRegexPatternSetCommand.ts @@ -94,7 +94,7 @@ export interface UpdateRegexPatternSetCommandOutput extends UpdateRegexPatternSe * RegexPatternSetId: "STRING_VALUE", // required * Updates: [ // RegexPatternSetUpdates // required * { // RegexPatternSetUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * RegexPatternString: "STRING_VALUE", // required * }, * ], diff --git a/clients/client-waf-regional/src/commands/UpdateRuleCommand.ts b/clients/client-waf-regional/src/commands/UpdateRuleCommand.ts index 957a10014367f..232ae9a5236af 100644 --- a/clients/client-waf-regional/src/commands/UpdateRuleCommand.ts +++ b/clients/client-waf-regional/src/commands/UpdateRuleCommand.ts @@ -97,10 +97,10 @@ export interface UpdateRuleCommandOutput extends UpdateRuleResponse, __MetadataB * ChangeToken: "STRING_VALUE", // required * Updates: [ // RuleUpdates // required * { // RuleUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * Predicate: { // Predicate * Negated: true || false, // required - * Type: "STRING_VALUE", // required + * Type: "IPMatch" || "ByteMatch" || "SqlInjectionMatch" || "GeoMatch" || "SizeConstraint" || "XssMatch" || "RegexMatch", // required * DataId: "STRING_VALUE", // required * }, * }, diff --git a/clients/client-waf-regional/src/commands/UpdateRuleGroupCommand.ts b/clients/client-waf-regional/src/commands/UpdateRuleGroupCommand.ts index 85ed8cbced5c6..b33ddba60ce15 100644 --- a/clients/client-waf-regional/src/commands/UpdateRuleGroupCommand.ts +++ b/clients/client-waf-regional/src/commands/UpdateRuleGroupCommand.ts @@ -79,17 +79,17 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _ * RuleGroupId: "STRING_VALUE", // required * Updates: [ // RuleGroupUpdates // required * { // RuleGroupUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * ActivatedRule: { // ActivatedRule * Priority: Number("int"), // required * RuleId: "STRING_VALUE", // required * Action: { // WafAction - * Type: "STRING_VALUE", // required + * Type: "BLOCK" || "ALLOW" || "COUNT", // required * }, * OverrideAction: { // WafOverrideAction - * Type: "STRING_VALUE", // required + * Type: "NONE" || "COUNT", // required * }, - * Type: "STRING_VALUE", + * Type: "REGULAR" || "RATE_BASED" || "GROUP", * ExcludedRules: [ // ExcludedRules * { // ExcludedRule * RuleId: "STRING_VALUE", // required diff --git a/clients/client-waf-regional/src/commands/UpdateSizeConstraintSetCommand.ts b/clients/client-waf-regional/src/commands/UpdateSizeConstraintSetCommand.ts index 2a0414e379e63..6857b6c1e930b 100644 --- a/clients/client-waf-regional/src/commands/UpdateSizeConstraintSetCommand.ts +++ b/clients/client-waf-regional/src/commands/UpdateSizeConstraintSetCommand.ts @@ -98,14 +98,14 @@ export interface UpdateSizeConstraintSetCommandOutput extends UpdateSizeConstrai * ChangeToken: "STRING_VALUE", // required * Updates: [ // SizeConstraintSetUpdates // required * { // SizeConstraintSetUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * SizeConstraint: { // SizeConstraint * FieldToMatch: { // FieldToMatch - * Type: "STRING_VALUE", // required + * Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * Data: "STRING_VALUE", * }, - * TextTransformation: "STRING_VALUE", // required - * ComparisonOperator: "STRING_VALUE", // required + * TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required + * ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required * Size: Number("long"), // required * }, * }, diff --git a/clients/client-waf-regional/src/commands/UpdateSqlInjectionMatchSetCommand.ts b/clients/client-waf-regional/src/commands/UpdateSqlInjectionMatchSetCommand.ts index 216550cae6cff..dbb5e15a429c6 100644 --- a/clients/client-waf-regional/src/commands/UpdateSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf-regional/src/commands/UpdateSqlInjectionMatchSetCommand.ts @@ -97,13 +97,13 @@ export interface UpdateSqlInjectionMatchSetCommandOutput extends UpdateSqlInject * ChangeToken: "STRING_VALUE", // required * Updates: [ // SqlInjectionMatchSetUpdates // required * { // SqlInjectionMatchSetUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * SqlInjectionMatchTuple: { // SqlInjectionMatchTuple * FieldToMatch: { // FieldToMatch - * Type: "STRING_VALUE", // required + * Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * Data: "STRING_VALUE", * }, - * TextTransformation: "STRING_VALUE", // required + * TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required * }, * }, * ], diff --git a/clients/client-waf-regional/src/commands/UpdateWebACLCommand.ts b/clients/client-waf-regional/src/commands/UpdateWebACLCommand.ts index fccb5eab6321d..a478e4b4c90c7 100644 --- a/clients/client-waf-regional/src/commands/UpdateWebACLCommand.ts +++ b/clients/client-waf-regional/src/commands/UpdateWebACLCommand.ts @@ -127,17 +127,17 @@ export interface UpdateWebACLCommandOutput extends UpdateWebACLResponse, __Metad * ChangeToken: "STRING_VALUE", // required * Updates: [ // WebACLUpdates * { // WebACLUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * ActivatedRule: { // ActivatedRule * Priority: Number("int"), // required * RuleId: "STRING_VALUE", // required * Action: { // WafAction - * Type: "STRING_VALUE", // required + * Type: "BLOCK" || "ALLOW" || "COUNT", // required * }, * OverrideAction: { // WafOverrideAction - * Type: "STRING_VALUE", // required + * Type: "NONE" || "COUNT", // required * }, - * Type: "STRING_VALUE", + * Type: "REGULAR" || "RATE_BASED" || "GROUP", * ExcludedRules: [ // ExcludedRules * { // ExcludedRule * RuleId: "STRING_VALUE", // required @@ -147,7 +147,7 @@ export interface UpdateWebACLCommandOutput extends UpdateWebACLResponse, __Metad * }, * ], * DefaultAction: { - * Type: "STRING_VALUE", // required + * Type: "BLOCK" || "ALLOW" || "COUNT", // required * }, * }; * const command = new UpdateWebACLCommand(input); diff --git a/clients/client-waf-regional/src/commands/UpdateXssMatchSetCommand.ts b/clients/client-waf-regional/src/commands/UpdateXssMatchSetCommand.ts index ff98cd54b9e83..e7a617da9360f 100644 --- a/clients/client-waf-regional/src/commands/UpdateXssMatchSetCommand.ts +++ b/clients/client-waf-regional/src/commands/UpdateXssMatchSetCommand.ts @@ -99,13 +99,13 @@ export interface UpdateXssMatchSetCommandOutput extends UpdateXssMatchSetRespons * ChangeToken: "STRING_VALUE", // required * Updates: [ // XssMatchSetUpdates // required * { // XssMatchSetUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * XssMatchTuple: { // XssMatchTuple * FieldToMatch: { // FieldToMatch - * Type: "STRING_VALUE", // required + * Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * Data: "STRING_VALUE", * }, - * TextTransformation: "STRING_VALUE", // required + * TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required * }, * }, * ], diff --git a/clients/client-waf-regional/src/endpoint/ruleset.ts b/clients/client-waf-regional/src/endpoint/ruleset.ts index f32f84f3d34c1..5a3d4a795394b 100644 --- a/clients/client-waf-regional/src/endpoint/ruleset.ts +++ b/clients/client-waf-regional/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/waf-regional.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://waf-regional-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://waf-regional-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://waf-regional.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://waf-regional.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://waf-regional-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://waf-regional-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://waf-regional.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://waf-regional.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-waf/src/commands/CreateByteMatchSetCommand.ts b/clients/client-waf/src/commands/CreateByteMatchSetCommand.ts index a8247e147c28a..9d22ac4fc6b0c 100644 --- a/clients/client-waf/src/commands/CreateByteMatchSetCommand.ts +++ b/clients/client-waf/src/commands/CreateByteMatchSetCommand.ts @@ -87,12 +87,12 @@ export interface CreateByteMatchSetCommandOutput extends CreateByteMatchSetRespo * // ByteMatchTuples: [ // ByteMatchTuples // required * // { // ByteMatchTuple * // FieldToMatch: { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, * // TargetString: "BLOB_VALUE", // required - * // TextTransformation: "STRING_VALUE", // required - * // PositionalConstraint: "STRING_VALUE", // required + * // TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required + * // PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required * // }, * // ], * // }, diff --git a/clients/client-waf/src/commands/CreateGeoMatchSetCommand.ts b/clients/client-waf/src/commands/CreateGeoMatchSetCommand.ts index f3802787ee676..b9dd094a0610e 100644 --- a/clients/client-waf/src/commands/CreateGeoMatchSetCommand.ts +++ b/clients/client-waf/src/commands/CreateGeoMatchSetCommand.ts @@ -83,8 +83,8 @@ export interface CreateGeoMatchSetCommandOutput extends CreateGeoMatchSetRespons * // Name: "STRING_VALUE", * // GeoMatchConstraints: [ // GeoMatchConstraints // required * // { // GeoMatchConstraint - * // Type: "STRING_VALUE", // required - * // Value: "STRING_VALUE", // required + * // Type: "Country", // required + * // Value: "AF" || "AX" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BQ" || "BA" || "BW" || "BV" || "BR" || "IO" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CG" || "CD" || "CK" || "CR" || "CI" || "HR" || "CU" || "CW" || "CY" || "CZ" || "DK" || "DJ" || "DM" || "DO" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "GF" || "PF" || "TF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GP" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HM" || "VA" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KP" || "KR" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MQ" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "NF" || "MP" || "NO" || "OM" || "PK" || "PW" || "PS" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "GS" || "SS" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TL" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "UG" || "UA" || "AE" || "GB" || "US" || "UM" || "UY" || "UZ" || "VU" || "VE" || "VN" || "VG" || "VI" || "WF" || "EH" || "YE" || "ZM" || "ZW", // required * // }, * // ], * // }, diff --git a/clients/client-waf/src/commands/CreateIPSetCommand.ts b/clients/client-waf/src/commands/CreateIPSetCommand.ts index 7086bf895846d..0261a79856ecc 100644 --- a/clients/client-waf/src/commands/CreateIPSetCommand.ts +++ b/clients/client-waf/src/commands/CreateIPSetCommand.ts @@ -88,7 +88,7 @@ export interface CreateIPSetCommandOutput extends CreateIPSetResponse, __Metadat * // Name: "STRING_VALUE", * // IPSetDescriptors: [ // IPSetDescriptors // required * // { // IPSetDescriptor - * // Type: "STRING_VALUE", // required + * // Type: "IPV4" || "IPV6", // required * // Value: "STRING_VALUE", // required * // }, * // ], diff --git a/clients/client-waf/src/commands/CreateRateBasedRuleCommand.ts b/clients/client-waf/src/commands/CreateRateBasedRuleCommand.ts index 3eb11b7282601..6296e958e2d03 100644 --- a/clients/client-waf/src/commands/CreateRateBasedRuleCommand.ts +++ b/clients/client-waf/src/commands/CreateRateBasedRuleCommand.ts @@ -139,7 +139,7 @@ export interface CreateRateBasedRuleCommandOutput extends CreateRateBasedRuleRes * const input = { // CreateRateBasedRuleRequest * Name: "STRING_VALUE", // required * MetricName: "STRING_VALUE", // required - * RateKey: "STRING_VALUE", // required + * RateKey: "IP", // required * RateLimit: Number("long"), // required * ChangeToken: "STRING_VALUE", // required * Tags: [ // TagList @@ -159,11 +159,11 @@ export interface CreateRateBasedRuleCommandOutput extends CreateRateBasedRuleRes * // MatchPredicates: [ // Predicates // required * // { // Predicate * // Negated: true || false, // required - * // Type: "STRING_VALUE", // required + * // Type: "IPMatch" || "ByteMatch" || "SqlInjectionMatch" || "GeoMatch" || "SizeConstraint" || "XssMatch" || "RegexMatch", // required * // DataId: "STRING_VALUE", // required * // }, * // ], - * // RateKey: "STRING_VALUE", // required + * // RateKey: "IP", // required * // RateLimit: Number("long"), // required * // }, * // ChangeToken: "STRING_VALUE", diff --git a/clients/client-waf/src/commands/CreateRegexMatchSetCommand.ts b/clients/client-waf/src/commands/CreateRegexMatchSetCommand.ts index db876dbd588e3..16dad04ab246a 100644 --- a/clients/client-waf/src/commands/CreateRegexMatchSetCommand.ts +++ b/clients/client-waf/src/commands/CreateRegexMatchSetCommand.ts @@ -87,10 +87,10 @@ export interface CreateRegexMatchSetCommandOutput extends CreateRegexMatchSetRes * // RegexMatchTuples: [ // RegexMatchTuples * // { // RegexMatchTuple * // FieldToMatch: { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, - * // TextTransformation: "STRING_VALUE", // required + * // TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required * // RegexPatternSetId: "STRING_VALUE", // required * // }, * // ], diff --git a/clients/client-waf/src/commands/CreateRuleCommand.ts b/clients/client-waf/src/commands/CreateRuleCommand.ts index 27eb37636ba01..a84c50245ca85 100644 --- a/clients/client-waf/src/commands/CreateRuleCommand.ts +++ b/clients/client-waf/src/commands/CreateRuleCommand.ts @@ -115,7 +115,7 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB * // Predicates: [ // Predicates // required * // { // Predicate * // Negated: true || false, // required - * // Type: "STRING_VALUE", // required + * // Type: "IPMatch" || "ByteMatch" || "SqlInjectionMatch" || "GeoMatch" || "SizeConstraint" || "XssMatch" || "RegexMatch", // required * // DataId: "STRING_VALUE", // required * // }, * // ], diff --git a/clients/client-waf/src/commands/CreateSizeConstraintSetCommand.ts b/clients/client-waf/src/commands/CreateSizeConstraintSetCommand.ts index d76bd40df4914..de37986c0be63 100644 --- a/clients/client-waf/src/commands/CreateSizeConstraintSetCommand.ts +++ b/clients/client-waf/src/commands/CreateSizeConstraintSetCommand.ts @@ -87,11 +87,11 @@ export interface CreateSizeConstraintSetCommandOutput extends CreateSizeConstrai * // SizeConstraints: [ // SizeConstraints // required * // { // SizeConstraint * // FieldToMatch: { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, - * // TextTransformation: "STRING_VALUE", // required - * // ComparisonOperator: "STRING_VALUE", // required + * // TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required + * // ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required * // Size: Number("long"), // required * // }, * // ], diff --git a/clients/client-waf/src/commands/CreateSqlInjectionMatchSetCommand.ts b/clients/client-waf/src/commands/CreateSqlInjectionMatchSetCommand.ts index b0fb6a134a00f..72cdae3e15568 100644 --- a/clients/client-waf/src/commands/CreateSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf/src/commands/CreateSqlInjectionMatchSetCommand.ts @@ -85,10 +85,10 @@ export interface CreateSqlInjectionMatchSetCommandOutput extends CreateSqlInject * // SqlInjectionMatchTuples: [ // SqlInjectionMatchTuples // required * // { // SqlInjectionMatchTuple * // FieldToMatch: { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, - * // TextTransformation: "STRING_VALUE", // required + * // TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required * // }, * // ], * // }, diff --git a/clients/client-waf/src/commands/CreateWebACLCommand.ts b/clients/client-waf/src/commands/CreateWebACLCommand.ts index fb46fa7e77fcd..189bd84aeca4d 100644 --- a/clients/client-waf/src/commands/CreateWebACLCommand.ts +++ b/clients/client-waf/src/commands/CreateWebACLCommand.ts @@ -86,7 +86,7 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad * Name: "STRING_VALUE", // required * MetricName: "STRING_VALUE", // required * DefaultAction: { // WafAction - * Type: "STRING_VALUE", // required + * Type: "BLOCK" || "ALLOW" || "COUNT", // required * }, * ChangeToken: "STRING_VALUE", // required * Tags: [ // TagList @@ -104,19 +104,19 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad * // Name: "STRING_VALUE", * // MetricName: "STRING_VALUE", * // DefaultAction: { // WafAction - * // Type: "STRING_VALUE", // required + * // Type: "BLOCK" || "ALLOW" || "COUNT", // required * // }, * // Rules: [ // ActivatedRules // required * // { // ActivatedRule * // Priority: Number("int"), // required * // RuleId: "STRING_VALUE", // required * // Action: { - * // Type: "STRING_VALUE", // required + * // Type: "BLOCK" || "ALLOW" || "COUNT", // required * // }, * // OverrideAction: { // WafOverrideAction - * // Type: "STRING_VALUE", // required + * // Type: "NONE" || "COUNT", // required * // }, - * // Type: "STRING_VALUE", + * // Type: "REGULAR" || "RATE_BASED" || "GROUP", * // ExcludedRules: [ // ExcludedRules * // { // ExcludedRule * // RuleId: "STRING_VALUE", // required diff --git a/clients/client-waf/src/commands/CreateXssMatchSetCommand.ts b/clients/client-waf/src/commands/CreateXssMatchSetCommand.ts index a60f58bfd9877..74349e14e9ed9 100644 --- a/clients/client-waf/src/commands/CreateXssMatchSetCommand.ts +++ b/clients/client-waf/src/commands/CreateXssMatchSetCommand.ts @@ -85,10 +85,10 @@ export interface CreateXssMatchSetCommandOutput extends CreateXssMatchSetRespons * // XssMatchTuples: [ // XssMatchTuples // required * // { // XssMatchTuple * // FieldToMatch: { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, - * // TextTransformation: "STRING_VALUE", // required + * // TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required * // }, * // ], * // }, diff --git a/clients/client-waf/src/commands/GetByteMatchSetCommand.ts b/clients/client-waf/src/commands/GetByteMatchSetCommand.ts index 6b311b81faad1..a65dbb80fc2c0 100644 --- a/clients/client-waf/src/commands/GetByteMatchSetCommand.ts +++ b/clients/client-waf/src/commands/GetByteMatchSetCommand.ts @@ -63,12 +63,12 @@ export interface GetByteMatchSetCommandOutput extends GetByteMatchSetResponse, _ * // ByteMatchTuples: [ // ByteMatchTuples // required * // { // ByteMatchTuple * // FieldToMatch: { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, * // TargetString: "BLOB_VALUE", // required - * // TextTransformation: "STRING_VALUE", // required - * // PositionalConstraint: "STRING_VALUE", // required + * // TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required + * // PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required * // }, * // ], * // }, diff --git a/clients/client-waf/src/commands/GetChangeTokenStatusCommand.ts b/clients/client-waf/src/commands/GetChangeTokenStatusCommand.ts index 8464055ac2784..17ace53802a40 100644 --- a/clients/client-waf/src/commands/GetChangeTokenStatusCommand.ts +++ b/clients/client-waf/src/commands/GetChangeTokenStatusCommand.ts @@ -73,7 +73,7 @@ export interface GetChangeTokenStatusCommandOutput extends GetChangeTokenStatusR * const command = new GetChangeTokenStatusCommand(input); * const response = await client.send(command); * // { // GetChangeTokenStatusResponse - * // ChangeTokenStatus: "STRING_VALUE", + * // ChangeTokenStatus: "PROVISIONED" || "PENDING" || "INSYNC", * // }; * * ``` diff --git a/clients/client-waf/src/commands/GetGeoMatchSetCommand.ts b/clients/client-waf/src/commands/GetGeoMatchSetCommand.ts index 21f49c05868ec..77c5902f9adca 100644 --- a/clients/client-waf/src/commands/GetGeoMatchSetCommand.ts +++ b/clients/client-waf/src/commands/GetGeoMatchSetCommand.ts @@ -62,8 +62,8 @@ export interface GetGeoMatchSetCommandOutput extends GetGeoMatchSetResponse, __M * // Name: "STRING_VALUE", * // GeoMatchConstraints: [ // GeoMatchConstraints // required * // { // GeoMatchConstraint - * // Type: "STRING_VALUE", // required - * // Value: "STRING_VALUE", // required + * // Type: "Country", // required + * // Value: "AF" || "AX" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BQ" || "BA" || "BW" || "BV" || "BR" || "IO" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CG" || "CD" || "CK" || "CR" || "CI" || "HR" || "CU" || "CW" || "CY" || "CZ" || "DK" || "DJ" || "DM" || "DO" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "GF" || "PF" || "TF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GP" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HM" || "VA" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KP" || "KR" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MQ" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "NF" || "MP" || "NO" || "OM" || "PK" || "PW" || "PS" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "GS" || "SS" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TL" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "UG" || "UA" || "AE" || "GB" || "US" || "UM" || "UY" || "UZ" || "VU" || "VE" || "VN" || "VG" || "VI" || "WF" || "EH" || "YE" || "ZM" || "ZW", // required * // }, * // ], * // }, diff --git a/clients/client-waf/src/commands/GetIPSetCommand.ts b/clients/client-waf/src/commands/GetIPSetCommand.ts index 0153275c7e40b..34efa14313423 100644 --- a/clients/client-waf/src/commands/GetIPSetCommand.ts +++ b/clients/client-waf/src/commands/GetIPSetCommand.ts @@ -62,7 +62,7 @@ export interface GetIPSetCommandOutput extends GetIPSetResponse, __MetadataBeare * // Name: "STRING_VALUE", * // IPSetDescriptors: [ // IPSetDescriptors // required * // { // IPSetDescriptor - * // Type: "STRING_VALUE", // required + * // Type: "IPV4" || "IPV6", // required * // Value: "STRING_VALUE", // required * // }, * // ], diff --git a/clients/client-waf/src/commands/GetLoggingConfigurationCommand.ts b/clients/client-waf/src/commands/GetLoggingConfigurationCommand.ts index bfd1bdcefcd11..1c344213728eb 100644 --- a/clients/client-waf/src/commands/GetLoggingConfigurationCommand.ts +++ b/clients/client-waf/src/commands/GetLoggingConfigurationCommand.ts @@ -64,7 +64,7 @@ export interface GetLoggingConfigurationCommandOutput extends GetLoggingConfigur * // ], * // RedactedFields: [ // RedactedFields * // { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-waf/src/commands/GetRateBasedRuleCommand.ts b/clients/client-waf/src/commands/GetRateBasedRuleCommand.ts index 2d731f7cb1724..2c5e030924852 100644 --- a/clients/client-waf/src/commands/GetRateBasedRuleCommand.ts +++ b/clients/client-waf/src/commands/GetRateBasedRuleCommand.ts @@ -66,11 +66,11 @@ export interface GetRateBasedRuleCommandOutput extends GetRateBasedRuleResponse, * // MatchPredicates: [ // Predicates // required * // { // Predicate * // Negated: true || false, // required - * // Type: "STRING_VALUE", // required + * // Type: "IPMatch" || "ByteMatch" || "SqlInjectionMatch" || "GeoMatch" || "SizeConstraint" || "XssMatch" || "RegexMatch", // required * // DataId: "STRING_VALUE", // required * // }, * // ], - * // RateKey: "STRING_VALUE", // required + * // RateKey: "IP", // required * // RateLimit: Number("long"), // required * // }, * // }; diff --git a/clients/client-waf/src/commands/GetRegexMatchSetCommand.ts b/clients/client-waf/src/commands/GetRegexMatchSetCommand.ts index 10023611bdcbc..0e52f48d5fdd6 100644 --- a/clients/client-waf/src/commands/GetRegexMatchSetCommand.ts +++ b/clients/client-waf/src/commands/GetRegexMatchSetCommand.ts @@ -63,10 +63,10 @@ export interface GetRegexMatchSetCommandOutput extends GetRegexMatchSetResponse, * // RegexMatchTuples: [ // RegexMatchTuples * // { // RegexMatchTuple * // FieldToMatch: { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, - * // TextTransformation: "STRING_VALUE", // required + * // TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required * // RegexPatternSetId: "STRING_VALUE", // required * // }, * // ], diff --git a/clients/client-waf/src/commands/GetRuleCommand.ts b/clients/client-waf/src/commands/GetRuleCommand.ts index 21329dfa38e38..309d4ab8aeb49 100644 --- a/clients/client-waf/src/commands/GetRuleCommand.ts +++ b/clients/client-waf/src/commands/GetRuleCommand.ts @@ -64,7 +64,7 @@ export interface GetRuleCommandOutput extends GetRuleResponse, __MetadataBearer * // Predicates: [ // Predicates // required * // { // Predicate * // Negated: true || false, // required - * // Type: "STRING_VALUE", // required + * // Type: "IPMatch" || "ByteMatch" || "SqlInjectionMatch" || "GeoMatch" || "SizeConstraint" || "XssMatch" || "RegexMatch", // required * // DataId: "STRING_VALUE", // required * // }, * // ], diff --git a/clients/client-waf/src/commands/GetSizeConstraintSetCommand.ts b/clients/client-waf/src/commands/GetSizeConstraintSetCommand.ts index d91d664a261ab..77bd4b19575f3 100644 --- a/clients/client-waf/src/commands/GetSizeConstraintSetCommand.ts +++ b/clients/client-waf/src/commands/GetSizeConstraintSetCommand.ts @@ -63,11 +63,11 @@ export interface GetSizeConstraintSetCommandOutput extends GetSizeConstraintSetR * // SizeConstraints: [ // SizeConstraints // required * // { // SizeConstraint * // FieldToMatch: { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, - * // TextTransformation: "STRING_VALUE", // required - * // ComparisonOperator: "STRING_VALUE", // required + * // TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required + * // ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required * // Size: Number("long"), // required * // }, * // ], diff --git a/clients/client-waf/src/commands/GetSqlInjectionMatchSetCommand.ts b/clients/client-waf/src/commands/GetSqlInjectionMatchSetCommand.ts index 74379b8826e34..490d0348aa38f 100644 --- a/clients/client-waf/src/commands/GetSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf/src/commands/GetSqlInjectionMatchSetCommand.ts @@ -63,10 +63,10 @@ export interface GetSqlInjectionMatchSetCommandOutput extends GetSqlInjectionMat * // SqlInjectionMatchTuples: [ // SqlInjectionMatchTuples // required * // { // SqlInjectionMatchTuple * // FieldToMatch: { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, - * // TextTransformation: "STRING_VALUE", // required + * // TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required * // }, * // ], * // }, diff --git a/clients/client-waf/src/commands/GetWebACLCommand.ts b/clients/client-waf/src/commands/GetWebACLCommand.ts index a2272d721b462..b48fc72b2c820 100644 --- a/clients/client-waf/src/commands/GetWebACLCommand.ts +++ b/clients/client-waf/src/commands/GetWebACLCommand.ts @@ -62,19 +62,19 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea * // Name: "STRING_VALUE", * // MetricName: "STRING_VALUE", * // DefaultAction: { // WafAction - * // Type: "STRING_VALUE", // required + * // Type: "BLOCK" || "ALLOW" || "COUNT", // required * // }, * // Rules: [ // ActivatedRules // required * // { // ActivatedRule * // Priority: Number("int"), // required * // RuleId: "STRING_VALUE", // required * // Action: { - * // Type: "STRING_VALUE", // required + * // Type: "BLOCK" || "ALLOW" || "COUNT", // required * // }, * // OverrideAction: { // WafOverrideAction - * // Type: "STRING_VALUE", // required + * // Type: "NONE" || "COUNT", // required * // }, - * // Type: "STRING_VALUE", + * // Type: "REGULAR" || "RATE_BASED" || "GROUP", * // ExcludedRules: [ // ExcludedRules * // { // ExcludedRule * // RuleId: "STRING_VALUE", // required diff --git a/clients/client-waf/src/commands/GetXssMatchSetCommand.ts b/clients/client-waf/src/commands/GetXssMatchSetCommand.ts index 0da509a95d550..ba21f88d90d07 100644 --- a/clients/client-waf/src/commands/GetXssMatchSetCommand.ts +++ b/clients/client-waf/src/commands/GetXssMatchSetCommand.ts @@ -63,10 +63,10 @@ export interface GetXssMatchSetCommandOutput extends GetXssMatchSetResponse, __M * // XssMatchTuples: [ // XssMatchTuples // required * // { // XssMatchTuple * // FieldToMatch: { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, - * // TextTransformation: "STRING_VALUE", // required + * // TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required * // }, * // ], * // }, diff --git a/clients/client-waf/src/commands/ListActivatedRulesInRuleGroupCommand.ts b/clients/client-waf/src/commands/ListActivatedRulesInRuleGroupCommand.ts index 87ca6f82091ae..2bc6ff610ff09 100644 --- a/clients/client-waf/src/commands/ListActivatedRulesInRuleGroupCommand.ts +++ b/clients/client-waf/src/commands/ListActivatedRulesInRuleGroupCommand.ts @@ -70,12 +70,12 @@ export interface ListActivatedRulesInRuleGroupCommandOutput * // Priority: Number("int"), // required * // RuleId: "STRING_VALUE", // required * // Action: { // WafAction - * // Type: "STRING_VALUE", // required + * // Type: "BLOCK" || "ALLOW" || "COUNT", // required * // }, * // OverrideAction: { // WafOverrideAction - * // Type: "STRING_VALUE", // required + * // Type: "NONE" || "COUNT", // required * // }, - * // Type: "STRING_VALUE", + * // Type: "REGULAR" || "RATE_BASED" || "GROUP", * // ExcludedRules: [ // ExcludedRules * // { // ExcludedRule * // RuleId: "STRING_VALUE", // required diff --git a/clients/client-waf/src/commands/ListLoggingConfigurationsCommand.ts b/clients/client-waf/src/commands/ListLoggingConfigurationsCommand.ts index e97f76abebaaa..f2fe48c2cefb8 100644 --- a/clients/client-waf/src/commands/ListLoggingConfigurationsCommand.ts +++ b/clients/client-waf/src/commands/ListLoggingConfigurationsCommand.ts @@ -66,7 +66,7 @@ export interface ListLoggingConfigurationsCommandOutput extends ListLoggingConfi * // ], * // RedactedFields: [ // RedactedFields * // { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-waf/src/commands/PutLoggingConfigurationCommand.ts b/clients/client-waf/src/commands/PutLoggingConfigurationCommand.ts index 3dffa588bbc8e..c81fa3bb674f6 100644 --- a/clients/client-waf/src/commands/PutLoggingConfigurationCommand.ts +++ b/clients/client-waf/src/commands/PutLoggingConfigurationCommand.ts @@ -76,7 +76,7 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur * ], * RedactedFields: [ // RedactedFields * { // FieldToMatch - * Type: "STRING_VALUE", // required + * Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * Data: "STRING_VALUE", * }, * ], @@ -92,7 +92,7 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur * // ], * // RedactedFields: [ // RedactedFields * // { // FieldToMatch - * // Type: "STRING_VALUE", // required + * // Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * // Data: "STRING_VALUE", * // }, * // ], diff --git a/clients/client-waf/src/commands/UpdateByteMatchSetCommand.ts b/clients/client-waf/src/commands/UpdateByteMatchSetCommand.ts index 54a696a66bf1d..0ea3a6f53527d 100644 --- a/clients/client-waf/src/commands/UpdateByteMatchSetCommand.ts +++ b/clients/client-waf/src/commands/UpdateByteMatchSetCommand.ts @@ -94,15 +94,15 @@ export interface UpdateByteMatchSetCommandOutput extends UpdateByteMatchSetRespo * ChangeToken: "STRING_VALUE", // required * Updates: [ // ByteMatchSetUpdates // required * { // ByteMatchSetUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * ByteMatchTuple: { // ByteMatchTuple * FieldToMatch: { // FieldToMatch - * Type: "STRING_VALUE", // required + * Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * Data: "STRING_VALUE", * }, * TargetString: "BLOB_VALUE", // required - * TextTransformation: "STRING_VALUE", // required - * PositionalConstraint: "STRING_VALUE", // required + * TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required + * PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required * }, * }, * ], diff --git a/clients/client-waf/src/commands/UpdateGeoMatchSetCommand.ts b/clients/client-waf/src/commands/UpdateGeoMatchSetCommand.ts index c60737a487390..dea42ba29e5d6 100644 --- a/clients/client-waf/src/commands/UpdateGeoMatchSetCommand.ts +++ b/clients/client-waf/src/commands/UpdateGeoMatchSetCommand.ts @@ -86,10 +86,10 @@ export interface UpdateGeoMatchSetCommandOutput extends UpdateGeoMatchSetRespons * ChangeToken: "STRING_VALUE", // required * Updates: [ // GeoMatchSetUpdates // required * { // GeoMatchSetUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * GeoMatchConstraint: { // GeoMatchConstraint - * Type: "STRING_VALUE", // required - * Value: "STRING_VALUE", // required + * Type: "Country", // required + * Value: "AF" || "AX" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BQ" || "BA" || "BW" || "BV" || "BR" || "IO" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CG" || "CD" || "CK" || "CR" || "CI" || "HR" || "CU" || "CW" || "CY" || "CZ" || "DK" || "DJ" || "DM" || "DO" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "GF" || "PF" || "TF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GP" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HM" || "VA" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KP" || "KR" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MQ" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "NF" || "MP" || "NO" || "OM" || "PK" || "PW" || "PS" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "GS" || "SS" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TL" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "UG" || "UA" || "AE" || "GB" || "US" || "UM" || "UY" || "UZ" || "VU" || "VE" || "VN" || "VG" || "VI" || "WF" || "EH" || "YE" || "ZM" || "ZW", // required * }, * }, * ], diff --git a/clients/client-waf/src/commands/UpdateIPSetCommand.ts b/clients/client-waf/src/commands/UpdateIPSetCommand.ts index 03fb73175f11e..b58683baf9037 100644 --- a/clients/client-waf/src/commands/UpdateIPSetCommand.ts +++ b/clients/client-waf/src/commands/UpdateIPSetCommand.ts @@ -121,9 +121,9 @@ export interface UpdateIPSetCommandOutput extends UpdateIPSetResponse, __Metadat * ChangeToken: "STRING_VALUE", // required * Updates: [ // IPSetUpdates // required * { // IPSetUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * IPSetDescriptor: { // IPSetDescriptor - * Type: "STRING_VALUE", // required + * Type: "IPV4" || "IPV6", // required * Value: "STRING_VALUE", // required * }, * }, diff --git a/clients/client-waf/src/commands/UpdateRateBasedRuleCommand.ts b/clients/client-waf/src/commands/UpdateRateBasedRuleCommand.ts index d01266d1e25a2..312f3fec9b2cc 100644 --- a/clients/client-waf/src/commands/UpdateRateBasedRuleCommand.ts +++ b/clients/client-waf/src/commands/UpdateRateBasedRuleCommand.ts @@ -102,10 +102,10 @@ export interface UpdateRateBasedRuleCommandOutput extends UpdateRateBasedRuleRes * ChangeToken: "STRING_VALUE", // required * Updates: [ // RuleUpdates // required * { // RuleUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * Predicate: { // Predicate * Negated: true || false, // required - * Type: "STRING_VALUE", // required + * Type: "IPMatch" || "ByteMatch" || "SqlInjectionMatch" || "GeoMatch" || "SizeConstraint" || "XssMatch" || "RegexMatch", // required * DataId: "STRING_VALUE", // required * }, * }, diff --git a/clients/client-waf/src/commands/UpdateRegexMatchSetCommand.ts b/clients/client-waf/src/commands/UpdateRegexMatchSetCommand.ts index ffe1ebf22054c..8ba820fc7d58e 100644 --- a/clients/client-waf/src/commands/UpdateRegexMatchSetCommand.ts +++ b/clients/client-waf/src/commands/UpdateRegexMatchSetCommand.ts @@ -89,13 +89,13 @@ export interface UpdateRegexMatchSetCommandOutput extends UpdateRegexMatchSetRes * RegexMatchSetId: "STRING_VALUE", // required * Updates: [ // RegexMatchSetUpdates // required * { // RegexMatchSetUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * RegexMatchTuple: { // RegexMatchTuple * FieldToMatch: { // FieldToMatch - * Type: "STRING_VALUE", // required + * Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * Data: "STRING_VALUE", * }, - * TextTransformation: "STRING_VALUE", // required + * TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required * RegexPatternSetId: "STRING_VALUE", // required * }, * }, diff --git a/clients/client-waf/src/commands/UpdateRegexPatternSetCommand.ts b/clients/client-waf/src/commands/UpdateRegexPatternSetCommand.ts index f09491f1f7104..95c42657a1e42 100644 --- a/clients/client-waf/src/commands/UpdateRegexPatternSetCommand.ts +++ b/clients/client-waf/src/commands/UpdateRegexPatternSetCommand.ts @@ -94,7 +94,7 @@ export interface UpdateRegexPatternSetCommandOutput extends UpdateRegexPatternSe * RegexPatternSetId: "STRING_VALUE", // required * Updates: [ // RegexPatternSetUpdates // required * { // RegexPatternSetUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * RegexPatternString: "STRING_VALUE", // required * }, * ], diff --git a/clients/client-waf/src/commands/UpdateRuleCommand.ts b/clients/client-waf/src/commands/UpdateRuleCommand.ts index c72cd05c13e3c..aaad3fb899bd5 100644 --- a/clients/client-waf/src/commands/UpdateRuleCommand.ts +++ b/clients/client-waf/src/commands/UpdateRuleCommand.ts @@ -97,10 +97,10 @@ export interface UpdateRuleCommandOutput extends UpdateRuleResponse, __MetadataB * ChangeToken: "STRING_VALUE", // required * Updates: [ // RuleUpdates // required * { // RuleUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * Predicate: { // Predicate * Negated: true || false, // required - * Type: "STRING_VALUE", // required + * Type: "IPMatch" || "ByteMatch" || "SqlInjectionMatch" || "GeoMatch" || "SizeConstraint" || "XssMatch" || "RegexMatch", // required * DataId: "STRING_VALUE", // required * }, * }, diff --git a/clients/client-waf/src/commands/UpdateRuleGroupCommand.ts b/clients/client-waf/src/commands/UpdateRuleGroupCommand.ts index 4fe6fecc7dc89..812b907bd2e5e 100644 --- a/clients/client-waf/src/commands/UpdateRuleGroupCommand.ts +++ b/clients/client-waf/src/commands/UpdateRuleGroupCommand.ts @@ -79,17 +79,17 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _ * RuleGroupId: "STRING_VALUE", // required * Updates: [ // RuleGroupUpdates // required * { // RuleGroupUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * ActivatedRule: { // ActivatedRule * Priority: Number("int"), // required * RuleId: "STRING_VALUE", // required * Action: { // WafAction - * Type: "STRING_VALUE", // required + * Type: "BLOCK" || "ALLOW" || "COUNT", // required * }, * OverrideAction: { // WafOverrideAction - * Type: "STRING_VALUE", // required + * Type: "NONE" || "COUNT", // required * }, - * Type: "STRING_VALUE", + * Type: "REGULAR" || "RATE_BASED" || "GROUP", * ExcludedRules: [ // ExcludedRules * { // ExcludedRule * RuleId: "STRING_VALUE", // required diff --git a/clients/client-waf/src/commands/UpdateSizeConstraintSetCommand.ts b/clients/client-waf/src/commands/UpdateSizeConstraintSetCommand.ts index af5733e86e0bd..027f4feaf003c 100644 --- a/clients/client-waf/src/commands/UpdateSizeConstraintSetCommand.ts +++ b/clients/client-waf/src/commands/UpdateSizeConstraintSetCommand.ts @@ -98,14 +98,14 @@ export interface UpdateSizeConstraintSetCommandOutput extends UpdateSizeConstrai * ChangeToken: "STRING_VALUE", // required * Updates: [ // SizeConstraintSetUpdates // required * { // SizeConstraintSetUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * SizeConstraint: { // SizeConstraint * FieldToMatch: { // FieldToMatch - * Type: "STRING_VALUE", // required + * Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * Data: "STRING_VALUE", * }, - * TextTransformation: "STRING_VALUE", // required - * ComparisonOperator: "STRING_VALUE", // required + * TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required + * ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required * Size: Number("long"), // required * }, * }, diff --git a/clients/client-waf/src/commands/UpdateSqlInjectionMatchSetCommand.ts b/clients/client-waf/src/commands/UpdateSqlInjectionMatchSetCommand.ts index 02f5da74d7b3e..553e8467343dc 100644 --- a/clients/client-waf/src/commands/UpdateSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf/src/commands/UpdateSqlInjectionMatchSetCommand.ts @@ -97,13 +97,13 @@ export interface UpdateSqlInjectionMatchSetCommandOutput extends UpdateSqlInject * ChangeToken: "STRING_VALUE", // required * Updates: [ // SqlInjectionMatchSetUpdates // required * { // SqlInjectionMatchSetUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * SqlInjectionMatchTuple: { // SqlInjectionMatchTuple * FieldToMatch: { // FieldToMatch - * Type: "STRING_VALUE", // required + * Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * Data: "STRING_VALUE", * }, - * TextTransformation: "STRING_VALUE", // required + * TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required * }, * }, * ], diff --git a/clients/client-waf/src/commands/UpdateWebACLCommand.ts b/clients/client-waf/src/commands/UpdateWebACLCommand.ts index 7143af7ce6a2a..e8320dd861b9d 100644 --- a/clients/client-waf/src/commands/UpdateWebACLCommand.ts +++ b/clients/client-waf/src/commands/UpdateWebACLCommand.ts @@ -127,17 +127,17 @@ export interface UpdateWebACLCommandOutput extends UpdateWebACLResponse, __Metad * ChangeToken: "STRING_VALUE", // required * Updates: [ // WebACLUpdates * { // WebACLUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * ActivatedRule: { // ActivatedRule * Priority: Number("int"), // required * RuleId: "STRING_VALUE", // required * Action: { // WafAction - * Type: "STRING_VALUE", // required + * Type: "BLOCK" || "ALLOW" || "COUNT", // required * }, * OverrideAction: { // WafOverrideAction - * Type: "STRING_VALUE", // required + * Type: "NONE" || "COUNT", // required * }, - * Type: "STRING_VALUE", + * Type: "REGULAR" || "RATE_BASED" || "GROUP", * ExcludedRules: [ // ExcludedRules * { // ExcludedRule * RuleId: "STRING_VALUE", // required @@ -147,7 +147,7 @@ export interface UpdateWebACLCommandOutput extends UpdateWebACLResponse, __Metad * }, * ], * DefaultAction: { - * Type: "STRING_VALUE", // required + * Type: "BLOCK" || "ALLOW" || "COUNT", // required * }, * }; * const command = new UpdateWebACLCommand(input); diff --git a/clients/client-waf/src/commands/UpdateXssMatchSetCommand.ts b/clients/client-waf/src/commands/UpdateXssMatchSetCommand.ts index 5864f2f8e7657..8152c9f176c47 100644 --- a/clients/client-waf/src/commands/UpdateXssMatchSetCommand.ts +++ b/clients/client-waf/src/commands/UpdateXssMatchSetCommand.ts @@ -99,13 +99,13 @@ export interface UpdateXssMatchSetCommandOutput extends UpdateXssMatchSetRespons * ChangeToken: "STRING_VALUE", // required * Updates: [ // XssMatchSetUpdates // required * { // XssMatchSetUpdate - * Action: "STRING_VALUE", // required + * Action: "INSERT" || "DELETE", // required * XssMatchTuple: { // XssMatchTuple * FieldToMatch: { // FieldToMatch - * Type: "STRING_VALUE", // required + * Type: "URI" || "QUERY_STRING" || "HEADER" || "METHOD" || "BODY" || "SINGLE_QUERY_ARG" || "ALL_QUERY_ARGS", // required * Data: "STRING_VALUE", * }, - * TextTransformation: "STRING_VALUE", // required + * TextTransformation: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE", // required * }, * }, * ], diff --git a/clients/client-waf/src/endpoint/ruleset.ts b/clients/client-waf/src/endpoint/ruleset.ts index 0af7ab3ee0dab..89634cd4bdaa4 100644 --- a/clients/client-waf/src/endpoint/ruleset.ts +++ b/clients/client-waf/src/endpoint/ruleset.ts @@ -6,39 +6,31 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/waf.json */ -const B="required", -C="type", -D="fn", -E="argv", -F="ref", -G="properties", -H="headers"; -const a="PartitionResult", -b="tree", -c="error", -d="endpoint", -e="stringEquals", -f="getAttr", -g="aws", -h={[B]:false,[C]:"String"}, -i={[B]:true,"default":false,[C]:"Boolean"}, -j={[F]:"Region"}, -k={[F]:"Endpoint"}, -l={}, -m={[F]:a}, -n={"authSchemes":[{"name":"sigv4","signingName":"waf","signingRegion":"us-east-1"}]}, -o={[c]:"FIPS and DualStack are enabled, but this partition does not support one or both",[C]:c}, -p={"url":"https://waf-fips.amazonaws.com",[G]:n,[H]:{}}, -q={[c]:"FIPS is enabled but this partition does not support FIPS",[C]:c}, -r={[c]:"DualStack is enabled but this partition does not support DualStack",[C]:c}, -s={"url":"https://waf.amazonaws.com",[G]:n,[H]:{}}, +const w="required", +x="fn", +y="argv", +z="ref"; +const a=false, +b="isSet", +c="tree", +d="booleanEquals", +e="error", +f="endpoint", +g="PartitionResult", +h={[w]:false,"type":"String"}, +i={[w]:true,"default":false,"type":"Boolean"}, +j={[z]:"Endpoint"}, +k={[x]:d,[y]:[{[z]:"UseFIPS"},true]}, +l={[z]:"UseFIPS"}, +m={[x]:d,[y]:[{[z]:"UseDualStack"},true]}, +n={}, +o={[x]:"stringEquals",[y]:[{[x]:"getAttr",[y]:[{[z]:g},"name"]},"aws"]}, +p={[x]:d,[y]:[{[z]:"UseDualStack"},false]}, +q={"authSchemes":[{"name":"sigv4","signingName":"waf","signingRegion":"us-east-1"}]}, +r={[x]:d,[y]:[true,{[x]:"getAttr",[y]:[{[z]:g},"supportsFIPS"]}]}, +s={[x]:d,[y]:[true,{[x]:"getAttr",[y]:[{[z]:g},"supportsDualStack"]}]}, t=[k], -u=[{[D]:"booleanEquals",[E]:[{[F]:"UseFIPS"},true]}], -v=[{[D]:"booleanEquals",[E]:[{[F]:"UseDualStack"},true]}], -w=[{[D]:"booleanEquals",[E]:[{[F]:"UseFIPS"},true]},{[D]:"booleanEquals",[E]:[{[F]:"UseDualStack"},true]}], -x=[{[D]:"booleanEquals",[E]:[true,{[D]:f,[E]:[m,"supportsFIPS"]}]},{[D]:"booleanEquals",[E]:[true,{[D]:f,[E]:[m,"supportsDualStack"]}]}], -y=[{[D]:"booleanEquals",[E]:[true,{[D]:f,[E]:[m,"supportsFIPS"]}]}], -z=[{[D]:"booleanEquals",[E]:[true,{[D]:f,[E]:[m,"supportsDualStack"]}]}], -A=[{[D]:e,[E]:[j,"aws-global"]}]; -const _data={version:"1.0",parameters:{Region:h,UseDualStack:i,UseFIPS:i,Endpoint:h},rules:[{conditions:[{[D]:"aws.partition",[E]:[j],assign:a}],[C]:b,rules:[{conditions:[{[D]:"isSet",[E]:t},{[D]:"parseURL",[E]:t,assign:"url"}],[C]:b,rules:[{conditions:u,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[C]:c},{[C]:b,rules:[{conditions:v,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[C]:c},{endpoint:{url:k,[G]:l,[H]:l},[C]:d}]}]},{conditions:[{[D]:e,[E]:[{[D]:f,[E]:[m,"name"]},g]}],[C]:b,rules:[{conditions:w,[C]:b,rules:[{conditions:x,[C]:b,rules:[{endpoint:{url:"https://waf-fips.{Region}.api.aws",[G]:n,[H]:l},[C]:d}]},o]},{conditions:u,[C]:b,rules:[{conditions:y,[C]:b,rules:[{endpoint:p,[C]:d}]},q]},{conditions:v,[C]:b,rules:[{conditions:z,[C]:b,rules:[{endpoint:{url:"https://waf.{Region}.api.aws",[G]:n,[H]:l},[C]:d}]},r]},{endpoint:s,[C]:d}]},{conditions:w,[C]:b,rules:[{conditions:x,[C]:b,rules:[{endpoint:{url:"https://waf-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",[G]:l,[H]:l},[C]:d}]},o]},{conditions:u,[C]:b,rules:[{conditions:y,[C]:b,rules:[{[C]:b,rules:[{conditions:[{[D]:e,[E]:[j,g]}],endpoint:p,[C]:d},{conditions:A,endpoint:p,[C]:d},{endpoint:{url:"https://waf-fips.{Region}.{PartitionResult#dnsSuffix}",[G]:l,[H]:l},[C]:d}]}]},q]},{conditions:v,[C]:b,rules:[{conditions:z,[C]:b,rules:[{endpoint:{url:"https://waf.{Region}.{PartitionResult#dualStackDnsSuffix}",[G]:l,[H]:l},[C]:d}]},r]},{[C]:b,rules:[{conditions:A,endpoint:s,[C]:d},{endpoint:{url:"https://waf.{Region}.{PartitionResult#dnsSuffix}",[G]:l,[H]:l},[C]:d}]}]}]}; +u=[m], +v=[{[z]:"Region"}]; +const _data={version:"1.0",parameters:{Region:h,UseDualStack:i,UseFIPS:i,Endpoint:h},rules:[{conditions:[{[x]:b,[y]:[j]}],type:c,rules:[{conditions:t,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:e},{conditions:u,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:e},{endpoint:{url:j,properties:n,headers:n},type:f}]},{conditions:[{[x]:b,[y]:v}],type:c,rules:[{conditions:[{[x]:"aws.partition",[y]:v,assign:g}],type:c,rules:[{conditions:[o,{[x]:d,[y]:[l,a]},p],endpoint:{url:"https://waf.amazonaws.com",properties:q,headers:n},type:f},{conditions:[o,k,p],endpoint:{url:"https://waf-fips.amazonaws.com",properties:q,headers:n},type:f},{conditions:[k,m],type:c,rules:[{conditions:[r,s],type:c,rules:[{endpoint:{url:"https://waf-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:f}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:e}]},{conditions:t,type:c,rules:[{conditions:[r],type:c,rules:[{endpoint:{url:"https://waf-fips.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:f}]},{error:"FIPS is enabled but this partition does not support FIPS",type:e}]},{conditions:u,type:c,rules:[{conditions:[s],type:c,rules:[{endpoint:{url:"https://waf.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:f}]},{error:"DualStack is enabled but this partition does not support DualStack",type:e}]},{endpoint:{url:"https://waf.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:f}]}]},{error:"Invalid Configuration: Missing Region",type:e}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-wellarchitected/src/endpoint/ruleset.ts b/clients/client-wellarchitected/src/endpoint/ruleset.ts index 143e03a3fc85a..677a1176cfb18 100644 --- a/clients/client-wellarchitected/src/endpoint/ruleset.ts +++ b/clients/client-wellarchitected/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://wellarchitected-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://wellarchitected-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://wellarchitected.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://wellarchitected.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://wellarchitected-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://wellarchitected-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://wellarchitected.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://wellarchitected.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-wisdom/src/endpoint/ruleset.ts b/clients/client-wisdom/src/endpoint/ruleset.ts index 7782039ac20bb..62674786638c2 100644 --- a/clients/client-wisdom/src/endpoint/ruleset.ts +++ b/clients/client-wisdom/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://wisdom-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://wisdom-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://wisdom.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://wisdom.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://wisdom-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://wisdom-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://wisdom.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://wisdom.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-workdocs/src/endpoint/ruleset.ts b/clients/client-workdocs/src/endpoint/ruleset.ts index 7a4ccfb3e8c55..68670b5432ce3 100644 --- a/clients/client-workdocs/src/endpoint/ruleset.ts +++ b/clients/client-workdocs/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://workdocs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://workdocs-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://workdocs.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://workdocs.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://workdocs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://workdocs-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://workdocs.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://workdocs.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-worklink/src/commands/AssociateWebsiteAuthorizationProviderCommand.ts b/clients/client-worklink/src/commands/AssociateWebsiteAuthorizationProviderCommand.ts index da7e2bccfa339..45883184db178 100644 --- a/clients/client-worklink/src/commands/AssociateWebsiteAuthorizationProviderCommand.ts +++ b/clients/client-worklink/src/commands/AssociateWebsiteAuthorizationProviderCommand.ts @@ -56,7 +56,7 @@ export interface AssociateWebsiteAuthorizationProviderCommandOutput * const client = new WorkLinkClient(config); * const input = { // AssociateWebsiteAuthorizationProviderRequest * FleetArn: "STRING_VALUE", // required - * AuthorizationProviderType: "STRING_VALUE", // required + * AuthorizationProviderType: "SAML", // required * DomainName: "STRING_VALUE", * }; * const command = new AssociateWebsiteAuthorizationProviderCommand(input); diff --git a/clients/client-worklink/src/commands/DescribeDeviceCommand.ts b/clients/client-worklink/src/commands/DescribeDeviceCommand.ts index fb1f71f8f71a5..4be5676bb87b6 100644 --- a/clients/client-worklink/src/commands/DescribeDeviceCommand.ts +++ b/clients/client-worklink/src/commands/DescribeDeviceCommand.ts @@ -52,7 +52,7 @@ export interface DescribeDeviceCommandOutput extends DescribeDeviceResponse, __M * const command = new DescribeDeviceCommand(input); * const response = await client.send(command); * // { // DescribeDeviceResponse - * // Status: "STRING_VALUE", + * // Status: "ACTIVE" || "SIGNED_OUT", * // Model: "STRING_VALUE", * // Manufacturer: "STRING_VALUE", * // OperatingSystem: "STRING_VALUE", diff --git a/clients/client-worklink/src/commands/DescribeDomainCommand.ts b/clients/client-worklink/src/commands/DescribeDomainCommand.ts index 8d4f6372b8a8b..b6f45a311e626 100644 --- a/clients/client-worklink/src/commands/DescribeDomainCommand.ts +++ b/clients/client-worklink/src/commands/DescribeDomainCommand.ts @@ -55,7 +55,7 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M * // DomainName: "STRING_VALUE", * // DisplayName: "STRING_VALUE", * // CreatedTime: new Date("TIMESTAMP"), - * // DomainStatus: "STRING_VALUE", + * // DomainStatus: "PENDING_VALIDATION" || "ASSOCIATING" || "ACTIVE" || "INACTIVE" || "DISASSOCIATING" || "DISASSOCIATED" || "FAILED_TO_ASSOCIATE" || "FAILED_TO_DISASSOCIATE", * // AcmCertificateArn: "STRING_VALUE", * // }; * diff --git a/clients/client-worklink/src/commands/DescribeFleetMetadataCommand.ts b/clients/client-worklink/src/commands/DescribeFleetMetadataCommand.ts index f0e3a91d9123f..eca8b73f9c345 100644 --- a/clients/client-worklink/src/commands/DescribeFleetMetadataCommand.ts +++ b/clients/client-worklink/src/commands/DescribeFleetMetadataCommand.ts @@ -58,7 +58,7 @@ export interface DescribeFleetMetadataCommandOutput extends DescribeFleetMetadat * // DisplayName: "STRING_VALUE", * // OptimizeForEndUserLocation: true || false, * // CompanyCode: "STRING_VALUE", - * // FleetStatus: "STRING_VALUE", + * // FleetStatus: "CREATING" || "ACTIVE" || "DELETING" || "DELETED" || "FAILED_TO_CREATE" || "FAILED_TO_DELETE", * // Tags: { // TagMap * // "": "STRING_VALUE", * // }, diff --git a/clients/client-worklink/src/commands/DescribeIdentityProviderConfigurationCommand.ts b/clients/client-worklink/src/commands/DescribeIdentityProviderConfigurationCommand.ts index 5708d19619b3c..481b010078cfd 100644 --- a/clients/client-worklink/src/commands/DescribeIdentityProviderConfigurationCommand.ts +++ b/clients/client-worklink/src/commands/DescribeIdentityProviderConfigurationCommand.ts @@ -60,7 +60,7 @@ export interface DescribeIdentityProviderConfigurationCommandOutput * const command = new DescribeIdentityProviderConfigurationCommand(input); * const response = await client.send(command); * // { // DescribeIdentityProviderConfigurationResponse - * // IdentityProviderType: "STRING_VALUE", + * // IdentityProviderType: "SAML", * // ServiceProviderSamlMetadata: "STRING_VALUE", * // IdentityProviderSamlMetadata: "STRING_VALUE", * // }; diff --git a/clients/client-worklink/src/commands/ListDevicesCommand.ts b/clients/client-worklink/src/commands/ListDevicesCommand.ts index 773c7267a6444..c47d7b97c60ec 100644 --- a/clients/client-worklink/src/commands/ListDevicesCommand.ts +++ b/clients/client-worklink/src/commands/ListDevicesCommand.ts @@ -56,7 +56,7 @@ export interface ListDevicesCommandOutput extends ListDevicesResponse, __Metadat * // Devices: [ // DeviceSummaryList * // { // DeviceSummary * // DeviceId: "STRING_VALUE", - * // DeviceStatus: "STRING_VALUE", + * // DeviceStatus: "ACTIVE" || "SIGNED_OUT", * // }, * // ], * // NextToken: "STRING_VALUE", diff --git a/clients/client-worklink/src/commands/ListDomainsCommand.ts b/clients/client-worklink/src/commands/ListDomainsCommand.ts index 352bd232224a4..fc502c9d33d9f 100644 --- a/clients/client-worklink/src/commands/ListDomainsCommand.ts +++ b/clients/client-worklink/src/commands/ListDomainsCommand.ts @@ -58,7 +58,7 @@ export interface ListDomainsCommandOutput extends ListDomainsResponse, __Metadat * // DomainName: "STRING_VALUE", // required * // DisplayName: "STRING_VALUE", * // CreatedTime: new Date("TIMESTAMP"), // required - * // DomainStatus: "STRING_VALUE", // required + * // DomainStatus: "PENDING_VALIDATION" || "ASSOCIATING" || "ACTIVE" || "INACTIVE" || "DISASSOCIATING" || "DISASSOCIATED" || "FAILED_TO_ASSOCIATE" || "FAILED_TO_DISASSOCIATE", // required * // }, * // ], * // NextToken: "STRING_VALUE", diff --git a/clients/client-worklink/src/commands/ListFleetsCommand.ts b/clients/client-worklink/src/commands/ListFleetsCommand.ts index fa3e7410825dc..5154bc3704179 100644 --- a/clients/client-worklink/src/commands/ListFleetsCommand.ts +++ b/clients/client-worklink/src/commands/ListFleetsCommand.ts @@ -60,7 +60,7 @@ export interface ListFleetsCommandOutput extends ListFleetsResponse, __MetadataB * // FleetName: "STRING_VALUE", * // DisplayName: "STRING_VALUE", * // CompanyCode: "STRING_VALUE", - * // FleetStatus: "STRING_VALUE", + * // FleetStatus: "CREATING" || "ACTIVE" || "DELETING" || "DELETED" || "FAILED_TO_CREATE" || "FAILED_TO_DELETE", * // Tags: { // TagMap * // "": "STRING_VALUE", * // }, diff --git a/clients/client-worklink/src/commands/ListWebsiteAuthorizationProvidersCommand.ts b/clients/client-worklink/src/commands/ListWebsiteAuthorizationProvidersCommand.ts index 242bd18187b84..0f90566a0a859 100644 --- a/clients/client-worklink/src/commands/ListWebsiteAuthorizationProvidersCommand.ts +++ b/clients/client-worklink/src/commands/ListWebsiteAuthorizationProvidersCommand.ts @@ -64,7 +64,7 @@ export interface ListWebsiteAuthorizationProvidersCommandOutput * // WebsiteAuthorizationProviders: [ // WebsiteAuthorizationProvidersSummaryList * // { // WebsiteAuthorizationProviderSummary * // AuthorizationProviderId: "STRING_VALUE", - * // AuthorizationProviderType: "STRING_VALUE", // required + * // AuthorizationProviderType: "SAML", // required * // DomainName: "STRING_VALUE", * // CreatedTime: new Date("TIMESTAMP"), * // }, diff --git a/clients/client-worklink/src/commands/UpdateIdentityProviderConfigurationCommand.ts b/clients/client-worklink/src/commands/UpdateIdentityProviderConfigurationCommand.ts index 384591cff51ae..7978613549f75 100644 --- a/clients/client-worklink/src/commands/UpdateIdentityProviderConfigurationCommand.ts +++ b/clients/client-worklink/src/commands/UpdateIdentityProviderConfigurationCommand.ts @@ -55,7 +55,7 @@ export interface UpdateIdentityProviderConfigurationCommandOutput * const client = new WorkLinkClient(config); * const input = { // UpdateIdentityProviderConfigurationRequest * FleetArn: "STRING_VALUE", // required - * IdentityProviderType: "STRING_VALUE", // required + * IdentityProviderType: "SAML", // required * IdentityProviderSamlMetadata: "STRING_VALUE", * }; * const command = new UpdateIdentityProviderConfigurationCommand(input); diff --git a/clients/client-worklink/src/endpoint/ruleset.ts b/clients/client-worklink/src/endpoint/ruleset.ts index 79ff2a622cca0..2a1696979a6f8 100644 --- a/clients/client-worklink/src/endpoint/ruleset.ts +++ b/clients/client-worklink/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/worklink.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://worklink-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://worklink-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://worklink.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://worklink.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://worklink-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://worklink-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://worklink.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://worklink.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-workmail/src/endpoint/ruleset.ts b/clients/client-workmail/src/endpoint/ruleset.ts index 9db4992f500c1..a0ecf2cb7f10c 100644 --- a/clients/client-workmail/src/endpoint/ruleset.ts +++ b/clients/client-workmail/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/workmail.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://workmail-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://workmail-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://workmail.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://workmail.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://workmail-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://workmail-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://workmail.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://workmail.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-workmailmessageflow/src/commands/PutRawMessageContentCommand.ts b/clients/client-workmailmessageflow/src/commands/PutRawMessageContentCommand.ts index 5a6e6c4a4f8a6..897d7c1650239 100644 --- a/clients/client-workmailmessageflow/src/commands/PutRawMessageContentCommand.ts +++ b/clients/client-workmailmessageflow/src/commands/PutRawMessageContentCommand.ts @@ -44,8 +44,6 @@ export interface PutRawMessageContentCommandOutput extends PutRawMessageContentR *

                                                                                                                                                                                                                                                                                                                                                                                                                    This example describes how to update in-transit email message. For more information and examples for using this API, see * * Updating message content with AWS Lambda.

                                                                                                                                                                                                                                                                                                                                                                                                                    - * - * * *

                                                                                                                                                                                                                                                                                                                                                                                                                    Updates to an in-transit message only appear when you call PutRawMessageContent from an AWS Lambda function * configured with a synchronous diff --git a/clients/client-workmailmessageflow/src/endpoint/ruleset.ts b/clients/client-workmailmessageflow/src/endpoint/ruleset.ts index 2c518d2fce3ba..e3dbe608b14b1 100644 --- a/clients/client-workmailmessageflow/src/endpoint/ruleset.ts +++ b/clients/client-workmailmessageflow/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/workmailmessageflow.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://workmailmessageflow-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{endpoint:{url:"https://workmailmessageflow-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://workmailmessageflow.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://workmailmessageflow.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://workmailmessageflow-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://workmailmessageflow-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://workmailmessageflow.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://workmailmessageflow.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-workspaces/src/endpoint/ruleset.ts b/clients/client-workspaces/src/endpoint/ruleset.ts index e324fa3d91c39..c60c114c6271e 100644 --- a/clients/client-workspaces/src/endpoint/ruleset.ts +++ b/clients/client-workspaces/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://workspaces-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://workspaces-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://workspaces.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://workspaces.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://workspaces-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://workspaces-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://workspaces.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://workspaces.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-xray/src/endpoint/ruleset.ts b/clients/client-xray/src/endpoint/ruleset.ts index 939dfd01c9ab1..04952f4677560 100644 --- a/clients/client-xray/src/endpoint/ruleset.ts +++ b/clients/client-xray/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://xray-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://xray-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://xray.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://xray.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://xray-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://xray-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://xray.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://xray.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/codegen/sdk-codegen/aws-models/accessanalyzer.json b/codegen/sdk-codegen/aws-models/accessanalyzer.json index e2dbe449b9ea1..bbefb348e6e1e 100644 --- a/codegen/sdk-codegen/aws-models/accessanalyzer.json +++ b/codegen/sdk-codegen/aws-models/accessanalyzer.json @@ -3840,7 +3840,9 @@ "items": "findings" }, "smithy.api#readonly": {}, - "smithy.api#suppress": ["HttpMethodSemantics"] + "smithy.api#suppress": [ + "HttpMethodSemantics" + ] } }, "com.amazonaws.accessanalyzer#ListAccessPreviewFindingsRequest": { @@ -4018,7 +4020,9 @@ "items": "analyzedResources" }, "smithy.api#readonly": {}, - "smithy.api#suppress": ["HttpMethodSemantics"] + "smithy.api#suppress": [ + "HttpMethodSemantics" + ] } }, "com.amazonaws.accessanalyzer#ListAnalyzedResourcesRequest": { @@ -4282,7 +4286,9 @@ "items": "findings" }, "smithy.api#readonly": {}, - "smithy.api#suppress": ["HttpMethodSemantics"] + "smithy.api#suppress": [ + "HttpMethodSemantics" + ] } }, "com.amazonaws.accessanalyzer#ListFindingsRequest": { @@ -5906,7 +5912,9 @@ "items": "findings" }, "smithy.api#readonly": {}, - "smithy.api#suppress": ["HttpMethodSemantics"] + "smithy.api#suppress": [ + "HttpMethodSemantics" + ] } }, "com.amazonaws.accessanalyzer#ValidatePolicyFinding": { @@ -6185,4 +6193,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/account.json b/codegen/sdk-codegen/aws-models/account.json index b0783d857a828..75db6ae1e1cbd 100644 --- a/codegen/sdk-codegen/aws-models/account.json +++ b/codegen/sdk-codegen/aws-models/account.json @@ -48,7 +48,9 @@ "outputToken": "NextToken", "pageSize": "MaxResults" }, - "smithy.api#suppress": ["EventSource"], + "smithy.api#suppress": [ + "EventSource" + ], "smithy.api#title": "AWS Account", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -1326,7 +1328,9 @@ "code": 200 }, "smithy.api#readonly": {}, - "smithy.api#suppress": ["HttpMethodSemantics"] + "smithy.api#suppress": [ + "HttpMethodSemantics" + ] } }, "com.amazonaws.account#GetAlternateContactRequest": { @@ -1397,7 +1401,9 @@ "code": 200 }, "smithy.api#readonly": {}, - "smithy.api#suppress": ["HttpMethodSemantics"] + "smithy.api#suppress": [ + "HttpMethodSemantics" + ] } }, "com.amazonaws.account#GetContactInformationRequest": { @@ -1458,7 +1464,9 @@ "code": 200 }, "smithy.api#readonly": {}, - "smithy.api#suppress": ["HttpMethodSemantics"] + "smithy.api#suppress": [ + "HttpMethodSemantics" + ] } }, "com.amazonaws.account#GetRegionOptStatusRequest": { @@ -1555,7 +1563,9 @@ "items": "Regions" }, "smithy.api#readonly": {}, - "smithy.api#suppress": ["HttpMethodSemantics"] + "smithy.api#suppress": [ + "HttpMethodSemantics" + ] } }, "com.amazonaws.account#ListRegionsRequest": { @@ -2016,4 +2026,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/acm-pca.json b/codegen/sdk-codegen/aws-models/acm-pca.json index 3ef4a29dea692..3147126ababb1 100644 --- a/codegen/sdk-codegen/aws-models/acm-pca.json +++ b/codegen/sdk-codegen/aws-models/acm-pca.json @@ -4642,4 +4642,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/acm.json b/codegen/sdk-codegen/aws-models/acm.json index 90bba96c0b01f..577366ff78db1 100644 --- a/codegen/sdk-codegen/aws-models/acm.json +++ b/codegen/sdk-codegen/aws-models/acm.json @@ -3632,4 +3632,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/alexa-for-business.json b/codegen/sdk-codegen/aws-models/alexa-for-business.json index 1c74e86ea55c9..a88488fc8cd1b 100644 --- a/codegen/sdk-codegen/aws-models/alexa-for-business.json +++ b/codegen/sdk-codegen/aws-models/alexa-for-business.json @@ -10758,4 +10758,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/amp.json b/codegen/sdk-codegen/aws-models/amp.json index 4f1683d603ea2..aa883c0db9552 100644 --- a/codegen/sdk-codegen/aws-models/amp.json +++ b/codegen/sdk-codegen/aws-models/amp.json @@ -3562,4 +3562,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/amplify.json b/codegen/sdk-codegen/aws-models/amplify.json index e622772787f4f..0ab1ed84143af 100644 --- a/codegen/sdk-codegen/aws-models/amplify.json +++ b/codegen/sdk-codegen/aws-models/amplify.json @@ -6462,4 +6462,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/amplifybackend.json b/codegen/sdk-codegen/aws-models/amplifybackend.json index 7f94fedac1abc..316169037764d 100644 --- a/codegen/sdk-codegen/aws-models/amplifybackend.json +++ b/codegen/sdk-codegen/aws-models/amplifybackend.json @@ -5968,4 +5968,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/amplifyuibuilder.json b/codegen/sdk-codegen/aws-models/amplifyuibuilder.json index 494be37b3433f..5d41ce4e3a051 100644 --- a/codegen/sdk-codegen/aws-models/amplifyuibuilder.json +++ b/codegen/sdk-codegen/aws-models/amplifyuibuilder.json @@ -121,7 +121,12 @@ "externalDocumentation": "${DocHomeURL}IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys" } }, - "aws.iam#supportedPrincipalTypes": ["Root", "IAMUser", "IAMRole", "FederatedUser"], + "aws.iam#supportedPrincipalTypes": [ + "Root", + "IAMUser", + "IAMRole", + "FederatedUser" + ], "aws.protocols#restJson1": {}, "smithy.api#cors": {}, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amplify UI Builder API provides a programmatic interface for creating\n and configuring user interface (UI) component libraries and themes for use in your Amplify applications. You can then connect these UI components to an application's\n backend Amazon Web Services resources.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    You can also use the Amplify Studio visual designer to create UI components\n and model data for an app. For more information, see Introduction in the\n Amplify Docs.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and\n documentation for client app development. For more information, see the Amplify Framework. For more information about\n deploying an Amplify application to Amazon Web Services, see the Amplify User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", @@ -1561,9 +1566,13 @@ }, "aws.cloudformation#cfnResource": { "name": "CodegenJob", - "additionalSchemas": ["com.amazonaws.amplifyuibuilder#CodegenJob"] + "additionalSchemas": [ + "com.amazonaws.amplifyuibuilder#CodegenJob" + ] }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"] + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ] } }, "com.amazonaws.amplifyuibuilder#CodegenJobStatus": { @@ -2253,9 +2262,13 @@ }, "aws.cloudformation#cfnResource": { "name": "Component", - "additionalSchemas": ["com.amazonaws.amplifyuibuilder#Component"] + "additionalSchemas": [ + "com.amazonaws.amplifyuibuilder#Component" + ] }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"] + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ] } }, "com.amazonaws.amplifyuibuilder#ComponentSummary": { @@ -2374,8 +2387,13 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], - "aws.iam#requiredActions": ["amplify:GetApp"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], + "aws.iam#requiredActions": [ + "amplify:GetApp" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Creates a new component for an Amplify app.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/app/{appId}/environment/{environmentName}/components", @@ -2544,8 +2562,13 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], - "aws.iam#requiredActions": ["amplify:GetApp"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], + "aws.iam#requiredActions": [ + "amplify:GetApp" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Creates a new form for an Amplify app.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/app/{appId}/environment/{environmentName}/forms", @@ -2703,8 +2726,13 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], - "aws.iam#requiredActions": ["amplify:GetApp"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], + "aws.iam#requiredActions": [ + "amplify:GetApp" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Creates a theme to apply to the components in an Amplify app.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/app/{appId}/environment/{environmentName}/themes", @@ -2825,7 +2853,9 @@ } ], "traits": { - "aws.iam#requiredActions": ["amplify:GetApp"], + "aws.iam#requiredActions": [ + "amplify:GetApp" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Deletes a component from an Amplify app.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/app/{appId}/environment/{environmentName}/components/{id}", @@ -2883,7 +2913,9 @@ } ], "traits": { - "aws.iam#requiredActions": ["amplify:GetApp"], + "aws.iam#requiredActions": [ + "amplify:GetApp" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Deletes a form from an Amplify app.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/app/{appId}/environment/{environmentName}/forms/{id}", @@ -2941,7 +2973,9 @@ } ], "traits": { - "aws.iam#requiredActions": ["amplify:GetApp"], + "aws.iam#requiredActions": [ + "amplify:GetApp" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Deletes a theme from an Amplify app.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/app/{appId}/environment/{environmentName}/themes/{id}", @@ -3994,9 +4028,13 @@ }, "aws.cloudformation#cfnResource": { "name": "Form", - "additionalSchemas": ["com.amazonaws.amplifyuibuilder#Form"] + "additionalSchemas": [ + "com.amazonaws.amplifyuibuilder#Form" + ] }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"] + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ] } }, "com.amazonaws.amplifyuibuilder#FormStyle": { @@ -4147,7 +4185,9 @@ } ], "traits": { - "aws.iam#requiredActions": ["amplify:GetApp"], + "aws.iam#requiredActions": [ + "amplify:GetApp" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Returns an existing code generation job.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/app/{appId}/environment/{environmentName}/codegen-jobs/{id}", @@ -4224,7 +4264,9 @@ } ], "traits": { - "aws.iam#requiredActions": ["amplify:GetApp"], + "aws.iam#requiredActions": [ + "amplify:GetApp" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Returns an existing component for an Amplify app.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/app/{appId}/environment/{environmentName}/components/{id}", @@ -4295,7 +4337,9 @@ } ], "traits": { - "aws.iam#requiredActions": ["amplify:GetApp"], + "aws.iam#requiredActions": [ + "amplify:GetApp" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Returns an existing form for an Amplify app.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/app/{appId}/environment/{environmentName}/forms/{id}", @@ -4424,7 +4468,9 @@ } ], "traits": { - "aws.iam#requiredActions": ["amplify:GetApp"], + "aws.iam#requiredActions": [ + "amplify:GetApp" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Returns an existing theme for an Amplify app.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/app/{appId}/environment/{environmentName}/themes/{id}", @@ -4646,7 +4692,9 @@ } ], "traits": { - "aws.iam#requiredActions": ["amplify:GetApp"], + "aws.iam#requiredActions": [ + "amplify:GetApp" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Retrieves a list of code generation jobs for a specified Amplify app and backend environment.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/app/{appId}/environment/{environmentName}/codegen-jobs", @@ -4747,7 +4795,9 @@ } ], "traits": { - "aws.iam#requiredActions": ["amplify:GetApp"], + "aws.iam#requiredActions": [ + "amplify:GetApp" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Retrieves a list of components for a specified Amplify app and backend\n environment.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/app/{appId}/environment/{environmentName}/components", @@ -4843,7 +4893,9 @@ } ], "traits": { - "aws.iam#requiredActions": ["amplify:GetApp"], + "aws.iam#requiredActions": [ + "amplify:GetApp" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Retrieves a list of forms for a specified Amplify app and backend environment.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/app/{appId}/environment/{environmentName}/forms", @@ -4939,7 +4991,9 @@ } ], "traits": { - "aws.iam#requiredActions": ["amplify:GetApp"], + "aws.iam#requiredActions": [ + "amplify:GetApp" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Retrieves a list of themes for a specified Amplify app and backend\n environment.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/app/{appId}/environment/{environmentName}/themes", @@ -5486,7 +5540,9 @@ } ], "traits": { - "aws.iam#requiredActions": ["amplify:GetApp"], + "aws.iam#requiredActions": [ + "amplify:GetApp" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Starts a code generation job for a specified Amplify app and backend environment.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/app/{appId}/environment/{environmentName}/codegen-jobs", @@ -5775,9 +5831,13 @@ }, "aws.cloudformation#cfnResource": { "name": "Theme", - "additionalSchemas": ["com.amazonaws.amplifyuibuilder#Theme"] + "additionalSchemas": [ + "com.amazonaws.amplifyuibuilder#Theme" + ] }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"] + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ] } }, "com.amazonaws.amplifyuibuilder#ThemeSummary": { @@ -5926,7 +5986,9 @@ } ], "traits": { - "aws.iam#requiredActions": ["amplify:GetApp"], + "aws.iam#requiredActions": [ + "amplify:GetApp" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Updates an existing component.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/app/{appId}/environment/{environmentName}/components/{id}", @@ -6094,7 +6156,9 @@ } ], "traits": { - "aws.iam#requiredActions": ["amplify:GetApp"], + "aws.iam#requiredActions": [ + "amplify:GetApp" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Updates an existing form.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/app/{appId}/environment/{environmentName}/forms/{id}", @@ -6244,7 +6308,9 @@ } ], "traits": { - "aws.iam#requiredActions": ["amplify:GetApp"], + "aws.iam#requiredActions": [ + "amplify:GetApp" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Updates an existing theme.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/app/{appId}/environment/{environmentName}/themes/{id}", @@ -6403,4 +6469,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/api-gateway.json b/codegen/sdk-codegen/aws-models/api-gateway.json index 7f4b3019f3045..a63b62d2de24b 100644 --- a/codegen/sdk-codegen/aws-models/api-gateway.json +++ b/codegen/sdk-codegen/aws-models/api-gateway.json @@ -12957,4 +12957,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/apigatewaymanagementapi.json b/codegen/sdk-codegen/aws-models/apigatewaymanagementapi.json index 09b0d914f8f47..8f4a6b9e06c54 100644 --- a/codegen/sdk-codegen/aws-models/apigatewaymanagementapi.json +++ b/codegen/sdk-codegen/aws-models/apigatewaymanagementapi.json @@ -940,4 +940,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/apigatewayv2.json b/codegen/sdk-codegen/aws-models/apigatewayv2.json index af4d4330a6c2e..b31a379634331 100644 --- a/codegen/sdk-codegen/aws-models/apigatewayv2.json +++ b/codegen/sdk-codegen/aws-models/apigatewayv2.json @@ -11392,4 +11392,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/app-mesh.json b/codegen/sdk-codegen/aws-models/app-mesh.json index 75106e3a69d74..cc9a69c8e7f63 100644 --- a/codegen/sdk-codegen/aws-models/app-mesh.json +++ b/codegen/sdk-codegen/aws-models/app-mesh.json @@ -1618,7 +1618,9 @@ "target": "com.amazonaws.appmesh#TagList", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Optional metadata that you can apply to the service mesh to assist with categorization\n and organization. Each tag consists of a key and an optional value, both of which you\n define. Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["not-preview"] + "smithy.api#tags": [ + "not-preview" + ] } }, "clientToken": { @@ -1730,7 +1732,9 @@ "target": "com.amazonaws.appmesh#TagList", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Optional metadata that you can apply to the route to assist with categorization and\n organization. Each tag consists of a key and an optional value, both of which you define.\n Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["not-preview"] + "smithy.api#tags": [ + "not-preview" + ] } }, "clientToken": { @@ -1945,7 +1949,9 @@ "target": "com.amazonaws.appmesh#TagList", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Optional metadata that you can apply to the virtual node to assist with categorization\n and organization. Each tag consists of a key and an optional value, both of which you\n define. Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["not-preview"] + "smithy.api#tags": [ + "not-preview" + ] } }, "clientToken": { @@ -2056,7 +2062,9 @@ "target": "com.amazonaws.appmesh#TagList", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Optional metadata that you can apply to the virtual router to assist with categorization\n and organization. Each tag consists of a key and an optional value, both of which you\n define. Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["not-preview"] + "smithy.api#tags": [ + "not-preview" + ] } }, "clientToken": { @@ -2167,7 +2175,9 @@ "target": "com.amazonaws.appmesh#TagList", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Optional metadata that you can apply to the virtual service to assist with\n categorization and organization. Each tag consists of a key and an optional value, both of\n which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["not-preview"] + "smithy.api#tags": [ + "not-preview" + ] } }, "clientToken": { @@ -5470,7 +5480,9 @@ "pageSize": "limit" }, "smithy.api#readonly": {}, - "smithy.api#tags": ["not-preview"] + "smithy.api#tags": [ + "not-preview" + ] } }, "com.amazonaws.appmesh#ListTagsForResourceInput": { @@ -7208,7 +7220,9 @@ "code": 200 }, "smithy.api#idempotent": {}, - "smithy.api#tags": ["not-preview"] + "smithy.api#tags": [ + "not-preview" + ] } }, "com.amazonaws.appmesh#TagResourceInput": { @@ -7518,7 +7532,9 @@ "code": 200 }, "smithy.api#idempotent": {}, - "smithy.api#tags": ["not-preview"] + "smithy.api#tags": [ + "not-preview" + ] } }, "com.amazonaws.appmesh#UntagResourceInput": { @@ -10000,4 +10016,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/appconfig.json b/codegen/sdk-codegen/aws-models/appconfig.json index 5eadf58a8b09e..e3d346bf3ccd7 100644 --- a/codegen/sdk-codegen/aws-models/appconfig.json +++ b/codegen/sdk-codegen/aws-models/appconfig.json @@ -5579,7 +5579,9 @@ "documentation": "The following untag-resource example removes the group1 tag from the specified application.", "input": { "ResourceArn": "arn:aws:appconfig:us-east-1:111122223333:application/339ohji", - "TagKeys": ["group1"] + "TagKeys": [ + "group1" + ] } } ], @@ -6250,4 +6252,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/appconfigdata.json b/codegen/sdk-codegen/aws-models/appconfigdata.json index 450f87f31c9ea..60baa140a9da1 100644 --- a/codegen/sdk-codegen/aws-models/appconfigdata.json +++ b/codegen/sdk-codegen/aws-models/appconfigdata.json @@ -1363,4 +1363,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/appfabric.json b/codegen/sdk-codegen/aws-models/appfabric.json index 15054a06e7bbb..8ab685374d53d 100644 --- a/codegen/sdk-codegen/aws-models/appfabric.json +++ b/codegen/sdk-codegen/aws-models/appfabric.json @@ -4188,4 +4188,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/appflow.json b/codegen/sdk-codegen/aws-models/appflow.json index 5cc3ac5cd89f7..2bad244bf6572 100644 --- a/codegen/sdk-codegen/aws-models/appflow.json +++ b/codegen/sdk-codegen/aws-models/appflow.json @@ -11688,4 +11688,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/appintegrations.json b/codegen/sdk-codegen/aws-models/appintegrations.json index fdc1b2d7ee624..2dc2b75f5a061 100644 --- a/codegen/sdk-codegen/aws-models/appintegrations.json +++ b/codegen/sdk-codegen/aws-models/appintegrations.json @@ -2684,4 +2684,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/application-auto-scaling.json b/codegen/sdk-codegen/aws-models/application-auto-scaling.json index d64c971335d56..c090e85b170a2 100644 --- a/codegen/sdk-codegen/aws-models/application-auto-scaling.json +++ b/codegen/sdk-codegen/aws-models/application-auto-scaling.json @@ -4004,7 +4004,9 @@ "documentation": "This example removes the tag pair with the key name \"environment\" from the scalable target specified by its ARN.", "input": { "ResourceARN": "arn:aws:application-autoscaling:us-west-2:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123", - "TagKeys": ["environment"] + "TagKeys": [ + "environment" + ] }, "output": {} } @@ -4064,4 +4066,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/application-discovery-service.json b/codegen/sdk-codegen/aws-models/application-discovery-service.json index 1944cf130336a..4a420d9e47dce 100644 --- a/codegen/sdk-codegen/aws-models/application-discovery-service.json +++ b/codegen/sdk-codegen/aws-models/application-discovery-service.json @@ -4548,4 +4548,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/application-insights.json b/codegen/sdk-codegen/aws-models/application-insights.json index f8f54f171026a..ea4d973a2cb11 100644 --- a/codegen/sdk-codegen/aws-models/application-insights.json +++ b/codegen/sdk-codegen/aws-models/application-insights.json @@ -5249,4 +5249,4 @@ "type": "integer" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/applicationcostprofiler.json b/codegen/sdk-codegen/aws-models/applicationcostprofiler.json index ffad9e8784bab..e96f3a2d5bd57 100644 --- a/codegen/sdk-codegen/aws-models/applicationcostprofiler.json +++ b/codegen/sdk-codegen/aws-models/applicationcostprofiler.json @@ -1508,4 +1508,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/apprunner.json b/codegen/sdk-codegen/aws-models/apprunner.json index 391623b147f02..d73aa1b7ea151 100644 --- a/codegen/sdk-codegen/aws-models/apprunner.json +++ b/codegen/sdk-codegen/aws-models/apprunner.json @@ -5446,4 +5446,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/appstream.json b/codegen/sdk-codegen/aws-models/appstream.json index a69313c4eb881..1d12458488fea 100644 --- a/codegen/sdk-codegen/aws-models/appstream.json +++ b/codegen/sdk-codegen/aws-models/appstream.json @@ -10113,4 +10113,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/appsync.json b/codegen/sdk-codegen/aws-models/appsync.json index f499f7d1f0167..e8d23990ae717 100644 --- a/codegen/sdk-codegen/aws-models/appsync.json +++ b/codegen/sdk-codegen/aws-models/appsync.json @@ -8465,4 +8465,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/arc-zonal-shift.json b/codegen/sdk-codegen/aws-models/arc-zonal-shift.json index 3c1271cb82bea..d78993b071872 100644 --- a/codegen/sdk-codegen/aws-models/arc-zonal-shift.json +++ b/codegen/sdk-codegen/aws-models/arc-zonal-shift.json @@ -1742,4 +1742,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/athena.json b/codegen/sdk-codegen/aws-models/athena.json index 801e6b244d96e..6283cccddb8d8 100644 --- a/codegen/sdk-codegen/aws-models/athena.json +++ b/codegen/sdk-codegen/aws-models/athena.json @@ -8815,4 +8815,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/auditmanager.json b/codegen/sdk-codegen/aws-models/auditmanager.json index 6b5825de971a4..4f6b1ee162007 100644 --- a/codegen/sdk-codegen/aws-models/auditmanager.json +++ b/codegen/sdk-codegen/aws-models/auditmanager.json @@ -9665,4 +9665,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/auto-scaling-plans.json b/codegen/sdk-codegen/aws-models/auto-scaling-plans.json index 8f74d3f7dc2d6..77fb424faaaf9 100644 --- a/codegen/sdk-codegen/aws-models/auto-scaling-plans.json +++ b/codegen/sdk-codegen/aws-models/auto-scaling-plans.json @@ -2652,4 +2652,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/auto-scaling.json b/codegen/sdk-codegen/aws-models/auto-scaling.json index 60f730f5ac3d9..ba5d5e912a2fb 100644 --- a/codegen/sdk-codegen/aws-models/auto-scaling.json +++ b/codegen/sdk-codegen/aws-models/auto-scaling.json @@ -474,7 +474,9 @@ "title": "To attach an instance to an Auto Scaling group", "documentation": "This example attaches the specified instance to the specified Auto Scaling group.", "input": { - "InstanceIds": ["i-93633f9b"], + "InstanceIds": [ + "i-93633f9b" + ], "AutoScalingGroupName": "my-auto-scaling-group" } } @@ -578,7 +580,9 @@ "documentation": "This example attaches the specified load balancer to the specified Auto Scaling group.", "input": { "AutoScalingGroupName": "my-auto-scaling-group", - "LoadBalancerNames": ["my-load-balancer"] + "LoadBalancerNames": [ + "my-load-balancer" + ] } } ] @@ -2961,7 +2965,9 @@ "input": { "LaunchConfigurationName": "my-launch-config", "ImageId": "ami-12345678", - "SecurityGroups": ["sg-eb2af88e"], + "SecurityGroups": [ + "sg-eb2af88e" + ], "InstanceType": "m3.medium", "IamInstanceProfile": "my-iam-role" } @@ -3691,7 +3697,9 @@ "title": "To describe an Auto Scaling group", "documentation": "This example describes the specified Auto Scaling group.", "input": { - "AutoScalingGroupNames": ["my-auto-scaling-group"] + "AutoScalingGroupNames": [ + "my-auto-scaling-group" + ] }, "output": { "AutoScalingGroups": [ @@ -3703,7 +3711,11 @@ "MaxSize": 5, "DesiredCapacity": 2, "DefaultCooldown": 300, - "AvailabilityZones": ["us-west-2a", "us-west-2b", "us-west-2c"], + "AvailabilityZones": [ + "us-west-2a", + "us-west-2b", + "us-west-2c" + ], "LoadBalancerNames": [], "TargetGroupARNs": [], "HealthCheckType": "EC2", @@ -3733,7 +3745,9 @@ "VPCZoneIdentifier": "subnet-5ea0c127,subnet-6194ea3b,subnet-c934b782", "EnabledMetrics": [], "Tags": [], - "TerminationPolicies": ["Default"], + "TerminationPolicies": [ + "Default" + ], "NewInstancesProtectedFromScaleIn": false, "ServiceLinkedRoleARN": "arn:aws:iam::123456789012:role/aws-service-role/autoscaling.amazonaws.com/AWSServiceRoleForAutoScaling", "TrafficSources": [] @@ -3850,7 +3864,9 @@ "title": "To describe one or more Auto Scaling instances", "documentation": "This example describes the specified Auto Scaling instance.", "input": { - "InstanceIds": ["i-05b4f7d5be44822a6"] + "InstanceIds": [ + "i-05b4f7d5be44822a6" + ] }, "output": { "AutoScalingInstances": [ @@ -4032,7 +4048,9 @@ "title": "To describe Auto Scaling launch configurations", "documentation": "This example describes the specified launch configuration.", "input": { - "LaunchConfigurationNames": ["my-launch-config"] + "LaunchConfigurationNames": [ + "my-launch-config" + ] }, "output": { "LaunchConfigurations": [ @@ -4045,7 +4063,9 @@ "ImageId": "ami-043a5034", "CreatedTime": "2014-05-07T17:39:28.599Z", "BlockDeviceMappings": [], - "SecurityGroups": ["sg-67ef0308"], + "SecurityGroups": [ + "sg-67ef0308" + ], "LaunchConfigurationName": "my-launch-config", "InstanceType": "t1.micro", "AssociatePublicIpAddress": true @@ -4082,7 +4102,10 @@ "title": "To describe the available types of lifecycle hooks", "documentation": "This example describes the available lifecycle hook types.", "output": { - "LifecycleHookTypes": ["autoscaling:EC2_INSTANCE_LAUNCHING", "autoscaling:EC2_INSTANCE_TERMINATING"] + "LifecycleHookTypes": [ + "autoscaling:EC2_INSTANCE_LAUNCHING", + "autoscaling:EC2_INSTANCE_TERMINATING" + ] } } ] @@ -4432,7 +4455,9 @@ "title": "To describe Auto Scaling notification configurations", "documentation": "This example describes the notification configurations for the specified Auto Scaling group.", "input": { - "AutoScalingGroupNames": ["my-auto-scaling-group"] + "AutoScalingGroupNames": [ + "my-auto-scaling-group" + ] }, "output": { "NotificationConfigurations": [ @@ -4847,7 +4872,9 @@ "input": { "Filters": [ { - "Values": ["my-auto-scaling-group"], + "Values": [ + "my-auto-scaling-group" + ], "Name": "auto-scaling-group" } ] @@ -5159,7 +5186,9 @@ "title": "To detach an instance from an Auto Scaling group", "documentation": "This example detaches the specified instance from the specified Auto Scaling group.", "input": { - "InstanceIds": ["i-93633f9b"], + "InstanceIds": [ + "i-93633f9b" + ], "AutoScalingGroupName": "my-auto-scaling-group", "ShouldDecrementDesiredCapacity": true }, @@ -5290,7 +5319,9 @@ "documentation": "This example detaches the specified load balancer from the specified Auto Scaling group.", "input": { "AutoScalingGroupName": "my-auto-scaling-group", - "LoadBalancerNames": ["my-load-balancer"] + "LoadBalancerNames": [ + "my-load-balancer" + ] } } ] @@ -5395,7 +5426,9 @@ "documentation": "This example disables collecting data for the GroupDesiredCapacity metric for the specified Auto Scaling group.", "input": { "AutoScalingGroupName": "my-auto-scaling-group", - "Metrics": ["GroupDesiredCapacity"] + "Metrics": [ + "GroupDesiredCapacity" + ] } } ] @@ -5573,7 +5606,9 @@ "title": "To move instances into standby mode", "documentation": "This example puts the specified instance into standby mode.", "input": { - "InstanceIds": ["i-93633f9b"], + "InstanceIds": [ + "i-93633f9b" + ], "AutoScalingGroupName": "my-auto-scaling-group", "ShouldDecrementDesiredCapacity": true }, @@ -5744,7 +5779,9 @@ "title": "To move instances out of standby mode", "documentation": "This example moves the specified instance out of standby mode.", "input": { - "InstanceIds": ["i-93633f9b"], + "InstanceIds": [ + "i-93633f9b" + ], "AutoScalingGroupName": "my-auto-scaling-group" }, "output": { @@ -8450,7 +8487,9 @@ "input": { "AutoScalingGroupName": "my-auto-scaling-group", "TopicARN": "arn:aws:sns:us-west-2:123456789012:my-sns-topic", - "NotificationTypes": ["autoscaling:TEST_NOTIFICATION"] + "NotificationTypes": [ + "autoscaling:TEST_NOTIFICATION" + ] } } ] @@ -9024,7 +9063,9 @@ "documentation": "This example resumes the specified suspended scaling process for the specified Auto Scaling group.", "input": { "AutoScalingGroupName": "my-auto-scaling-group", - "ScalingProcesses": ["AlarmNotification"] + "ScalingProcesses": [ + "AlarmNotification" + ] } } ] @@ -9700,7 +9741,9 @@ "title": "To enable instance protection for an instance", "documentation": "This example enables instance protection for the specified instance.", "input": { - "InstanceIds": ["i-93633f9b"], + "InstanceIds": [ + "i-93633f9b" + ], "AutoScalingGroupName": "my-auto-scaling-group", "ProtectedFromScaleIn": true } @@ -9818,7 +9861,9 @@ "Preferences": { "AutoRollback": true, "AlarmSpecification": { - "Alarms": ["my-alarm"] + "Alarms": [ + "my-alarm" + ] }, "InstanceWarmup": 200, "MinHealthyPercentage": 90 @@ -9929,7 +9974,9 @@ "documentation": "This example suspends the specified scaling process for the specified Auto Scaling group.", "input": { "AutoScalingGroupName": "my-auto-scaling-group", - "ScalingProcesses": ["AlarmNotification"] + "ScalingProcesses": [ + "AlarmNotification" + ] } } ] @@ -10743,4 +10790,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/backup-gateway.json b/codegen/sdk-codegen/aws-models/backup-gateway.json index 7bb11fda8dac6..15d596a2a03b2 100644 --- a/codegen/sdk-codegen/aws-models/backup-gateway.json +++ b/codegen/sdk-codegen/aws-models/backup-gateway.json @@ -3308,4 +3308,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/backup.json b/codegen/sdk-codegen/aws-models/backup.json index c357124df7baf..05890ee353764 100644 --- a/codegen/sdk-codegen/aws-models/backup.json +++ b/codegen/sdk-codegen/aws-models/backup.json @@ -10381,4 +10381,4 @@ "type": "timestamp" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/backupstorage.json b/codegen/sdk-codegen/aws-models/backupstorage.json index af446a51640e8..a63445b1a997d 100644 --- a/codegen/sdk-codegen/aws-models/backupstorage.json +++ b/codegen/sdk-codegen/aws-models/backupstorage.json @@ -1458,7 +1458,9 @@ ], "traits": { "aws.auth#unsignedPayload": {}, - "smithy.api#auth": ["aws.auth#sigv4"], + "smithy.api#auth": [ + "aws.auth#sigv4" + ], "smithy.api#documentation": "Complete upload", "smithy.api#http": { "method": "PUT", @@ -1617,7 +1619,9 @@ ], "traits": { "aws.auth#unsignedPayload": {}, - "smithy.api#auth": ["aws.auth#sigv4"], + "smithy.api#auth": [ + "aws.auth#sigv4" + ], "smithy.api#documentation": "Upload chunk.", "smithy.api#http": { "method": "PUT", @@ -1750,7 +1754,9 @@ ], "traits": { "aws.auth#unsignedPayload": {}, - "smithy.api#auth": ["aws.auth#sigv4"], + "smithy.api#auth": [ + "aws.auth#sigv4" + ], "smithy.api#documentation": "Upload object that can store object metadata String and data blob in single API call using inline chunk field.", "smithy.api#http": { "method": "PUT", @@ -2065,4 +2071,4 @@ "type": "timestamp" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/batch.json b/codegen/sdk-codegen/aws-models/batch.json index 243b8913af258..3b7e6d7812ac4 100644 --- a/codegen/sdk-codegen/aws-models/batch.json +++ b/codegen/sdk-codegen/aws-models/batch.json @@ -2350,14 +2350,26 @@ "state": "ENABLED", "type": "MANAGED", "computeResources": { - "subnets": ["subnet-220c0e0a", "subnet-1a95556d", "subnet-978f6dce"], + "subnets": [ + "subnet-220c0e0a", + "subnet-1a95556d", + "subnet-978f6dce" + ], "tags": { "Name": "Batch Instance - C4OnDemand" }, "desiredvCpus": 48, "minvCpus": 0, - "instanceTypes": ["c4.large", "c4.xlarge", "c4.2xlarge", "c4.4xlarge", "c4.8xlarge"], - "securityGroupIds": ["sg-cf5093b2"], + "instanceTypes": [ + "c4.large", + "c4.xlarge", + "c4.2xlarge", + "c4.4xlarge", + "c4.8xlarge" + ], + "securityGroupIds": [ + "sg-cf5093b2" + ], "instanceRole": "ecsInstanceRole", "maxvCpus": 128, "type": "EC2", @@ -2892,7 +2904,9 @@ "title": "To describe a compute environment", "documentation": "This example describes the P2OnDemand compute environment.", "input": { - "computeEnvironments": ["P2OnDemand"] + "computeEnvironments": [ + "P2OnDemand" + ] }, "output": { "computeEnvironments": [ @@ -2909,9 +2923,17 @@ "minvCpus": 0, "maxvCpus": 128, "desiredvCpus": 48, - "instanceTypes": ["p2"], - "subnets": ["subnet-220c0e0a", "subnet-1a95556d", "subnet-978f6dce"], - "securityGroupIds": ["sg-cf5093b2"], + "instanceTypes": [ + "p2" + ], + "subnets": [ + "subnet-220c0e0a", + "subnet-1a95556d", + "subnet-978f6dce" + ], + "securityGroupIds": [ + "sg-cf5093b2" + ], "ec2KeyPair": "id_rsa", "instanceRole": "ecsInstanceRole", "tags": { @@ -3029,7 +3051,10 @@ "value": "1" } ], - "command": ["sleep", "60"], + "command": [ + "sleep", + "60" + ], "volumes": [], "environment": [], "mountPoints": [], @@ -3135,7 +3160,9 @@ "title": "To describe a job queue", "documentation": "This example describes the HighPriority job queue.", "input": { - "jobQueues": ["HighPriority"] + "jobQueues": [ + "HighPriority" + ] }, "output": { "jobQueues": [ @@ -3240,7 +3267,9 @@ "title": "To describe a specific job", "documentation": "This example describes a job with the specified job ID.", "input": { - "jobs": ["24fa2d7a-64c4-49d2-8b47-f8da4fbde8e9"] + "jobs": [ + "24fa2d7a-64c4-49d2-8b47-f8da4fbde8e9" + ] }, "output": { "jobs": [ @@ -3259,7 +3288,10 @@ "image": "busybox", "vcpus": 1, "memory": 128, - "command": ["sleep", "60"], + "command": [ + "sleep", + "60" + ], "volumes": [], "environment": [], "mountPoints": [], @@ -5812,7 +5844,10 @@ "input": { "containerProperties": { "image": "busybox", - "command": ["sleep", "10"], + "command": [ + "sleep", + "10" + ], "resourceRequirements": [ { "type": "MEMORY", @@ -6651,7 +6686,9 @@ "documentation": "This demonstrates calling the UntagResource action.", "input": { "resourceArn": "arn:aws:batch:us-east-1:123456789012:job-definition/sleep30:1", - "tagKeys": ["Stage"] + "tagKeys": [ + "Stage" + ] }, "output": {} } @@ -7007,4 +7044,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/billingconductor.json b/codegen/sdk-codegen/aws-models/billingconductor.json index 7e3e4e650d869..4fa34e543d138 100644 --- a/codegen/sdk-codegen/aws-models/billingconductor.json +++ b/codegen/sdk-codegen/aws-models/billingconductor.json @@ -62,7 +62,9 @@ }, "aws.protocols#restJson1": {}, "smithy.api#cors": { - "additionalAllowedHeaders": ["X-Api-Key"] + "additionalAllowedHeaders": [ + "X-Api-Key" + ] }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Amazon Web Services Billing Conductor is a fully managed service that you can use\n to customize a pro forma version of your billing data each month, to accurately show or chargeback\n your end customers. Amazon Web Services Billing Conductor doesn't change the way\n you're billed by Amazon Web Services each month by design. Instead, it provides you with a\n mechanism to configure, generate, and display rates to certain customers over a given billing\n period. You can also analyze the difference between the rates you apply to your accounting\n groupings relative to your actual rates from Amazon Web Services. As a result of your Amazon Web Services Billing Conductor configuration, the payer account can also see the\n custom rate applied on the billing details page of the Amazon Web Services Billing console, or configure a cost and usage report per\n billing group.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    This documentation shows how you can configure Amazon Web Services Billing Conductor using its\n API. For more information about using the Amazon Web Services\n Billing Conductor user interface, see the Amazon Web Services Billing Conductor User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#title": "AWSBillingConductor", @@ -1322,7 +1324,9 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {}, "smithy.api#documentation": "A billing group is a set of linked account which belong to the same end customer.\nIt can be seen as a virtual consolidated billing family.\n" } @@ -1655,7 +1659,10 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    \n Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation.\n

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -1757,7 +1764,10 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    \n Creates a custom line item that can be used to create a one-time fixed charge that can be applied to a single billing group for the current or previous billing period. The one-time fixed charge is either a fee or discount. \n

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -1887,7 +1897,10 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.\n

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -1976,7 +1989,10 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    \n Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.\n

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -2147,7 +2163,9 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {}, "smithy.api#documentation": "Represents the custom line item\n" } @@ -4290,7 +4308,10 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    \n A list the tags for a resource.\n

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "GET", @@ -4492,7 +4513,9 @@ ], "traits": { "aws.cloudformation#cfnResource": {}, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {}, "smithy.api#documentation": "Pricing Plan enables you to customize your billing\ndetails consistent with the usage that accrues\nin each of your billing groups.\n" } @@ -4620,7 +4643,9 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {}, "smithy.api#documentation": "A markup/discount that is defined for a specific set\nof services that can later be associated with a pricing plan.\n" } @@ -4987,7 +5012,10 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Associates the specified tags to a resource with the specified resourceArn.\n If existing tags on a resource are not specified in the request parameters, they are not\n changed.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -5129,7 +5157,10 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    \n Deletes specified tags from a resource.\n

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "DELETE", @@ -6130,4 +6161,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/braket.json b/codegen/sdk-codegen/aws-models/braket.json index 7163229507a36..8f59f4ba99720 100644 --- a/codegen/sdk-codegen/aws-models/braket.json +++ b/codegen/sdk-codegen/aws-models/braket.json @@ -3331,4 +3331,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/budgets.json b/codegen/sdk-codegen/aws-models/budgets.json index 0c164a30b6052..213c5c86a266d 100644 --- a/codegen/sdk-codegen/aws-models/budgets.json +++ b/codegen/sdk-codegen/aws-models/budgets.json @@ -4451,4 +4451,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/chime-sdk-identity.json b/codegen/sdk-codegen/aws-models/chime-sdk-identity.json index 0af53518d2218..5b492c4b39050 100644 --- a/codegen/sdk-codegen/aws-models/chime-sdk-identity.json +++ b/codegen/sdk-codegen/aws-models/chime-sdk-identity.json @@ -4426,4 +4426,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/chime-sdk-media-pipelines.json b/codegen/sdk-codegen/aws-models/chime-sdk-media-pipelines.json index 47616dbd3dd2b..0a95906cb3ed3 100644 --- a/codegen/sdk-codegen/aws-models/chime-sdk-media-pipelines.json +++ b/codegen/sdk-codegen/aws-models/chime-sdk-media-pipelines.json @@ -6492,4 +6492,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/chime-sdk-meetings.json b/codegen/sdk-codegen/aws-models/chime-sdk-meetings.json index f1f07e978ef0a..fde48d63ae310 100644 --- a/codegen/sdk-codegen/aws-models/chime-sdk-meetings.json +++ b/codegen/sdk-codegen/aws-models/chime-sdk-meetings.json @@ -3573,4 +3573,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/chime-sdk-messaging.json b/codegen/sdk-codegen/aws-models/chime-sdk-messaging.json index b9f0a5f039775..b83c9f33174fe 100644 --- a/codegen/sdk-codegen/aws-models/chime-sdk-messaging.json +++ b/codegen/sdk-codegen/aws-models/chime-sdk-messaging.json @@ -7605,4 +7605,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/chime-sdk-voice.json b/codegen/sdk-codegen/aws-models/chime-sdk-voice.json index 1d1e995ccd161..d13667ee9257a 100644 --- a/codegen/sdk-codegen/aws-models/chime-sdk-voice.json +++ b/codegen/sdk-codegen/aws-models/chime-sdk-voice.json @@ -11258,4 +11258,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/chime.json b/codegen/sdk-codegen/aws-models/chime.json index 5dbb28e04e629..7bd61d3c649d7 100644 --- a/codegen/sdk-codegen/aws-models/chime.json +++ b/codegen/sdk-codegen/aws-models/chime.json @@ -22794,4 +22794,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/cleanrooms.json b/codegen/sdk-codegen/aws-models/cleanrooms.json index 3aa85fd77a2f9..ffe53cbec178d 100644 --- a/codegen/sdk-codegen/aws-models/cleanrooms.json +++ b/codegen/sdk-codegen/aws-models/cleanrooms.json @@ -41,7 +41,12 @@ "aws.auth#sigv4": { "name": "cleanrooms" }, - "aws.iam#supportedPrincipalTypes": ["Root", "IAMUser", "IAMRole", "FederatedUser"], + "aws.iam#supportedPrincipalTypes": [ + "Root", + "IAMUser", + "IAMRole", + "FederatedUser" + ], "aws.protocols#restJson1": {}, "smithy.api#cors": { "additionalAllowedHeaders": [ @@ -52,7 +57,11 @@ "x-amzn-platform-id", "x-amzn-trace-id" ], - "additionalExposedHeaders": ["x-amzn-errortype", "x-amzn-requestid", "x-amzn-trace-id"], + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id" + ], "maxAge": 86400 }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Welcome to the Clean Rooms API Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Clean Rooms is an Amazon Web Services service that helps multiple parties to join\n their data together in a secure collaboration workspace. In the collaboration, members who\n can query and receive results can get insights into the collective datasets without either\n party getting access to the other party's raw data.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    To learn more about Clean Rooms concepts, procedures, and best practices, see the\n Clean Rooms User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    To learn more about SQL commands, functions, and conditions supported in Clean Rooms, see the\n Clean Rooms SQL Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", @@ -3251,7 +3260,9 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to link a configured table with a collaboration by creating a new association", - "aws.iam#requiredActions": ["iam:PassRole"], + "aws.iam#requiredActions": [ + "iam:PassRole" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Creates a configured table association. A configured table association links a\n configured table with a collaboration.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "code": 200, @@ -7111,7 +7122,10 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Tags a resource.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -7210,7 +7224,9 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Removes a tag or list of tags from a resource.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "DELETE", @@ -7543,7 +7559,9 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to update a configured table association", - "aws.iam#requiredActions": ["iam:PassRole"], + "aws.iam#requiredActions": [ + "iam:PassRole" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Updates a configured table association.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "code": 200, @@ -7869,4 +7887,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/cloud9.json b/codegen/sdk-codegen/aws-models/cloud9.json index 3ff16cb08dd56..8c601c66af6b8 100644 --- a/codegen/sdk-codegen/aws-models/cloud9.json +++ b/codegen/sdk-codegen/aws-models/cloud9.json @@ -1716,7 +1716,10 @@ "title": "DescribeEnvironments", "documentation": "", "input": { - "environmentIds": ["8d9967e2f0624182b74e7690ad69ebEX", "349c86d4579e4e7298d500ff57a6b2EX"] + "environmentIds": [ + "8d9967e2f0624182b74e7690ad69ebEX", + "349c86d4579e4e7298d500ff57a6b2EX" + ] }, "output": { "environments": [ @@ -2184,7 +2187,10 @@ "title": "ListEnvironments", "documentation": "", "output": { - "environmentIds": ["349c86d4579e4e7298d500ff57a6b2EX", "45a3da47af0840f2b0c0824f5ee232EX"] + "environmentIds": [ + "349c86d4579e4e7298d500ff57a6b2EX", + "45a3da47af0840f2b0c0824f5ee232EX" + ] } } ], @@ -2863,4 +2869,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/cloudcontrol.json b/codegen/sdk-codegen/aws-models/cloudcontrol.json index fb8bfa3d3e17e..8296660d8b484 100644 --- a/codegen/sdk-codegen/aws-models/cloudcontrol.json +++ b/codegen/sdk-codegen/aws-models/cloudcontrol.json @@ -2573,4 +2573,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/clouddirectory.json b/codegen/sdk-codegen/aws-models/clouddirectory.json index 5442f35adffa5..b7787b3c51b95 100644 --- a/codegen/sdk-codegen/aws-models/clouddirectory.json +++ b/codegen/sdk-codegen/aws-models/clouddirectory.json @@ -10806,4 +10806,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/cloudformation.json b/codegen/sdk-codegen/aws-models/cloudformation.json index aef1f603e2c4d..4569a1a741294 100644 --- a/codegen/sdk-codegen/aws-models/cloudformation.json +++ b/codegen/sdk-codegen/aws-models/cloudformation.json @@ -3486,7 +3486,9 @@ ], "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Returns the inputs for the change set and a list of changes that CloudFormation will make if you execute the\n change set. For more information, see Updating Stacks Using Change\n Sets in the CloudFormation User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "ChangeSetCreateComplete": { "documentation": "Wait until change set status is CREATE_COMPLETE.", @@ -4405,7 +4407,9 @@ "outputToken": "NextToken", "items": "Stacks" }, - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "StackCreateComplete": { "documentation": "Wait until stack status is CREATE_COMPLETE.", @@ -13194,4 +13198,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/cloudfront.json b/codegen/sdk-codegen/aws-models/cloudfront.json index 8d1838bc6b1ff..bcbdaa4f1756b 100644 --- a/codegen/sdk-codegen/aws-models/cloudfront.json +++ b/codegen/sdk-codegen/aws-models/cloudfront.json @@ -18221,4 +18221,4 @@ "type": "timestamp" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/cloudhsm-v2.json b/codegen/sdk-codegen/aws-models/cloudhsm-v2.json index dc55423dd6e38..2b1ba7f7fa70a 100644 --- a/codegen/sdk-codegen/aws-models/cloudhsm-v2.json +++ b/codegen/sdk-codegen/aws-models/cloudhsm-v2.json @@ -2933,4 +2933,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/cloudhsm.json b/codegen/sdk-codegen/aws-models/cloudhsm.json index 1157c67f8b4ab..dba13cbd0fe3d 100644 --- a/codegen/sdk-codegen/aws-models/cloudhsm.json +++ b/codegen/sdk-codegen/aws-models/cloudhsm.json @@ -2636,4 +2636,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/cloudsearch-domain.json b/codegen/sdk-codegen/aws-models/cloudsearch-domain.json index c7e9ec3fc4d90..ab229b7c8cdc4 100644 --- a/codegen/sdk-codegen/aws-models/cloudsearch-domain.json +++ b/codegen/sdk-codegen/aws-models/cloudsearch-domain.json @@ -1538,4 +1538,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/cloudsearch.json b/codegen/sdk-codegen/aws-models/cloudsearch.json index ed9991d3eebf2..c991aa1c81b84 100644 --- a/codegen/sdk-codegen/aws-models/cloudsearch.json +++ b/codegen/sdk-codegen/aws-models/cloudsearch.json @@ -4444,4 +4444,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/cloudtrail-data.json b/codegen/sdk-codegen/aws-models/cloudtrail-data.json index 58fa55fe84fc8..39f6ad25eca08 100644 --- a/codegen/sdk-codegen/aws-models/cloudtrail-data.json +++ b/codegen/sdk-codegen/aws-models/cloudtrail-data.json @@ -1002,4 +1002,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/cloudtrail.json b/codegen/sdk-codegen/aws-models/cloudtrail.json index 9c00538f25793..7bedac61ce8f6 100644 --- a/codegen/sdk-codegen/aws-models/cloudtrail.json +++ b/codegen/sdk-codegen/aws-models/cloudtrail.json @@ -9294,4 +9294,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/cloudwatch-events.json b/codegen/sdk-codegen/aws-models/cloudwatch-events.json index 373e7ef49e0f2..2f7b563cf5994 100644 --- a/codegen/sdk-codegen/aws-models/cloudwatch-events.json +++ b/codegen/sdk-codegen/aws-models/cloudwatch-events.json @@ -8274,4 +8274,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/cloudwatch-logs.json b/codegen/sdk-codegen/aws-models/cloudwatch-logs.json index b40790da3f326..daf0995439ee5 100644 --- a/codegen/sdk-codegen/aws-models/cloudwatch-logs.json +++ b/codegen/sdk-codegen/aws-models/cloudwatch-logs.json @@ -6504,4 +6504,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/cloudwatch.json b/codegen/sdk-codegen/aws-models/cloudwatch.json index 775d61157d7aa..fc6697dda9ca2 100644 --- a/codegen/sdk-codegen/aws-models/cloudwatch.json +++ b/codegen/sdk-codegen/aws-models/cloudwatch.json @@ -6869,4 +6869,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/codeartifact.json b/codegen/sdk-codegen/aws-models/codeartifact.json index 83da7e8df68e8..cb3d1836f85eb 100644 --- a/codegen/sdk-codegen/aws-models/codeartifact.json +++ b/codegen/sdk-codegen/aws-models/codeartifact.json @@ -6520,4 +6520,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/codebuild.json b/codegen/sdk-codegen/aws-models/codebuild.json index fa8cc6e43df62..7c61eb55e3777 100644 --- a/codegen/sdk-codegen/aws-models/codebuild.json +++ b/codegen/sdk-codegen/aws-models/codebuild.json @@ -8172,4 +8172,4 @@ "type": "long" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/codecatalyst.json b/codegen/sdk-codegen/aws-models/codecatalyst.json index 2345127a20adc..b322ab7493454 100644 --- a/codegen/sdk-codegen/aws-models/codecatalyst.json +++ b/codegen/sdk-codegen/aws-models/codecatalyst.json @@ -216,7 +216,9 @@ }, { "fn": "aws.partition", - "argv": ["us-west-2"], + "argv": [ + "us-west-2" + ], "assign": "PartitionResult" } ], @@ -4596,4 +4598,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/codecommit.json b/codegen/sdk-codegen/aws-models/codecommit.json index 2de348faaeb4f..71c35f8a8a740 100644 --- a/codegen/sdk-codegen/aws-models/codecommit.json +++ b/codegen/sdk-codegen/aws-models/codecommit.json @@ -15373,4 +15373,4 @@ "type": "blob" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/codedeploy.json b/codegen/sdk-codegen/aws-models/codedeploy.json index feec06c323ea8..0d3025b1a9b98 100644 --- a/codegen/sdk-codegen/aws-models/codedeploy.json +++ b/codegen/sdk-codegen/aws-models/codedeploy.json @@ -9880,4 +9880,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/codeguru-reviewer.json b/codegen/sdk-codegen/aws-models/codeguru-reviewer.json index 67b33fd6e5d20..b13fd942ffe7c 100644 --- a/codegen/sdk-codegen/aws-models/codeguru-reviewer.json +++ b/codegen/sdk-codegen/aws-models/codeguru-reviewer.json @@ -3851,4 +3851,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/codeguru-security.json b/codegen/sdk-codegen/aws-models/codeguru-security.json index 5e53e1ace0c34..6f8326c086119 100644 --- a/codegen/sdk-codegen/aws-models/codeguru-security.json +++ b/codegen/sdk-codegen/aws-models/codeguru-security.json @@ -3033,4 +3033,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/codeguruprofiler.json b/codegen/sdk-codegen/aws-models/codeguruprofiler.json index 969179977c5ca..b75db6f23925e 100644 --- a/codegen/sdk-codegen/aws-models/codeguruprofiler.json +++ b/codegen/sdk-codegen/aws-models/codeguruprofiler.json @@ -531,7 +531,11 @@ }, "aws.protocols#restJson1": {}, "smithy.api#cors": { - "additionalAllowedHeaders": ["X-Amz-Content-Sha256", "X-Amz-User-Agent", "Content-Type"] + "additionalAllowedHeaders": [ + "X-Amz-Content-Sha256", + "X-Amz-User-Agent", + "Content-Type" + ] }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    \n This section provides documentation for the Amazon CodeGuru Profiler API operations.\n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n Amazon CodeGuru Profiler collects runtime performance data from your live applications, and provides\n recommendations that can help you fine-tune your application performance. Using machine learning\n algorithms, CodeGuru Profiler can help you find your most expensive lines of code and suggest ways you can\n improve efficiency and remove CPU bottlenecks.\n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n Amazon CodeGuru Profiler provides different visualizations of profiling data to help you identify what code is\n running on the CPU, see how much time is consumed, and suggest ways to reduce CPU utilization.\n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Amazon CodeGuru Profiler currently supports applications written in all Java virtual machine (JVM)\n languages and Python. While CodeGuru Profiler supports both visualizations and recommendations for applications\n written in Java, it can also generate visualizations and a subset of recommendations for\n applications written in other JVM languages and Python.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n For more information, see What is Amazon CodeGuru Profiler in \n the Amazon CodeGuru Profiler User Guide.\n

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#title": "Amazon CodeGuru Profiler", @@ -1211,7 +1215,9 @@ "uri": "/profilingGroups/{profilingGroupName}/configureAgent", "code": 200 }, - "smithy.api#tags": ["dataplane"] + "smithy.api#tags": [ + "dataplane" + ] } }, "com.amazonaws.codeguruprofiler#ConfigureAgentRequest": { @@ -2795,7 +2801,9 @@ "uri": "/profilingGroups/{profilingGroupName}/agentProfile", "code": 204 }, - "smithy.api#tags": ["dataplane"] + "smithy.api#tags": [ + "dataplane" + ] } }, "com.amazonaws.codeguruprofiler#PostAgentProfileRequest": { @@ -3793,4 +3801,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/codepipeline.json b/codegen/sdk-codegen/aws-models/codepipeline.json index 99108fe1328cf..f3228f72a4eee 100644 --- a/codegen/sdk-codegen/aws-models/codepipeline.json +++ b/codegen/sdk-codegen/aws-models/codepipeline.json @@ -7715,4 +7715,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/codestar-connections.json b/codegen/sdk-codegen/aws-models/codestar-connections.json index c868776835743..3de3a3dc7f631 100644 --- a/codegen/sdk-codegen/aws-models/codestar-connections.json +++ b/codegen/sdk-codegen/aws-models/codestar-connections.json @@ -2096,4 +2096,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/codestar-notifications.json b/codegen/sdk-codegen/aws-models/codestar-notifications.json index 9df167f0df736..23172fdc544a2 100644 --- a/codegen/sdk-codegen/aws-models/codestar-notifications.json +++ b/codegen/sdk-codegen/aws-models/codestar-notifications.json @@ -2321,4 +2321,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/codestar.json b/codegen/sdk-codegen/aws-models/codestar.json index 0bdd944986f03..af5ae960e0b78 100644 --- a/codegen/sdk-codegen/aws-models/codestar.json +++ b/codegen/sdk-codegen/aws-models/codestar.json @@ -3105,4 +3105,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/cognito-identity-provider.json b/codegen/sdk-codegen/aws-models/cognito-identity-provider.json index f85183d1a8ee4..ce892c9ecbfd2 100644 --- a/codegen/sdk-codegen/aws-models/cognito-identity-provider.json +++ b/codegen/sdk-codegen/aws-models/cognito-identity-provider.json @@ -1677,7 +1677,9 @@ "input": { "UserPoolId": "us-east-1_EXAMPLE", "Username": "testuser", - "DesiredDeliveryMediums": ["SMS"], + "DesiredDeliveryMediums": [ + "SMS" + ], "MessageAction": "SUPPRESS", "TemporaryPassword": "This-is-my-test-99!", "UserAttributes": [ @@ -5581,8 +5583,12 @@ "SMSMessage": "Your username is {username} and temporary password is {####}." } }, - "AliasAttributes": ["email"], - "AutoVerifiedAttributes": ["email"], + "AliasAttributes": [ + "email" + ], + "AutoVerifiedAttributes": [ + "email" + ], "DeviceConfiguration": { "ChallengeRequiredOnNewDevice": true, "DeviceOnlyRememberedOnUserPrompt": true @@ -5653,7 +5659,9 @@ }, "SmsVerificationMessage": "Your verification code is {####}.", "UserAttributeUpdateSettings": { - "AttributesRequireVerificationBeforeUpdate": ["email"] + "AttributesRequireVerificationBeforeUpdate": [ + "email" + ] }, "UsernameConfiguration": { "CaseSensitive": true @@ -5692,9 +5700,13 @@ }, "UnusedAccountValidityDays": 7 }, - "AliasAttributes": ["email"], + "AliasAttributes": [ + "email" + ], "Arn": "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_EXAMPLE", - "AutoVerifiedAttributes": ["email"], + "AutoVerifiedAttributes": [ + "email" + ], "CreationDate": 1689721665.239, "DeletionProtection": "ACTIVE", "DeviceConfiguration": { @@ -5977,7 +5989,9 @@ }, "SmsVerificationMessage": "Your verification code is {####}.", "UserAttributeUpdateSettings": { - "AttributesRequireVerificationBeforeUpdate": ["email"] + "AttributesRequireVerificationBeforeUpdate": [ + "email" + ] }, "UserPoolAddOns": { "AdvancedSecurityMode": "OFF" @@ -6044,16 +6058,25 @@ "documentation": "The following example creates an app client with all configurable properties set to an example value. The resulting user pool client connects to an analytics client, allows sign-in with username and password, and has two external identity providers associated with it.", "input": { "AccessTokenValidity": 6, - "AllowedOAuthFlows": ["code"], + "AllowedOAuthFlows": [ + "code" + ], "AllowedOAuthFlowsUserPoolClient": true, - "AllowedOAuthScopes": ["aws.cognito.signin.user.admin", "openid"], + "AllowedOAuthScopes": [ + "aws.cognito.signin.user.admin", + "openid" + ], "AnalyticsConfiguration": { "ApplicationId": "d70b2ba36a8c4dc5a04a0451a31a1e12", "ExternalId": "my-external-id", "RoleArn": "arn:aws:iam::123456789012:role/test-cognitouserpool-role", "UserDataShared": true }, - "CallbackURLs": ["https://example.com", "http://localhost", "myapp://example"], + "CallbackURLs": [ + "https://example.com", + "http://localhost", + "myapp://example" + ], "ClientName": "my-test-app-client", "DefaultRedirectURI": "https://example.com", "ExplicitAuthFlows": [ @@ -6063,25 +6086,42 @@ ], "GenerateSecret": true, "IdTokenValidity": 6, - "LogoutURLs": ["https://example.com/logout"], + "LogoutURLs": [ + "https://example.com/logout" + ], "PreventUserExistenceErrors": "ENABLED", - "ReadAttributes": ["email", "address", "preferred_username"], + "ReadAttributes": [ + "email", + "address", + "preferred_username" + ], "RefreshTokenValidity": 6, - "SupportedIdentityProviders": ["SignInWithApple", "MySSO"], + "SupportedIdentityProviders": [ + "SignInWithApple", + "MySSO" + ], "TokenValidityUnits": { "AccessToken": "hours", "IdToken": "minutes", "RefreshToken": "days" }, "UserPoolId": "us-east-1_EXAMPLE", - "WriteAttributes": ["family_name", "email"] + "WriteAttributes": [ + "family_name", + "email" + ] }, "output": { "UserPoolClient": { "AccessTokenValidity": 6, - "AllowedOAuthFlows": ["code"], + "AllowedOAuthFlows": [ + "code" + ], "AllowedOAuthFlowsUserPoolClient": true, - "AllowedOAuthScopes": ["aws.cognito.signin.user.admin", "openid"], + "AllowedOAuthScopes": [ + "aws.cognito.signin.user.admin", + "openid" + ], "AnalyticsConfiguration": { "ApplicationId": "d70b2ba36a8c4dc5a04a0451a31a1e12", "ExternalId": "my-external-id", @@ -6089,7 +6129,11 @@ "UserDataShared": true }, "AuthSessionValidity": 3, - "CallbackURLs": ["https://example.com", "http://localhost", "myapp://example"], + "CallbackURLs": [ + "https://example.com", + "http://localhost", + "myapp://example" + ], "ClientId": "26cb2c60kq7nbmas7rbme9b6pp", "ClientName": "my-test-app-client", "ClientSecret": "13ka4h7u28d9oo44tqpq9djqsfvhvu8rk4d2ighvpu0k8fj1c2r9", @@ -6104,18 +6148,30 @@ ], "IdTokenValidity": 6, "LastModifiedDate": 1689885426.107, - "LogoutURLs": ["https://example.com/logout"], + "LogoutURLs": [ + "https://example.com/logout" + ], "PreventUserExistenceErrors": "ENABLED", - "ReadAttributes": ["address", "preferred_username", "email"], + "ReadAttributes": [ + "address", + "preferred_username", + "email" + ], "RefreshTokenValidity": 6, - "SupportedIdentityProviders": ["SignInWithApple", "MySSO"], + "SupportedIdentityProviders": [ + "SignInWithApple", + "MySSO" + ], "TokenValidityUnits": { "AccessToken": "hours", "IdToken": "minutes", "RefreshToken": "days" }, "UserPoolId": "us-east-1_EXAMPLE", - "WriteAttributes": ["family_name", "email"] + "WriteAttributes": [ + "family_name", + "email" + ] } } } @@ -10657,7 +10713,10 @@ "title": "A ListUsers request for the next 3 users whose email address starts with \"testuser.\"", "documentation": "This request submits a value for all possible parameters for ListUsers. By iterating the PaginationToken, you can page through and collect all users in a user pool.", "input": { - "AttributesToGet": ["email", "sub"], + "AttributesToGet": [ + "email", + "sub" + ], "Filter": "\"email\"^=\"testuser\"", "Limit": 3, "PaginationToken": "abcd1234EXAMPLE", @@ -16009,4 +16068,4 @@ "type": "boolean" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/cognito-identity.json b/codegen/sdk-codegen/aws-models/cognito-identity.json index 32d8f7e36c057..18717fcbc0cd3 100644 --- a/codegen/sdk-codegen/aws-models/cognito-identity.json +++ b/codegen/sdk-codegen/aws-models/cognito-identity.json @@ -3624,4 +3624,4 @@ "type": "boolean" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/cognito-sync.json b/codegen/sdk-codegen/aws-models/cognito-sync.json index b514b374e4fbd..33bacf1a21cac 100644 --- a/codegen/sdk-codegen/aws-models/cognito-sync.json +++ b/codegen/sdk-codegen/aws-models/cognito-sync.json @@ -3140,4 +3140,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/comprehend.json b/codegen/sdk-codegen/aws-models/comprehend.json index e63e59708c8b2..a0346a4b47bb1 100644 --- a/codegen/sdk-codegen/aws-models/comprehend.json +++ b/codegen/sdk-codegen/aws-models/comprehend.json @@ -13555,4 +13555,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/comprehendmedical.json b/codegen/sdk-codegen/aws-models/comprehendmedical.json index 0524bf2172492..d1dd5785ee6bf 100644 --- a/codegen/sdk-codegen/aws-models/comprehendmedical.json +++ b/codegen/sdk-codegen/aws-models/comprehendmedical.json @@ -4989,4 +4989,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/compute-optimizer.json b/codegen/sdk-codegen/aws-models/compute-optimizer.json index 57f0bd28e6ff1..8ad8ffd9934da 100644 --- a/codegen/sdk-codegen/aws-models/compute-optimizer.json +++ b/codegen/sdk-codegen/aws-models/compute-optimizer.json @@ -8834,4 +8834,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/config-service.json b/codegen/sdk-codegen/aws-models/config-service.json index 9076a57557e05..ecabf756a7a64 100644 --- a/codegen/sdk-codegen/aws-models/config-service.json +++ b/codegen/sdk-codegen/aws-models/config-service.json @@ -16233,4 +16233,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/connect-contact-lens.json b/codegen/sdk-codegen/aws-models/connect-contact-lens.json index 0735eed1fbfb5..ede674f4c17ba 100644 --- a/codegen/sdk-codegen/aws-models/connect-contact-lens.json +++ b/codegen/sdk-codegen/aws-models/connect-contact-lens.json @@ -1320,4 +1320,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/connect.json b/codegen/sdk-codegen/aws-models/connect.json index 9b6c2db087c84..f6501308ebc08 100644 --- a/codegen/sdk-codegen/aws-models/connect.json +++ b/codegen/sdk-codegen/aws-models/connect.json @@ -31803,4 +31803,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/connectcampaigns.json b/codegen/sdk-codegen/aws-models/connectcampaigns.json index 7ad1d3e19b1ee..f225d40bb4330 100644 --- a/codegen/sdk-codegen/aws-models/connectcampaigns.json +++ b/codegen/sdk-codegen/aws-models/connectcampaigns.json @@ -3150,4 +3150,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/connectcases.json b/codegen/sdk-codegen/aws-models/connectcases.json index 2c5c868b38848..0155834aa7433 100644 --- a/codegen/sdk-codegen/aws-models/connectcases.json +++ b/codegen/sdk-codegen/aws-models/connectcases.json @@ -5098,4 +5098,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/connectparticipant.json b/codegen/sdk-codegen/aws-models/connectparticipant.json index 527b0ba3a8b47..4688bdf8352bf 100644 --- a/codegen/sdk-codegen/aws-models/connectparticipant.json +++ b/codegen/sdk-codegen/aws-models/connectparticipant.json @@ -2507,4 +2507,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/controltower.json b/codegen/sdk-codegen/aws-models/controltower.json index d962988f9c607..8b512f15f943e 100644 --- a/codegen/sdk-codegen/aws-models/controltower.json +++ b/codegen/sdk-codegen/aws-models/controltower.json @@ -43,7 +43,11 @@ "x-amz-date", "x-amz-security-token" ], - "additionalExposedHeaders": ["x-amzn-errortype", "x-amzn-requestid", "x-amzn-trace-id"] + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id" + ] }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    These interfaces allow you to apply the AWS library of pre-defined controls to your\norganizational units, programmatically. In this context, controls are the same as AWS Control Tower guardrails.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    To call these APIs, you'll need to know:

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      the ControlARN for the control--that is, the\n guardrail--you are targeting,

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      and the ARN associated with the target organizational unit (OU).

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n To get the ControlARN for your AWS Control Tower guardrail:\n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    The ControlARN contains the control name which is specified in each guardrail. For a list of control names for Strongly recommended and Elective guardrails, see Resource identifiers for APIs and guardrails in the Automating tasks section of the AWS Control Tower User Guide. Remember that Mandatory guardrails cannot be added or removed.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n \n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n ARN format: \n arn:aws:controltower:{REGION}::control/{CONTROL_NAME}\n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n Example:\n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n arn:aws:controltower:us-west-2::control/AWS-GR_AUTOSCALING_LAUNCH_CONFIG_PUBLIC_IP_DISABLED\n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n To get the ARN for an OU:\n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    In the AWS Organizations console, you can find the ARN for the OU on the Organizational unit details page associated with that OU.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n \n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n OU ARN format:\n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n arn:${Partition}:organizations::${MasterAccountId}:ou/o-${OrganizationId}/ou-${OrganizationalUnitId}\n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n Details and examples\n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n \n

                                                                                                                                                                                                                                                                                                                                                                                                                    To view the open source resource repository on GitHub, see aws-cloudformation/aws-cloudformation-resource-providers-controltower\n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n Recording API Requests\n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    AWS Control Tower supports AWS CloudTrail, a service that records AWS API calls for your AWS account and delivers log files to an Amazon S3 bucket. By using information collected by CloudTrail, you can determine which requests the AWS Control Tower service received, who made the request and when, and so on. For more about AWS Control Tower and its support for CloudTrail, see Logging AWS Control Tower Actions with AWS CloudTrail in the AWS Control Tower User Guide. To learn more about CloudTrail, including how to turn it on and find your log files, see the AWS CloudTrail User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#title": "AWS Control Tower", @@ -1457,4 +1461,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/cost-and-usage-report-service.json b/codegen/sdk-codegen/aws-models/cost-and-usage-report-service.json index 831f7b35bd914..94f834e572034 100644 --- a/codegen/sdk-codegen/aws-models/cost-and-usage-report-service.json +++ b/codegen/sdk-codegen/aws-models/cost-and-usage-report-service.json @@ -1038,8 +1038,12 @@ "output": { "ReportDefinitions": [ { - "AdditionalArtifacts": ["QUICKSIGHT"], - "AdditionalSchemaElements": ["RESOURCES"], + "AdditionalArtifacts": [ + "QUICKSIGHT" + ], + "AdditionalSchemaElements": [ + "RESOURCES" + ], "Compression": "GZIP", "Format": "textORcsv", "ReportName": "ExampleReport", @@ -1049,8 +1053,12 @@ "TimeUnit": "HOURLY" }, { - "AdditionalArtifacts": ["QUICKSIGHT"], - "AdditionalSchemaElements": ["RESOURCES"], + "AdditionalArtifacts": [ + "QUICKSIGHT" + ], + "AdditionalSchemaElements": [ + "RESOURCES" + ], "Compression": "GZIP", "Format": "textORcsv", "ReportName": "ExampleReport2", @@ -1235,11 +1243,16 @@ "TimeUnit": "DAILY", "Format": "textORcsv", "Compression": "ZIP", - "AdditionalSchemaElements": ["RESOURCES"], + "AdditionalSchemaElements": [ + "RESOURCES" + ], "S3Bucket": "example-s3-bucket", "S3Prefix": "exampleprefix", "S3Region": "us-east-1", - "AdditionalArtifacts": ["REDSHIFT", "QUICKSIGHT"] + "AdditionalArtifacts": [ + "REDSHIFT", + "QUICKSIGHT" + ] } } } @@ -1513,4 +1526,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/cost-explorer.json b/codegen/sdk-codegen/aws-models/cost-explorer.json index d297ce1267258..d1be7a6c20b80 100644 --- a/codegen/sdk-codegen/aws-models/cost-explorer.json +++ b/codegen/sdk-codegen/aws-models/cost-explorer.json @@ -9081,4 +9081,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/customer-profiles.json b/codegen/sdk-codegen/aws-models/customer-profiles.json index 6f88accd685dc..e5bff922a16b7 100644 --- a/codegen/sdk-codegen/aws-models/customer-profiles.json +++ b/codegen/sdk-codegen/aws-models/customer-profiles.json @@ -10698,4 +10698,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/data-pipeline.json b/codegen/sdk-codegen/aws-models/data-pipeline.json index 9bd94532f53ab..22749b1901774 100644 --- a/codegen/sdk-codegen/aws-models/data-pipeline.json +++ b/codegen/sdk-codegen/aws-models/data-pipeline.json @@ -2830,4 +2830,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/database-migration-service.json b/codegen/sdk-codegen/aws-models/database-migration-service.json index 83a040e3d16b8..ac9f81ebb5df8 100644 --- a/codegen/sdk-codegen/aws-models/database-migration-service.json +++ b/codegen/sdk-codegen/aws-models/database-migration-service.json @@ -3561,7 +3561,10 @@ "input": { "ReplicationSubnetGroupIdentifier": "us-west-2ab-vpc-215ds366", "ReplicationSubnetGroupDescription": "US West subnet group", - "SubnetIds": ["subnet-e145356n", "subnet-58f79200"], + "SubnetIds": [ + "subnet-e145356n", + "subnet-58f79200" + ], "Tags": [ { "Key": "Acount", @@ -5232,7 +5235,10 @@ "Filters": [ { "Name": "string", - "Values": ["string", "string"] + "Values": [ + "string", + "string" + ] } ], "MaxRecords": 123, @@ -5320,7 +5326,10 @@ "Filters": [ { "Name": "string", - "Values": ["string", "string"] + "Values": [ + "string", + "string" + ] } ], "MaxRecords": 123, @@ -5628,7 +5637,10 @@ "Filters": [ { "Name": "string", - "Values": ["string", "string"] + "Values": [ + "string", + "string" + ] } ], "MaxRecords": 123, @@ -5718,7 +5730,10 @@ "Filters": [ { "Name": "string", - "Values": ["string", "string"] + "Values": [ + "string", + "string" + ] } ], "MaxRecords": 123, @@ -7547,7 +7562,10 @@ "Filters": [ { "Name": "string", - "Values": ["string", "string"] + "Values": [ + "string", + "string" + ] } ], "MaxRecords": 123, @@ -7717,7 +7735,10 @@ "Filters": [ { "Name": "string", - "Values": ["string", "string"] + "Values": [ + "string", + "string" + ] } ], "MaxRecords": 123, @@ -8109,7 +8130,10 @@ "Filters": [ { "Name": "string", - "Values": ["string", "string"] + "Values": [ + "string", + "string" + ] } ], "MaxRecords": 123, @@ -17799,4 +17823,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/databrew.json b/codegen/sdk-codegen/aws-models/databrew.json index 0bfd644bb8a62..27dc13dc82f4f 100644 --- a/codegen/sdk-codegen/aws-models/databrew.json +++ b/codegen/sdk-codegen/aws-models/databrew.json @@ -8228,4 +8228,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/dataexchange.json b/codegen/sdk-codegen/aws-models/dataexchange.json index c99420fd26f6e..22fdffbffd86a 100644 --- a/codegen/sdk-codegen/aws-models/dataexchange.json +++ b/codegen/sdk-codegen/aws-models/dataexchange.json @@ -6267,4 +6267,4 @@ } } } -} +} \ 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 198f48fbecfac..0ab528cbb58c4 100644 --- a/codegen/sdk-codegen/aws-models/datasync.json +++ b/codegen/sdk-codegen/aws-models/datasync.json @@ -9426,4 +9426,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/dax.json b/codegen/sdk-codegen/aws-models/dax.json index cd3d224b1a207..5048bcc63ab98 100644 --- a/codegen/sdk-codegen/aws-models/dax.json +++ b/codegen/sdk-codegen/aws-models/dax.json @@ -3751,4 +3751,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/detective.json b/codegen/sdk-codegen/aws-models/detective.json index 006e997296d45..e2765c6e80a0e 100644 --- a/codegen/sdk-codegen/aws-models/detective.json +++ b/codegen/sdk-codegen/aws-models/detective.json @@ -3438,4 +3438,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/device-farm.json b/codegen/sdk-codegen/aws-models/device-farm.json index 7f4ced6d36159..0a330f2a2275a 100644 --- a/codegen/sdk-codegen/aws-models/device-farm.json +++ b/codegen/sdk-codegen/aws-models/device-farm.json @@ -11045,4 +11045,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/devops-guru.json b/codegen/sdk-codegen/aws-models/devops-guru.json index 3531c3dadd43e..c3c6e55c2c755 100644 --- a/codegen/sdk-codegen/aws-models/devops-guru.json +++ b/codegen/sdk-codegen/aws-models/devops-guru.json @@ -8023,4 +8023,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/direct-connect.json b/codegen/sdk-codegen/aws-models/direct-connect.json index 32535a23f3f24..8aaea257e6c07 100644 --- a/codegen/sdk-codegen/aws-models/direct-connect.json +++ b/codegen/sdk-codegen/aws-models/direct-connect.json @@ -7303,4 +7303,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/directory-service.json b/codegen/sdk-codegen/aws-models/directory-service.json index 370bf76a53967..91a7b36fc381a 100644 --- a/codegen/sdk-codegen/aws-models/directory-service.json +++ b/codegen/sdk-codegen/aws-models/directory-service.json @@ -9752,4 +9752,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/dlm.json b/codegen/sdk-codegen/aws-models/dlm.json index 56a43b59c0c01..e5be01e8d9380 100644 --- a/codegen/sdk-codegen/aws-models/dlm.json +++ b/codegen/sdk-codegen/aws-models/dlm.json @@ -3065,4 +3065,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/docdb-elastic.json b/codegen/sdk-codegen/aws-models/docdb-elastic.json index 6a7cfb5c2de72..f66738c13c862 100644 --- a/codegen/sdk-codegen/aws-models/docdb-elastic.json +++ b/codegen/sdk-codegen/aws-models/docdb-elastic.json @@ -105,7 +105,11 @@ "x-amzn-platform-id", "x-amzn-trace-id" ], - "additionalExposedHeaders": ["x-amzn-errortype", "x-amzn-requestid", "x-amzn-trace-id"], + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id" + ], "maxAge": 86400 }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The new Amazon Elastic DocumentDB service endpoint.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", @@ -2345,4 +2349,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/docdb.json b/codegen/sdk-codegen/aws-models/docdb.json index 9a80d541a2041..d18f4d38dea9d 100644 --- a/codegen/sdk-codegen/aws-models/docdb.json +++ b/codegen/sdk-codegen/aws-models/docdb.json @@ -4661,7 +4661,9 @@ "items": "DBInstances", "pageSize": "MaxRecords" }, - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "DBInstanceAvailable": { "acceptors": [ @@ -8377,4 +8379,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/drs.json b/codegen/sdk-codegen/aws-models/drs.json index 0e845c80c895c..31bed1864e920 100644 --- a/codegen/sdk-codegen/aws-models/drs.json +++ b/codegen/sdk-codegen/aws-models/drs.json @@ -663,7 +663,10 @@ } ], "traits": { - "aws.iam#requiredActions": ["ec2:DescribeVpcs", "ec2:DescribeInstances"], + "aws.iam#requiredActions": [ + "ec2:DescribeVpcs", + "ec2:DescribeInstances" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Create a new Source Network resource for a provided VPC ID.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/CreateSourceNetwork", @@ -1694,7 +1697,10 @@ } ], "traits": { - "aws.iam#requiredActions": ["ec2:DescribeInstances", "drs:DescribeSourceServers"], + "aws.iam#requiredActions": [ + "ec2:DescribeInstances", + "drs:DescribeSourceServers" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Lists all Recovery Instances or multiple Recovery Instances by ID.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/DescribeRecoveryInstances", @@ -2485,8 +2491,18 @@ }, "aws.protocols#restJson1": {}, "smithy.api#cors": { - "additionalAllowedHeaders": ["Content-Type", "X-Amz-Content-Sha256", "X-Amz-User-Agent", "X-Amzn-Trace-Id"], - "additionalExposedHeaders": ["X-Amzn-Errortype", "X-Amzn-Requestid", "X-Amzn-Trace-Id", "X-Amz-Apigw-Id"] + "additionalAllowedHeaders": [ + "Content-Type", + "X-Amz-Content-Sha256", + "X-Amz-User-Agent", + "X-Amzn-Trace-Id" + ], + "additionalExposedHeaders": [ + "X-Amzn-Errortype", + "X-Amzn-Requestid", + "X-Amzn-Trace-Id", + "X-Amz-Apigw-Id" + ] }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    AWS Elastic Disaster Recovery Service.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#title": "Elastic Disaster Recovery Service", @@ -3423,7 +3439,11 @@ } ], "traits": { - "aws.iam#requiredActions": ["s3:GetBucketLocation", "s3:PutObject", "s3:GetObject"], + "aws.iam#requiredActions": [ + "s3:GetBucketLocation", + "s3:PutObject", + "s3:GetObject" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Export the Source Network CloudFormation template to an S3 bucket.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/ExportSourceNetworkCfnTemplate", @@ -4248,7 +4268,9 @@ "aws.api#arn": { "template": "job/{jobID}" }, - "aws.iam#conditionKeys": ["aws:ResourceTag"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag" + ], "aws.iam#disableConditionKeyInference": {} } }, @@ -5776,7 +5798,10 @@ "aws.api#arn": { "template": "recovery-instance/{recoveryInstanceID}" }, - "aws.iam#conditionKeys": ["drs:EC2InstanceARN", "aws:ResourceTag"], + "aws.iam#conditionKeys": [ + "drs:EC2InstanceARN", + "aws:ResourceTag" + ], "aws.iam#disableConditionKeyInference": {} } }, @@ -6338,7 +6363,9 @@ "aws.api#arn": { "template": "replication-configuration-template/{replicationConfigurationTemplateID}" }, - "aws.iam#conditionKeys": ["aws:ResourceTag"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag" + ], "aws.iam#disableConditionKeyInference": {} } }, @@ -6804,7 +6831,9 @@ "aws.api#arn": { "template": "source-network/{sourceNetworkID}" }, - "aws.iam#conditionKeys": ["aws:ResourceTag"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag" + ], "aws.iam#disableConditionKeyInference": {} } }, @@ -7044,7 +7073,9 @@ "aws.api#arn": { "template": "source-server/{sourceServerID}" }, - "aws.iam#conditionKeys": ["aws:ResourceTag"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag" + ], "aws.iam#disableConditionKeyInference": {} } }, @@ -8697,4 +8728,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/dynamodb-streams.json b/codegen/sdk-codegen/aws-models/dynamodb-streams.json index 157799ffb13a6..d7e25e54293f3 100644 --- a/codegen/sdk-codegen/aws-models/dynamodb-streams.json +++ b/codegen/sdk-codegen/aws-models/dynamodb-streams.json @@ -2244,4 +2244,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/dynamodb.json b/codegen/sdk-codegen/aws-models/dynamodb.json index 4da948d404856..9c890110ebf0f 100644 --- a/codegen/sdk-codegen/aws-models/dynamodb.json +++ b/codegen/sdk-codegen/aws-models/dynamodb.json @@ -7361,7 +7361,12 @@ "title": "To list tables", "documentation": "This example lists all of the tables associated with the current AWS account and endpoint.", "output": { - "TableNames": ["Forum", "ProductCatalog", "Reply", "Thread"] + "TableNames": [ + "Forum", + "ProductCatalog", + "Reply", + "Thread" + ] } } ], @@ -8289,7 +8294,9 @@ "items": "Items", "pageSize": "Limit" }, - "smithy.api#suppress": ["PaginatedTrait"] + "smithy.api#suppress": [ + "PaginatedTrait" + ] } }, "com.amazonaws.dynamodb#QueryInput": { @@ -9767,7 +9774,9 @@ "items": "Items", "pageSize": "Limit" }, - "smithy.api#suppress": ["PaginatedTrait"] + "smithy.api#suppress": [ + "PaginatedTrait" + ] } }, "com.amazonaws.dynamodb#ScanInput": { @@ -11966,4 +11975,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/ebs.json b/codegen/sdk-codegen/aws-models/ebs.json index 352a63016eb4c..984ae4596aba7 100644 --- a/codegen/sdk-codegen/aws-models/ebs.json +++ b/codegen/sdk-codegen/aws-models/ebs.json @@ -1824,7 +1824,9 @@ ], "traits": { "aws.auth#unsignedPayload": {}, - "smithy.api#auth": ["aws.auth#sigv4"], + "smithy.api#auth": [ + "aws.auth#sigv4" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Writes a block of data to a snapshot. If the specified block contains\n data, the existing data is overwritten. The target snapshot must be in the\n pending state.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Data written to a snapshot must be aligned with 512-KiB sectors.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n \n

                                                                                                                                                                                                                                                                                                                                                                                                                    You should always retry requests that receive server (5xx) \n error responses, and ThrottlingException and RequestThrottledException \n client error responses. For more information see Error retries in the \n Amazon Elastic Compute Cloud User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "PUT", @@ -2456,4 +2458,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/ec2-instance-connect.json b/codegen/sdk-codegen/aws-models/ec2-instance-connect.json index f5af790862276..2103f53de5a99 100644 --- a/codegen/sdk-codegen/aws-models/ec2-instance-connect.json +++ b/codegen/sdk-codegen/aws-models/ec2-instance-connect.json @@ -1137,4 +1137,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index 00286eb7856f9..1618a1a7ae837 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -5763,7 +5763,9 @@ "documentation": "This example assigns the specified secondary private IP address to the specified network interface.", "input": { "NetworkInterfaceId": "eni-e5aa89a3", - "PrivateIpAddresses": ["10.0.0.82"] + "PrivateIpAddresses": [ + "10.0.0.82" + ] } } ] @@ -9782,7 +9784,9 @@ "title": "To cancel a Spot fleet request", "documentation": "This example cancels the specified Spot fleet request and terminates its associated Spot Instances.", "input": { - "SpotFleetRequestIds": ["sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"], + "SpotFleetRequestIds": [ + "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE" + ], "TerminateInstances": true }, "output": { @@ -10011,7 +10015,9 @@ "title": "To cancel Spot Instance requests", "documentation": "This example cancels a Spot Instance request.", "input": { - "SpotInstanceRequestIds": ["sir-08b93456"] + "SpotInstanceRequestIds": [ + "sir-08b93456" + ] }, "output": { "CancelledSpotInstanceRequests": [ @@ -14324,7 +14330,10 @@ "DhcpConfigurations": [ { "Key": "domain-name-servers", - "Values": ["10.2.5.1", "10.2.5.2"] + "Values": [ + "10.2.5.1", + "10.2.5.2" + ] } ] }, @@ -18509,7 +18518,9 @@ "title": "To add a tag to a resource", "documentation": "This example adds the tag Stack=production to the specified image, or overwrites an existing tag for the AMI where the tag key is Stack.", "input": { - "Resources": ["ami-78a54011"], + "Resources": [ + "ami-78a54011" + ], "Tags": [ { "Key": "Stack", @@ -22957,7 +22968,9 @@ "documentation": "This example deletes the specified launch template version.", "input": { "LaunchTemplateId": "lt-0abcd290751193123", - "Versions": ["1"] + "Versions": [ + "1" + ] }, "output": { "SuccessfullyDeletedLaunchTemplateVersions": [ @@ -24508,7 +24521,9 @@ "title": "To delete a tag from a resource", "documentation": "This example deletes the tag Stack=test from the specified image.", "input": { - "Resources": ["ami-78a54011"], + "Resources": [ + "ami-78a54011" + ], "Tags": [ { "Key": "Stack", @@ -26455,7 +26470,9 @@ "title": "To describe a single attribute for your AWS account", "documentation": "This example describes the supported-platforms attribute for your AWS account.", "input": { - "AttributeNames": ["supported-platforms"] + "AttributeNames": [ + "supported-platforms" + ] }, "output": { "AccountAttributes": [ @@ -28297,7 +28314,9 @@ "title": "To describe a customer gateway", "documentation": "This example describes the specified customer gateway.", "input": { - "CustomerGatewayIds": ["cgw-0e11f167"] + "CustomerGatewayIds": [ + "cgw-0e11f167" + ] }, "output": { "CustomerGateways": [ @@ -28416,7 +28435,9 @@ "title": "To describe a DHCP options set", "documentation": "This example describes the specified DHCP options set.", "input": { - "DhcpOptionsIds": ["dopt-d9070ebb"] + "DhcpOptionsIds": [ + "dopt-d9070ebb" + ] }, "output": { "DhcpOptions": [ @@ -30196,7 +30217,9 @@ "title": "To describe an IAM instance profile association", "documentation": "This example describes the specified IAM instance profile association.", "input": { - "AssociationIds": ["iip-assoc-0db249b1f25fa24b8"] + "AssociationIds": [ + "iip-assoc-0db249b1f25fa24b8" + ] }, "output": { "IamInstanceProfileAssociations": [ @@ -30467,7 +30490,9 @@ "title": "To describe an AMI", "documentation": "This example describes the specified AMI.", "input": { - "ImageIds": ["ami-5731123e"] + "ImageIds": [ + "ami-5731123e" + ] }, "output": { "Images": [ @@ -30508,7 +30533,9 @@ "items": "Images", "pageSize": "MaxResults" }, - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "ImageAvailable": { "acceptors": [ @@ -31244,7 +31271,9 @@ "title": "To describe the status of an instance", "documentation": "This example describes the current status of the specified instance.", "input": { - "InstanceIds": ["i-1234567890abcdef0"] + "InstanceIds": [ + "i-1234567890abcdef0" + ] }, "output": { "InstanceStatuses": [ @@ -31284,7 +31313,9 @@ "items": "InstanceStatuses", "pageSize": "MaxResults" }, - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "InstanceStatusOk": { "acceptors": [ @@ -31587,7 +31618,9 @@ "title": "To describe an Amazon EC2 instance", "documentation": "This example describes the specified instance.", "input": { - "InstanceIds": ["i-1234567890abcdef0"] + "InstanceIds": [ + "i-1234567890abcdef0" + ] }, "output": {} } @@ -31598,7 +31631,9 @@ "items": "Reservations", "pageSize": "MaxResults" }, - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "InstanceExists": { "acceptors": [ @@ -31837,7 +31872,9 @@ "Filters": [ { "Name": "attachment.vpc-id", - "Values": ["vpc-a01106c2"] + "Values": [ + "vpc-a01106c2" + ] } ] }, @@ -31863,7 +31900,9 @@ "items": "InternetGateways", "pageSize": "MaxResults" }, - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "InternetGatewayExists": { "acceptors": [ @@ -32501,7 +32540,9 @@ "title": "To display a key pair", "documentation": "This example displays the fingerprint for the specified key.", "input": { - "KeyNames": ["my-key-pair"] + "KeyNames": [ + "my-key-pair" + ] }, "output": { "KeyPairs": [ @@ -32513,7 +32554,9 @@ } } ], - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "KeyPairExists": { "acceptors": [ @@ -32634,7 +32677,9 @@ { "SubnetId": "subnet-1a2b3c4d", "DeviceIndex": 0, - "Groups": ["sg-7c227019"] + "Groups": [ + "sg-7c227019" + ] } ] }, @@ -32656,7 +32701,9 @@ "SubnetId": "subnet-7b16de0c", "DeviceIndex": 0, "DeleteOnTermination": false, - "Groups": ["sg-7c227019"], + "Groups": [ + "sg-7c227019" + ], "AssociatePublicIpAddress": true } ] @@ -32791,7 +32838,9 @@ "title": "To describe a launch template", "documentation": "This example describes the specified launch template.", "input": { - "LaunchTemplateIds": ["lt-01238c059e3466abc"] + "LaunchTemplateIds": [ + "lt-01238c059e3466abc" + ] }, "output": { "LaunchTemplates": [ @@ -33638,7 +33687,9 @@ "Filter": [ { "Name": "vpc-id", - "Values": ["vpc-1a2b3c4d"] + "Values": [ + "vpc-1a2b3c4d" + ] } ] }, @@ -33669,7 +33720,9 @@ "items": "NatGateways", "pageSize": "MaxResults" }, - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "NatGatewayAvailable": { "acceptors": [ @@ -33838,7 +33891,9 @@ "title": "To describe a network ACL", "documentation": "This example describes the specified network ACL.", "input": { - "NetworkAclIds": ["acl-5fb85d36"] + "NetworkAclIds": [ + "acl-5fb85d36" + ] }, "output": { "NetworkAcls": [ @@ -34568,7 +34623,9 @@ "title": "To describe a network interface", "documentation": "", "input": { - "NetworkInterfaceIds": ["eni-e5aa89a3"] + "NetworkInterfaceIds": [ + "eni-e5aa89a3" + ] }, "output": { "NetworkInterfaces": [ @@ -34631,7 +34688,9 @@ "items": "NetworkInterfaces", "pageSize": "MaxResults" }, - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "NetworkInterfaceAvailable": { "acceptors": [ @@ -35669,7 +35728,9 @@ "title": "To describe a route table", "documentation": "This example describes the specified route table.", "input": { - "RouteTableIds": ["rtb-1f382e7d"] + "RouteTableIds": [ + "rtb-1f382e7d" + ] }, "output": { "RouteTables": [ @@ -36018,7 +36079,9 @@ "title": "To describe security group references", "documentation": "This example describes the security group references for the specified security group.", "input": { - "GroupId": ["sg-903004f8"] + "GroupId": [ + "sg-903004f8" + ] }, "output": { "SecurityGroupReferenceSet": [ @@ -36184,7 +36247,9 @@ "title": "To describe a security group", "documentation": "This example describes the specified security group.", "input": { - "GroupIds": ["sg-903004f8"] + "GroupIds": [ + "sg-903004f8" + ] }, "output": {} } @@ -36195,7 +36260,9 @@ "items": "SecurityGroups", "pageSize": "MaxResults" }, - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "SecurityGroupExists": { "acceptors": [ @@ -36495,7 +36562,9 @@ "title": "To describe a snapshot", "documentation": "This example describes a snapshot with the snapshot ID of ``snap-1234567890abcdef0``.", "input": { - "SnapshotIds": ["snap-1234567890abcdef0"] + "SnapshotIds": [ + "snap-1234567890abcdef0" + ] }, "output": { "Snapshots": [ @@ -37014,7 +37083,9 @@ "title": "To describe a Spot fleet request", "documentation": "This example describes the specified Spot fleet request.", "input": { - "SpotFleetRequestIds": ["sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"] + "SpotFleetRequestIds": [ + "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE" + ] }, "output": { "SpotFleetRequestConfigs": [ @@ -37154,7 +37225,9 @@ "title": "To describe a Spot Instance request", "documentation": "This example describes the specified Spot Instance request.", "input": { - "SpotInstanceRequestIds": ["sir-08b93456"] + "SpotInstanceRequestIds": [ + "sir-08b93456" + ] }, "output": { "SpotInstanceRequests": [ @@ -37205,7 +37278,9 @@ "items": "SpotInstanceRequests", "pageSize": "MaxResults" }, - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "SpotInstanceRequestFulfilled": { "acceptors": [ @@ -37370,8 +37445,12 @@ "input": { "StartTime": "2014-01-06T07:08:09.05Z", "EndTime": "2014-01-06T08:09:10.05Z", - "InstanceTypes": ["m1.xlarge"], - "ProductDescriptions": ["Linux/UNIX (Amazon VPC)"] + "InstanceTypes": [ + "m1.xlarge" + ], + "ProductDescriptions": [ + "Linux/UNIX (Amazon VPC)" + ] }, "output": { "SpotPriceHistory": [ @@ -37758,7 +37837,9 @@ "Filters": [ { "Name": "vpc-id", - "Values": ["vpc-a01106c2"] + "Values": [ + "vpc-a01106c2" + ] } ] }, @@ -37901,7 +37982,9 @@ "Filters": [ { "Name": "resource-id", - "Values": ["i-1234567890abcdef8"] + "Values": [ + "i-1234567890abcdef8" + ] } ] }, @@ -39809,7 +39892,9 @@ "title": "To describe the status of a single volume", "documentation": "This example describes the status for the volume ``vol-1234567890abcdef0``.", "input": { - "VolumeIds": ["vol-1234567890abcdef0"] + "VolumeIds": [ + "vol-1234567890abcdef0" + ] }, "output": { "VolumeStatuses": [ @@ -39960,7 +40045,9 @@ "items": "Volumes", "pageSize": "MaxResults" }, - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "VolumeAvailable": { "acceptors": [ @@ -40979,7 +41066,9 @@ "items": "VpcPeeringConnections", "pageSize": "MaxResults" }, - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "VpcPeeringConnectionDeleted": { "acceptors": [ @@ -41117,7 +41206,9 @@ "title": "To describe a VPC", "documentation": "This example describes the specified VPC.", "input": { - "VpcIds": ["vpc-a01106c2"] + "VpcIds": [ + "vpc-a01106c2" + ] }, "output": { "Vpcs": [ @@ -41145,7 +41236,9 @@ "items": "Vpcs", "pageSize": "MaxResults" }, - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "VpcAvailable": { "acceptors": [ @@ -51610,7 +51703,9 @@ "NetworkInterfaces": [ { "DeviceIndex": 0, - "Groups": ["sg-d14e1bb4"], + "Groups": [ + "sg-d14e1bb4" + ], "Ipv6Addresses": [], "AssociatePublicIpAddress": false, "NetworkInterfaceId": "eni-4338b5a9", @@ -74037,7 +74132,9 @@ "SnapshotId": "snap-1234567890abcdef0", "Attribute": "createVolumePermission", "OperationType": "remove", - "UserIds": ["123456789012"] + "UserIds": [ + "123456789012" + ] }, "output": {} } @@ -82909,7 +83006,9 @@ "title": "To reboot an EC2 instance", "documentation": "This example reboots the specified EC2 instance.", "input": { - "InstanceIds": ["i-1234567890abcdef5"] + "InstanceIds": [ + "i-1234567890abcdef5" + ] }, "output": {} } @@ -85369,7 +85468,9 @@ "LaunchSpecification": { "ImageId": "ami-1a2b3c4d", "KeyName": "my-key-pair", - "SecurityGroupIds": ["sg-1a2b3c4d"], + "SecurityGroupIds": [ + "sg-1a2b3c4d" + ], "InstanceType": "m3.medium", "Placement": { "AvailabilityZone": "us-west-2a" @@ -89251,7 +89352,9 @@ "KeyName": "my-key-pair", "MaxCount": 1, "MinCount": 1, - "SecurityGroupIds": ["sg-1a2b3c4d"], + "SecurityGroupIds": [ + "sg-1a2b3c4d" + ], "SubnetId": "subnet-6e7f829e", "TagSpecifications": [ { @@ -93994,7 +94097,9 @@ "title": "To start a stopped EC2 instance", "documentation": "This example starts the specified EC2 instance.", "input": { - "InstanceIds": ["i-1234567890abcdef0"] + "InstanceIds": [ + "i-1234567890abcdef0" + ] }, "output": { "StartingInstances": [ @@ -94453,7 +94558,9 @@ "title": "To stop a running EC2 instance", "documentation": "This example stops the specified EC2 instance.", "input": { - "InstanceIds": ["i-1234567890abcdef0"] + "InstanceIds": [ + "i-1234567890abcdef0" + ] }, "output": { "StoppingInstances": [ @@ -95990,7 +96097,9 @@ "title": "To terminate an EC2 instance", "documentation": "This example terminates the specified EC2 instance.", "input": { - "InstanceIds": ["i-1234567890abcdef0"] + "InstanceIds": [ + "i-1234567890abcdef0" + ] }, "output": { "TerminatingInstances": [ @@ -100178,7 +100287,9 @@ "documentation": "This example unassigns the specified private IP address from the specified network interface.", "input": { "NetworkInterfaceId": "eni-e5aa89a3", - "PrivateIpAddresses": ["10.0.0.82"] + "PrivateIpAddresses": [ + "10.0.0.82" + ] } } ] @@ -105156,4 +105267,4 @@ "type": "integer" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/ecr-public.json b/codegen/sdk-codegen/aws-models/ecr-public.json index 7cd060562b7b9..87c761e1ef85e 100644 --- a/codegen/sdk-codegen/aws-models/ecr-public.json +++ b/codegen/sdk-codegen/aws-models/ecr-public.json @@ -3847,4 +3847,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/ecr.json b/codegen/sdk-codegen/aws-models/ecr.json index b045c48757bb9..316e57606364f 100644 --- a/codegen/sdk-codegen/aws-models/ecr.json +++ b/codegen/sdk-codegen/aws-models/ecr.json @@ -7480,4 +7480,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/ecs.json b/codegen/sdk-codegen/aws-models/ecs.json index 41ff64a582475..452c29c2ad965 100644 --- a/codegen/sdk-codegen/aws-models/ecs.json +++ b/codegen/sdk-codegen/aws-models/ecs.json @@ -4422,7 +4422,9 @@ "title": "To describe a cluster", "documentation": "This example provides a description of the specified cluster in your default region.", "input": { - "clusters": ["default"] + "clusters": [ + "default" + ] }, "output": { "clusters": [ @@ -4508,7 +4510,9 @@ "documentation": "This example provides a description of the specified container instance in your default region, using the container instance UUID as an identifier.", "input": { "cluster": "default", - "containerInstances": ["f2756532-8f13-4d53-87c9-aed50dc94cd7"] + "containerInstances": [ + "f2756532-8f13-4d53-87c9-aed50dc94cd7" + ] }, "output": { "failures": [], @@ -4534,7 +4538,12 @@ "name": "PORTS", "longValue": 0, "doubleValue": 0, - "stringSetValue": ["2376", "22", "51678", "2375"], + "stringSetValue": [ + "2376", + "22", + "51678", + "2375" + ], "type": "STRINGSET", "integerValue": 0 } @@ -4562,7 +4571,13 @@ "name": "PORTS", "longValue": 0, "doubleValue": 0, - "stringSetValue": ["2376", "22", "80", "51678", "2375"], + "stringSetValue": [ + "2376", + "22", + "80", + "51678", + "2375" + ], "type": "STRINGSET", "integerValue": 0 } @@ -4651,7 +4666,9 @@ "title": "To describe a service", "documentation": "This example provides descriptive information about the service named ``ecs-simple-service``.", "input": { - "services": ["ecs-simple-service"] + "services": [ + "ecs-simple-service" + ] }, "output": { "failures": [], @@ -4852,7 +4869,9 @@ { "mountPoints": [], "name": "wordpress", - "links": ["mysql"], + "links": [ + "mysql" + ], "image": "wordpress", "cpu": 10, "environment": [], @@ -5053,7 +5072,9 @@ "title": "To describe a task", "documentation": "This example provides a description of the specified task, using the task UUID as an identifier.", "input": { - "tasks": ["c5cba4eb-5dad-405e-96db-71ef8eefe6a8"] + "tasks": [ + "c5cba4eb-5dad-405e-96db-71ef8eefe6a8" + ] }, "output": { "failures": [], @@ -5929,7 +5950,9 @@ "documentation": "In this example, we get the protection status for a single task.", "input": { "cluster": "test-task-protection", - "tasks": ["b8b1cf532d0e46ba8d44a40d1de16772"] + "tasks": [ + "b8b1cf532d0e46ba8d44a40d1de16772" + ] }, "output": { "protectedTasks": [ @@ -6823,7 +6846,9 @@ "title": "To list the services in a cluster", "documentation": "This example lists the services running in the default cluster for an account.", "output": { - "serviceArns": ["arn:aws:ecs:us-east-1:012345678910:service/my-http-service"] + "serviceArns": [ + "arn:aws:ecs:us-east-1:012345678910:service/my-http-service" + ] } } ], @@ -7070,7 +7095,12 @@ "title": "To list your registered task definition families", "documentation": "This example lists all of your registered task definition families.", "output": { - "families": ["node-js-app", "web-timer", "hpcc", "hpcc-c4-8xlarge"] + "families": [ + "node-js-app", + "web-timer", + "hpcc", + "hpcc-c4-8xlarge" + ] } } ], @@ -8694,7 +8724,10 @@ "name": "sleep", "image": "busybox", "cpu": 10, - "command": ["sleep", "360"], + "command": [ + "sleep", + "360" + ], "memory": 10, "essential": true } @@ -8713,7 +8746,10 @@ "image": "busybox", "cpu": 10, "portMappings": [], - "command": ["sleep", "360"], + "command": [ + "sleep", + "360" + ], "memory": 10, "essential": true, "volumesFrom": [] @@ -11625,7 +11661,9 @@ "documentation": "This example deletes the 'team' tag from the 'dev' cluster.", "input": { "resourceArn": "arn:aws:ecs:region:aws_account_id:cluster/dev", - "tagKeys": ["team"] + "tagKeys": [ + "team" + ] }, "output": {} } @@ -12324,7 +12362,9 @@ "documentation": "This example enables scale-in protection for a task for 60 minutes.", "input": { "cluster": "test-task-protection", - "tasks": ["b8b1cf532d0e46ba8d44a40d1de16772"], + "tasks": [ + "b8b1cf532d0e46ba8d44a40d1de16772" + ], "protectionEnabled": true, "expiresInMinutes": 60 }, @@ -12586,4 +12626,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/efs.json b/codegen/sdk-codegen/aws-models/efs.json index 8cfea4c27f5c3..ddc1c14c89c36 100644 --- a/codegen/sdk-codegen/aws-models/efs.json +++ b/codegen/sdk-codegen/aws-models/efs.json @@ -1049,7 +1049,9 @@ "documentation": "This operation deletes tags for an EFS file system.", "input": { "FileSystemId": "fs-01234567", - "TagKeys": ["Name"] + "TagKeys": [ + "Name" + ] } } ], @@ -1542,7 +1544,9 @@ "MountTargetId": "fsmt-12340abc" }, "output": { - "SecurityGroups": ["sg-4567abcd"] + "SecurityGroups": [ + "sg-4567abcd" + ] } } ], @@ -3998,7 +4002,9 @@ "documentation": "This operation modifies the security groups associated with a mount target for a file system.", "input": { "MountTargetId": "fsmt-12340abc", - "SecurityGroups": ["sg-abcd1234"] + "SecurityGroups": [ + "sg-abcd1234" + ] } } ], @@ -5358,4 +5364,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/eks.json b/codegen/sdk-codegen/aws-models/eks.json index f69e2adfed06f..f0a9098baa307 100644 --- a/codegen/sdk-codegen/aws-models/eks.json +++ b/codegen/sdk-codegen/aws-models/eks.json @@ -2483,8 +2483,13 @@ "version": "1.10", "roleArn": "arn:aws:iam::012345678910:role/eks-service-role-AWSServiceRoleForAmazonEKS-J7ONKE3BQ4PI", "resourcesVpcConfig": { - "subnetIds": ["subnet-6782e71e", "subnet-e7e761ac"], - "securityGroupIds": ["sg-6979fe18"] + "subnetIds": [ + "subnet-6782e71e", + "subnet-e7e761ac" + ], + "securityGroupIds": [ + "sg-6979fe18" + ] }, "clientRequestToken": "1d2129a1-3d38-460a-9756-e5b91fddb951" }, @@ -3590,8 +3595,13 @@ "endpoint": "https://A0DCCD80A04F01705DD065655C30CC3D.yl4.us-west-2.eks.amazonaws.com", "roleArn": "arn:aws:iam::012345678910:role/eks-service-role-AWSServiceRoleForAmazonEKS-J7ONKE3BQ4PI", "resourcesVpcConfig": { - "subnetIds": ["subnet-6782e71e", "subnet-e7e761ac"], - "securityGroupIds": ["sg-6979fe18"], + "subnetIds": [ + "subnet-6782e71e", + "subnet-e7e761ac" + ], + "securityGroupIds": [ + "sg-6979fe18" + ], "vpcId": "vpc-950809ec" }, "status": "ACTIVE", @@ -4871,7 +4881,10 @@ "title": "To list your available clusters", "documentation": "This example command lists all of your available clusters in your default region.", "output": { - "clusters": ["devel", "prod"] + "clusters": [ + "devel", + "prod" + ] } } ], @@ -7782,4 +7795,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/elastic-beanstalk.json b/codegen/sdk-codegen/aws-models/elastic-beanstalk.json index 310981740ce26..784de555ad7ab 100644 --- a/codegen/sdk-codegen/aws-models/elastic-beanstalk.json +++ b/codegen/sdk-codegen/aws-models/elastic-beanstalk.json @@ -3429,7 +3429,9 @@ "documentation": "The following operation retrieves information about an application version labeled v2:", "input": { "ApplicationName": "my-app", - "VersionLabels": ["v2"] + "VersionLabels": [ + "v2" + ] }, "output": { "ApplicationVersions": [ @@ -3514,13 +3516,17 @@ "ApplicationName": "ruby", "ConfigurationTemplates": [], "DateUpdated": "2015-08-13T21:05:44.376Z", - "Versions": ["Sample Application"], + "Versions": [ + "Sample Application" + ], "DateCreated": "2015-08-13T21:05:44.376Z" }, { "ApplicationName": "pythonsample", "Description": "Application created from the EB CLI using \"eb init\"", - "Versions": ["Sample Application"], + "Versions": [ + "Sample Application" + ], "DateCreated": "2015-08-13T19:05:43.637Z", "ConfigurationTemplates": [], "DateUpdated": "2015-08-13T19:05:43.637Z" @@ -3529,7 +3535,10 @@ "ApplicationName": "nodejs-example", "ConfigurationTemplates": [], "DateUpdated": "2015-08-06T17:50:02.486Z", - "Versions": ["add elasticache", "First Release"], + "Versions": [ + "add elasticache", + "First Release" + ], "DateCreated": "2015-08-06T17:50:02.486Z" } ] @@ -3766,7 +3775,9 @@ "documentation": "The following operation retrieves overall health information for an environment named my-env:", "input": { "EnvironmentName": "my-env", - "AttributeNames": ["All"] + "AttributeNames": [ + "All" + ] }, "output": { "EnvironmentName": "my-env", @@ -4118,7 +4129,9 @@ "title": "To view information about an environment", "documentation": "The following operation retrieves information about an environment named my-env:", "input": { - "EnvironmentNames": ["my-env"] + "EnvironmentNames": [ + "my-env" + ] }, "output": { "Environments": [ @@ -4448,7 +4461,9 @@ "documentation": "The following operation retrieves health information for instances in an environment named my-env:", "input": { "EnvironmentName": "my-env", - "AttributeNames": ["All"] + "AttributeNames": [ + "All" + ] }, "output": { "InstanceHealthList": [ @@ -4475,7 +4490,11 @@ } }, "System": { - "LoadAverage": [0, 0.02, 0.05], + "LoadAverage": [ + 0, + 0.02, + 0.05 + ], "CPUUtilization": { "SoftIRQ": 0.1, "IOWait": 0.2, @@ -5824,7 +5843,9 @@ ], "SolutionStackDetails": [ { - "PermittedFileTypes": ["zip"], + "PermittedFileTypes": [ + "zip" + ], "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Node.js" } ] @@ -8661,4 +8682,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/elastic-inference.json b/codegen/sdk-codegen/aws-models/elastic-inference.json index f7356bdeefd60..1fdd803bd9398 100644 --- a/codegen/sdk-codegen/aws-models/elastic-inference.json +++ b/codegen/sdk-codegen/aws-models/elastic-inference.json @@ -1629,4 +1629,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.json b/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.json index 73711fd8932cf..644ba276f3aaf 100644 --- a/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.json +++ b/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.json @@ -970,7 +970,10 @@ "documentation": "This example creates an Internet-facing load balancer and enables the Availability Zones for the specified subnets.", "input": { "Name": "my-load-balancer", - "Subnets": ["subnet-b7d581c0", "subnet-8360a9e7"] + "Subnets": [ + "subnet-b7d581c0", + "subnet-8360a9e7" + ] }, "output": { "LoadBalancers": [ @@ -981,7 +984,9 @@ "Code": "provisioning" }, "DNSName": "my-load-balancer-424835706.us-west-2.elb.amazonaws.com", - "SecurityGroups": ["sg-5943793c"], + "SecurityGroups": [ + "sg-5943793c" + ], "LoadBalancerName": "my-load-balancer", "CreatedTime": "2016-03-25T21:26:12.920Z", "Scheme": "internet-facing", @@ -1147,7 +1152,9 @@ "Conditions": [ { "Field": "path-pattern", - "Values": ["/img/*"] + "Values": [ + "/img/*" + ] } ], "Priority": 10, @@ -1165,7 +1172,9 @@ "Conditions": [ { "Field": "path-pattern", - "Values": ["/img/*"] + "Values": [ + "/img/*" + ] } ], "RuleArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/9683b2d02a6cabee", @@ -2044,7 +2053,9 @@ "Code": "active" }, "DNSName": "my-load-balancer-424835706.us-west-2.elb.amazonaws.com", - "SecurityGroups": ["sg-5943793c"], + "SecurityGroups": [ + "sg-5943793c" + ], "LoadBalancerName": "my-load-balancer", "CreatedTime": "2016-03-25T21:26:12.920Z", "Scheme": "internet-facing", @@ -2070,7 +2081,9 @@ "outputToken": "NextMarker", "items": "LoadBalancers" }, - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "LoadBalancerAvailable": { "acceptors": [ @@ -2233,7 +2246,9 @@ "Conditions": [ { "Field": "path-pattern", - "Values": ["/img/*"] + "Values": [ + "/img/*" + ] } ], "RuleArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/9683b2d02a6cabee", @@ -2323,12 +2338,18 @@ "title": "To describe a policy used for SSL negotiation", "documentation": "This example describes the specified policy used for SSL negotiation.", "input": { - "Names": ["ELBSecurityPolicy-2015-05"] + "Names": [ + "ELBSecurityPolicy-2015-05" + ] }, "output": { "SslPolicies": [ { - "SslProtocols": ["TLSv1", "TLSv1.1", "TLSv1.2"], + "SslProtocols": [ + "TLSv1", + "TLSv1.1", + "TLSv1.2" + ], "Ciphers": [ { "Priority": 1, @@ -2798,7 +2819,9 @@ } } ], - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "TargetDeregistered": { "acceptors": [ @@ -5210,7 +5233,9 @@ "Conditions": [ { "Field": "path-pattern", - "Values": ["/images/*"] + "Values": [ + "/images/*" + ] } ] }, @@ -5221,7 +5246,9 @@ "Conditions": [ { "Field": "path-pattern", - "Values": ["/images/*"] + "Values": [ + "/images/*" + ] } ], "RuleArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/9683b2d02a6cabee", @@ -5936,7 +5963,10 @@ "ResourceArns": [ "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188" ], - "TagKeys": ["project", "department"] + "TagKeys": [ + "project", + "department" + ] } } ] @@ -6290,7 +6320,9 @@ "Conditions": [ { "Field": "path-pattern", - "Values": ["/img/*"] + "Values": [ + "/img/*" + ] } ], "RuleArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/1291d13826f405c3", @@ -6364,10 +6396,14 @@ "documentation": "This example associates the specified security group with the specified load balancer.", "input": { "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188", - "SecurityGroups": ["sg-5943793c"] + "SecurityGroups": [ + "sg-5943793c" + ] }, "output": { - "SecurityGroupIds": ["sg-5943793c"] + "SecurityGroupIds": [ + "sg-5943793c" + ] } } ] @@ -6457,7 +6493,10 @@ "documentation": "This example enables the Availability Zones for the specified subnets for the specified load balancer.", "input": { "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188", - "Subnets": ["subnet-8360a9e7", "subnet-b7d581c0"] + "Subnets": [ + "subnet-8360a9e7", + "subnet-b7d581c0" + ] }, "output": { "AvailabilityZones": [ @@ -7475,4 +7514,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/elastic-load-balancing.json b/codegen/sdk-codegen/aws-models/elastic-load-balancing.json index d4984bc69884e..9117f2c5920ad 100644 --- a/codegen/sdk-codegen/aws-models/elastic-load-balancing.json +++ b/codegen/sdk-codegen/aws-models/elastic-load-balancing.json @@ -165,7 +165,9 @@ "title": "To add tags to a load balancer", "documentation": "This example adds two tags to the specified load balancer.", "input": { - "LoadBalancerNames": ["my-load-balancer"], + "LoadBalancerNames": [ + "my-load-balancer" + ], "Tags": [ { "Key": "project", @@ -317,10 +319,14 @@ "documentation": "This example associates a security group with the specified load balancer in a VPC.", "input": { "LoadBalancerName": "my-load-balancer", - "SecurityGroups": ["sg-fc448899"] + "SecurityGroups": [ + "sg-fc448899" + ] }, "output": { - "SecurityGroups": ["sg-fc448899"] + "SecurityGroups": [ + "sg-fc448899" + ] } } ] @@ -394,10 +400,15 @@ "documentation": "This example adds the specified subnet to the set of configured subnets for the specified load balancer.", "input": { "LoadBalancerName": "my-load-balancer", - "Subnets": ["subnet-0ecac448"] + "Subnets": [ + "subnet-0ecac448" + ] }, "output": { - "Subnets": ["subnet-15aaab61", "subnet-0ecac448"] + "Subnets": [ + "subnet-15aaab61", + "subnet-0ecac448" + ] } } ] @@ -917,8 +928,12 @@ "InstancePort": 80 } ], - "Subnets": ["subnet-15aaab61"], - "SecurityGroups": ["sg-a61988c3"] + "Subnets": [ + "subnet-15aaab61" + ], + "SecurityGroups": [ + "sg-a61988c3" + ] }, "output": { "DNSName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com" @@ -1222,7 +1237,9 @@ "documentation": "This example deletes the listener for the specified port from the specified load balancer.", "input": { "LoadBalancerName": "my-load-balancer", - "LoadBalancerPorts": [80] + "LoadBalancerPorts": [ + 80 + ] } } ] @@ -1568,7 +1585,9 @@ } } ], - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "AnyInstanceInService": { "acceptors": [ @@ -1731,7 +1750,9 @@ "documentation": "This example describes the specified policy associated with the specified load balancer.", "input": { "LoadBalancerName": "my-load-balancer", - "PolicyNames": ["my-authentication-policy"] + "PolicyNames": [ + "my-authentication-policy" + ] }, "output": { "PolicyDescriptions": [ @@ -1807,7 +1828,9 @@ "title": "To describe a load balancer policy type defined by Elastic Load Balancing", "documentation": "This example describes the specified load balancer policy type.", "input": { - "PolicyTypeNames": ["ProxyProtocolPolicyType"] + "PolicyTypeNames": [ + "ProxyProtocolPolicyType" + ] }, "output": { "PolicyTypeDescriptions": [ @@ -1881,12 +1904,16 @@ "title": "To describe one of your load balancers", "documentation": "This example describes the specified load balancer.", "input": { - "LoadBalancerNames": ["my-load-balancer"] + "LoadBalancerNames": [ + "my-load-balancer" + ] }, "output": { "LoadBalancerDescriptions": [ { - "Subnets": ["subnet-15aaab61"], + "Subnets": [ + "subnet-15aaab61" + ], "CanonicalHostedZoneNameID": "Z3DZXE0EXAMPLE", "CanonicalHostedZoneName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com", "ListenerDescriptions": [ @@ -1907,7 +1934,9 @@ "Protocol": "HTTPS", "InstanceProtocol": "HTTPS" }, - "PolicyNames": ["ELBSecurityPolicy-2015-03"] + "PolicyNames": [ + "ELBSecurityPolicy-2015-03" + ] } ], "HealthCheck": { @@ -1921,7 +1950,9 @@ "BackendServerDescriptions": [ { "InstancePort": 80, - "PolicyNames": ["my-ProxyProtocol-policy"] + "PolicyNames": [ + "my-ProxyProtocol-policy" + ] } ], "Instances": [ @@ -1933,7 +1964,9 @@ } ], "DNSName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com", - "SecurityGroups": ["sg-a61988c3"], + "SecurityGroups": [ + "sg-a61988c3" + ], "Policies": { "LBCookieStickinessPolicies": [ { @@ -1952,7 +1985,9 @@ }, "LoadBalancerName": "my-load-balancer", "CreatedTime": "2015-03-19T03:24:02.650Z", - "AvailabilityZones": ["us-west-2a"], + "AvailabilityZones": [ + "us-west-2a" + ], "Scheme": "internet-facing", "SourceSecurityGroup": { "OwnerAlias": "123456789012", @@ -1990,7 +2025,9 @@ "title": "To describe the tags for a load balancer", "documentation": "This example describes the tags for the specified load balancer.", "input": { - "LoadBalancerNames": ["my-load-balancer"] + "LoadBalancerNames": [ + "my-load-balancer" + ] }, "output": { "TagDescriptions": [ @@ -2071,10 +2108,14 @@ "documentation": "This example detaches the specified load balancer from the specified subnet.", "input": { "LoadBalancerName": "my-load-balancer", - "Subnets": ["subnet-0ecac448"] + "Subnets": [ + "subnet-0ecac448" + ] }, "output": { - "Subnets": ["subnet-15aaab61"] + "Subnets": [ + "subnet-15aaab61" + ] } } ] @@ -2142,10 +2183,14 @@ "documentation": "This example removes the specified Availability Zone from the set of Availability Zones for the specified load balancer.", "input": { "LoadBalancerName": "my-load-balancer", - "AvailabilityZones": ["us-west-2a"] + "AvailabilityZones": [ + "us-west-2a" + ] }, "output": { - "AvailabilityZones": ["us-west-2b"] + "AvailabilityZones": [ + "us-west-2b" + ] } } ] @@ -3369,10 +3414,15 @@ "documentation": "This example adds the specified Availability Zone to the specified load balancer.", "input": { "LoadBalancerName": "my-load-balancer", - "AvailabilityZones": ["us-west-2b"] + "AvailabilityZones": [ + "us-west-2b" + ] }, "output": { - "AvailabilityZones": ["us-west-2a", "us-west-2b"] + "AvailabilityZones": [ + "us-west-2a", + "us-west-2b" + ] } } ] @@ -4476,7 +4526,9 @@ "title": "To remove tags from a load balancer", "documentation": "This example removes the specified tag from the specified load balancer.", "input": { - "LoadBalancerNames": ["my-load-balancer"], + "LoadBalancerNames": [ + "my-load-balancer" + ], "Tags": [ { "Key": "project" @@ -4646,7 +4698,9 @@ "input": { "LoadBalancerName": "my-load-balancer", "InstancePort": 80, - "PolicyNames": ["my-ProxyProtocol-policy"] + "PolicyNames": [ + "my-ProxyProtocol-policy" + ] } } ] @@ -4721,7 +4775,9 @@ "input": { "LoadBalancerName": "my-load-balancer", "LoadBalancerPort": 80, - "PolicyNames": ["my-SSLNegotiation-policy"] + "PolicyNames": [ + "my-SSLNegotiation-policy" + ] } } ] @@ -5000,4 +5056,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/elastic-transcoder.json b/codegen/sdk-codegen/aws-models/elastic-transcoder.json index 42af6074927b9..7cb7759c58a44 100644 --- a/codegen/sdk-codegen/aws-models/elastic-transcoder.json +++ b/codegen/sdk-codegen/aws-models/elastic-transcoder.json @@ -4503,4 +4503,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/elasticache.json b/codegen/sdk-codegen/aws-models/elasticache.json index aef495613f9d6..39b48b4555732 100644 --- a/codegen/sdk-codegen/aws-models/elasticache.json +++ b/codegen/sdk-codegen/aws-models/elasticache.json @@ -3717,7 +3717,11 @@ "input": { "CacheSubnetGroupName": "my-sn-grp2", "CacheSubnetGroupDescription": "Sample subnet group", - "SubnetIds": ["subnet-6f28c982", "subnet-bcd382f3", "subnet-845b3e7c0"] + "SubnetIds": [ + "subnet-6f28c982", + "subnet-bcd382f3", + "subnet-845b3e7c0" + ] }, "output": { "CacheSubnetGroup": { @@ -3955,7 +3959,11 @@ "ReplicationGroupId": "my-redis-rg", "AutomaticFailover": "enabling", "SnapshottingClusterId": "my-redis-rg-002", - "MemberClusters": ["my-redis-rg-001", "my-redis-rg-002", "my-redis-rg-003"], + "MemberClusters": [ + "my-redis-rg-001", + "my-redis-rg-002", + "my-redis-rg-003" + ], "PendingModifiedValues": {} } } @@ -5416,7 +5424,9 @@ "items": "CacheClusters", "pageSize": "MaxRecords" }, - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "CacheClusterAvailable": { "documentation": "Wait until ElastiCache cluster is available.", @@ -10203,7 +10213,9 @@ "documentation": "Modifies an existing ElastiCache subnet group.", "input": { "CacheSubnetGroupName": "my-sn-grp", - "SubnetIds": ["subnet-bcde2345"] + "SubnetIds": [ + "subnet-bcde2345" + ] }, "output": { "CacheSubnetGroup": { @@ -10494,7 +10506,11 @@ "ReplicationGroupId": "my-redis-rg", "AutomaticFailover": "enabled", "SnapshottingClusterId": "my-redis-rg-002", - "MemberClusters": ["my-redis-rg-001", "my-redis-rg-002", "my-redis-rg-003"], + "MemberClusters": [ + "my-redis-rg-001", + "my-redis-rg-002", + "my-redis-rg-003" + ], "PendingModifiedValues": {} } } @@ -11975,7 +11991,10 @@ "documentation": "Reboots the specified nodes in the names cluster.", "input": { "CacheClusterId": "custom-mem1-4 ", - "CacheNodeIdsToReboot": ["0001", "0002"] + "CacheNodeIdsToReboot": [ + "0001", + "0002" + ] }, "output": { "CacheCluster": { @@ -12170,7 +12189,11 @@ "documentation": "Removes tags identified by a list of tag keys from the list of tags on the specified resource.", "input": { "ResourceName": "arn:aws:elasticache:us-east-1:1234567890:cluster:my-mem-cluster", - "TagKeys": ["A", "C", "E"] + "TagKeys": [ + "A", + "C", + "E" + ] }, "output": { "TagList": [ @@ -14715,4 +14738,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/elasticsearch-service.json b/codegen/sdk-codegen/aws-models/elasticsearch-service.json index c254e270b2548..9afe593891026 100644 --- a/codegen/sdk-codegen/aws-models/elasticsearch-service.json +++ b/codegen/sdk-codegen/aws-models/elasticsearch-service.json @@ -9539,4 +9539,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/emr-containers.json b/codegen/sdk-codegen/aws-models/emr-containers.json index 76905f3d52f82..bdb54345dab02 100644 --- a/codegen/sdk-codegen/aws-models/emr-containers.json +++ b/codegen/sdk-codegen/aws-models/emr-containers.json @@ -4276,4 +4276,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/emr-serverless.json b/codegen/sdk-codegen/aws-models/emr-serverless.json index 4bb75e5cd8e72..b579c1d3fac20 100644 --- a/codegen/sdk-codegen/aws-models/emr-serverless.json +++ b/codegen/sdk-codegen/aws-models/emr-serverless.json @@ -421,7 +421,12 @@ "x-amzn-platform-id", "x-amzn-trace-id" ], - "additionalExposedHeaders": ["x-amzn-errortype", "x-amzn-requestid", "x-amzn-trace-id", "x-amz-apigw-id"] + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id", + "x-amz-apigw-id" + ] }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Amazon EMR Serverless is a new deployment option for Amazon EMR. Amazon EMR Serverless provides a serverless runtime environment that simplifies running\n analytics applications using the latest open source frameworks such as Apache Spark and\n Apache Hive. With Amazon EMR Serverless, you don’t have to configure, optimize,\n secure, or operate clusters to run applications with these frameworks.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    The API reference to Amazon EMR Serverless is emr-serverless. The\n emr-serverless prefix is used in the following scenarios:

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      It is the prefix in the CLI commands for Amazon EMR Serverless. For\n example, aws emr-serverless start-job-run.

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      It is the prefix before IAM policy actions for Amazon EMR Serverless. For\n example, \"Action\": [\"emr-serverless:StartJobRun\"]. For more information,\n see Policy actions for Amazon EMR Serverless.

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      It is the prefix used in Amazon EMR Serverless service endpoints. For\n example, emr-serverless.us-east-2.amazonaws.com.

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#title": "EMR Serverless", @@ -3551,4 +3556,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/emr.json b/codegen/sdk-codegen/aws-models/emr.json index dab43bdf0481a..e08217697fa10 100644 --- a/codegen/sdk-codegen/aws-models/emr.json +++ b/codegen/sdk-codegen/aws-models/emr.json @@ -10375,4 +10375,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/entityresolution.json b/codegen/sdk-codegen/aws-models/entityresolution.json index 6c8bd2f49ed1b..bcf90e9768104 100644 --- a/codegen/sdk-codegen/aws-models/entityresolution.json +++ b/codegen/sdk-codegen/aws-models/entityresolution.json @@ -73,7 +73,11 @@ "x-amzn-platform-id", "x-amzn-trace-id" ], - "additionalExposedHeaders": ["x-amzn-errortype", "x-amzn-requestid", "x-amzn-trace-id"], + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id" + ], "maxAge": 86400 }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Welcome to the AWS Entity Resolution API Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    AWS Entity Resolution is an AWS service that provides pre-configured entity resolution capabilities \n that enable developers and analysts at advertising and marketing companies to build an accurate and \n complete view of their consumers.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n With AWS Entity Resolution, you have the ability to match source records containing consumer identifiers, \n such as name, email address, and phone number. This holds true even when these records have incomplete or \n conflicting identifiers. For example, AWS Entity Resolution can effectively match a source record from a \n customer relationship management (CRM) system, which includes account information like first name, last name, \n postal address, phone number, and email address, with a source record from a marketing system containing \n campaign information, such as username and email address.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    To learn more about AWS Entity Resolution concepts, procedures, and best practices, see the\n AWS Entity Resolution \n User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", @@ -3076,4 +3080,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/eventbridge.json b/codegen/sdk-codegen/aws-models/eventbridge.json index ca1019bd6ec0e..898186b3e1029 100644 --- a/codegen/sdk-codegen/aws-models/eventbridge.json +++ b/codegen/sdk-codegen/aws-models/eventbridge.json @@ -333,7 +333,9 @@ { "name": "sigv4a", "signingName": "events", - "signingRegionSet": ["*"] + "signingRegionSet": [ + "*" + ] } ] }, @@ -384,7 +386,9 @@ { "name": "sigv4a", "signingName": "events", - "signingRegionSet": ["*"] + "signingRegionSet": [ + "*" + ] } ] }, @@ -410,7 +414,9 @@ { "name": "sigv4a", "signingName": "events", - "signingRegionSet": ["*"] + "signingRegionSet": [ + "*" + ] } ] }, @@ -1439,7 +1445,9 @@ { "signingName": "events", "name": "sigv4a", - "signingRegionSet": ["*"] + "signingRegionSet": [ + "*" + ] } ] }, @@ -1528,7 +1536,9 @@ { "signingName": "events", "name": "sigv4a", - "signingRegionSet": ["*"] + "signingRegionSet": [ + "*" + ] } ] }, @@ -1551,7 +1561,9 @@ { "signingName": "events", "name": "sigv4a", - "signingRegionSet": ["*"] + "signingRegionSet": [ + "*" + ] } ] }, @@ -9540,4 +9552,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/evidently.json b/codegen/sdk-codegen/aws-models/evidently.json index 6ef888309440e..f308f69444592 100644 --- a/codegen/sdk-codegen/aws-models/evidently.json +++ b/codegen/sdk-codegen/aws-models/evidently.json @@ -62,7 +62,9 @@ "uri": "/projects/{project}/evaluations", "code": 200 }, - "smithy.api#tags": ["dataplane"] + "smithy.api#tags": [ + "dataplane" + ] } }, "com.amazonaws.evidently#BatchEvaluateFeatureRequest": { @@ -1045,7 +1047,9 @@ "uri": "/projects/{project}/evaluations/{feature}", "code": 200 }, - "smithy.api#tags": ["dataplane"] + "smithy.api#tags": [ + "dataplane" + ] } }, "com.amazonaws.evidently#EvaluateFeatureRequest": { @@ -4904,7 +4908,9 @@ "uri": "/events/projects/{project}", "code": 200 }, - "smithy.api#tags": ["dataplane"] + "smithy.api#tags": [ + "dataplane" + ] } }, "com.amazonaws.evidently#PutProjectEventsRequest": { @@ -6860,4 +6866,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/finspace-data.json b/codegen/sdk-codegen/aws-models/finspace-data.json index 00f080725a661..2ac6eb7f240d7 100644 --- a/codegen/sdk-codegen/aws-models/finspace-data.json +++ b/codegen/sdk-codegen/aws-models/finspace-data.json @@ -5654,4 +5654,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/finspace.json b/codegen/sdk-codegen/aws-models/finspace.json index bf8aa46aecfe7..74e4e66a560ca 100644 --- a/codegen/sdk-codegen/aws-models/finspace.json +++ b/codegen/sdk-codegen/aws-models/finspace.json @@ -6805,4 +6805,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/firehose.json b/codegen/sdk-codegen/aws-models/firehose.json index 76fda4ec6c5b7..da3b7edd2da79 100644 --- a/codegen/sdk-codegen/aws-models/firehose.json +++ b/codegen/sdk-codegen/aws-models/firehose.json @@ -6291,4 +6291,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/fis.json b/codegen/sdk-codegen/aws-models/fis.json index e1b426df115e5..fbd0eec84eeda 100644 --- a/codegen/sdk-codegen/aws-models/fis.json +++ b/codegen/sdk-codegen/aws-models/fis.json @@ -3960,4 +3960,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/fms.json b/codegen/sdk-codegen/aws-models/fms.json index 36a823bca29e0..4c0e9e1288d44 100644 --- a/codegen/sdk-codegen/aws-models/fms.json +++ b/codegen/sdk-codegen/aws-models/fms.json @@ -8187,4 +8187,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/forecast.json b/codegen/sdk-codegen/aws-models/forecast.json index f2b4d7e194eea..d7731c55dccfe 100644 --- a/codegen/sdk-codegen/aws-models/forecast.json +++ b/codegen/sdk-codegen/aws-models/forecast.json @@ -9034,4 +9034,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/forecastquery.json b/codegen/sdk-codegen/aws-models/forecastquery.json index d4c2c84074b2a..1bfb941af18b6 100644 --- a/codegen/sdk-codegen/aws-models/forecastquery.json +++ b/codegen/sdk-codegen/aws-models/forecastquery.json @@ -1189,4 +1189,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/frauddetector.json b/codegen/sdk-codegen/aws-models/frauddetector.json index 9047f735a7cc4..e50fba95674a9 100644 --- a/codegen/sdk-codegen/aws-models/frauddetector.json +++ b/codegen/sdk-codegen/aws-models/frauddetector.json @@ -10020,4 +10020,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/fsx.json b/codegen/sdk-codegen/aws-models/fsx.json index a7d29b291290d..e4ea0524a3b7d 100644 --- a/codegen/sdk-codegen/aws-models/fsx.json +++ b/codegen/sdk-codegen/aws-models/fsx.json @@ -10424,7 +10424,9 @@ "documentation": "This operation untags an Amazon FSx resource.", "input": { "ResourceARN": "arn:aws:fsx:us-east-1:012345678912:file-system/fs-0498eed5fe91001ec", - "TagKeys": ["Name"] + "TagKeys": [ + "Name" + ] } } ], @@ -11812,4 +11814,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/gamelift.json b/codegen/sdk-codegen/aws-models/gamelift.json index 5226813ce1d0a..a2d11bf647f0d 100644 --- a/codegen/sdk-codegen/aws-models/gamelift.json +++ b/codegen/sdk-codegen/aws-models/gamelift.json @@ -15805,4 +15805,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/gamesparks.json b/codegen/sdk-codegen/aws-models/gamesparks.json index 10c5300c76256..16dc62ab9c327 100644 --- a/codegen/sdk-codegen/aws-models/gamesparks.json +++ b/codegen/sdk-codegen/aws-models/gamesparks.json @@ -4457,4 +4457,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/glacier.json b/codegen/sdk-codegen/aws-models/glacier.json index a5d502c4a8aee..be3ecebd1f834 100644 --- a/codegen/sdk-codegen/aws-models/glacier.json +++ b/codegen/sdk-codegen/aws-models/glacier.json @@ -5133,4 +5133,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/global-accelerator.json b/codegen/sdk-codegen/aws-models/global-accelerator.json index 64c899d4fb601..792e6b3f27c5e 100644 --- a/codegen/sdk-codegen/aws-models/global-accelerator.json +++ b/codegen/sdk-codegen/aws-models/global-accelerator.json @@ -5745,4 +5745,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/glue.json b/codegen/sdk-codegen/aws-models/glue.json index 66bcffe10f121..c0a0449a42444 100644 --- a/codegen/sdk-codegen/aws-models/glue.json +++ b/codegen/sdk-codegen/aws-models/glue.json @@ -35148,4 +35148,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/grafana.json b/codegen/sdk-codegen/aws-models/grafana.json index 32a2bbf12ac4b..ae78362070073 100644 --- a/codegen/sdk-codegen/aws-models/grafana.json +++ b/codegen/sdk-codegen/aws-models/grafana.json @@ -2482,7 +2482,9 @@ }, "aws.cloudformation#cfnResource": { "name": "Permission", - "additionalSchemas": ["com.amazonaws.grafana#UpdatePermissionsResponse"] + "additionalSchemas": [ + "com.amazonaws.grafana#UpdatePermissionsResponse" + ] } } }, @@ -3985,4 +3987,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/greengrass.json b/codegen/sdk-codegen/aws-models/greengrass.json index 6b3a51a1c7380..5cc960e6d2114 100644 --- a/codegen/sdk-codegen/aws-models/greengrass.json +++ b/codegen/sdk-codegen/aws-models/greengrass.json @@ -9628,4 +9628,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/greengrassv2.json b/codegen/sdk-codegen/aws-models/greengrassv2.json index 605552f04a90f..e02f770d648d3 100644 --- a/codegen/sdk-codegen/aws-models/greengrassv2.json +++ b/codegen/sdk-codegen/aws-models/greengrassv2.json @@ -5963,4 +5963,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/groundstation.json b/codegen/sdk-codegen/aws-models/groundstation.json index f55ca1418ab96..14724c2693ee1 100644 --- a/codegen/sdk-codegen/aws-models/groundstation.json +++ b/codegen/sdk-codegen/aws-models/groundstation.json @@ -6194,4 +6194,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/guardduty.json b/codegen/sdk-codegen/aws-models/guardduty.json index 2dfe735ac6026..c920be4bd6c3c 100644 --- a/codegen/sdk-codegen/aws-models/guardduty.json +++ b/codegen/sdk-codegen/aws-models/guardduty.json @@ -13686,4 +13686,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/health.json b/codegen/sdk-codegen/aws-models/health.json index b47f3c92a2b22..461e66a70c220 100644 --- a/codegen/sdk-codegen/aws-models/health.json +++ b/codegen/sdk-codegen/aws-models/health.json @@ -3148,4 +3148,4 @@ "type": "timestamp" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/healthlake.json b/codegen/sdk-codegen/aws-models/healthlake.json index e743a06a37ed2..c84969c90a703 100644 --- a/codegen/sdk-codegen/aws-models/healthlake.json +++ b/codegen/sdk-codegen/aws-models/healthlake.json @@ -2613,4 +2613,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/honeycode.json b/codegen/sdk-codegen/aws-models/honeycode.json index 11302a0b6c4d6..6796d7f52885e 100644 --- a/codegen/sdk-codegen/aws-models/honeycode.json +++ b/codegen/sdk-codegen/aws-models/honeycode.json @@ -3709,4 +3709,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/iam.json b/codegen/sdk-codegen/aws-models/iam.json index 0e4be538b719f..c4073b1ed7ca8 100644 --- a/codegen/sdk-codegen/aws-models/iam.json +++ b/codegen/sdk-codegen/aws-models/iam.json @@ -2997,8 +2997,12 @@ "title": "To create an instance profile", "documentation": "The following example defines a new OIDC provider in IAM with a client ID of my-application-id and pointing at the server with a URL of https://server.example.com.", "input": { - "ClientIDList": ["my-application-id"], - "ThumbprintList": ["3768084dfb3d2b68b7897bf5f565da8efEXAMPLE"], + "ClientIDList": [ + "my-application-id" + ], + "ThumbprintList": [ + "3768084dfb3d2b68b7897bf5f565da8efEXAMPLE" + ], "Url": "https://server.example.com" }, "output": { @@ -6699,7 +6703,9 @@ ], "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Retrieves information about the specified managed policy, including the policy's\n default version and the total number of IAM users, groups, and roles to which the\n policy is attached. To retrieve the list of the specific users, groups, and roles that\n the policy is attached to, use ListEntitiesForPolicy. This operation\n returns metadata about the policy. To retrieve the actual policy document for a specific\n version of the policy, use GetPolicyVersion.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    This operation retrieves information about managed policies. To retrieve information\n about an inline policy that is embedded with an IAM user, group, or role, use GetUserPolicy, GetGroupPolicy, or GetRolePolicy.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    For more information about policies, see Managed policies and inline\n policies in the IAM User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "PolicyExists": { "acceptors": [ @@ -6853,7 +6859,9 @@ } } ], - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "RoleExists": { "acceptors": [ @@ -7542,7 +7550,9 @@ } } ], - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "UserExists": { "acceptors": [ @@ -8063,7 +8073,9 @@ "title": "To list account aliases", "documentation": "The following command lists the aliases for the current account.", "output": { - "AccountAliases": ["exmaple-corporation"] + "AccountAliases": [ + "exmaple-corporation" + ] } } ], @@ -8533,7 +8545,10 @@ "GroupName": "Admins" }, "output": { - "PolicyNames": ["AdminRoot", "KeyPolicy"] + "PolicyNames": [ + "AdminRoot", + "KeyPolicy" + ] } } ], @@ -9395,7 +9410,10 @@ "documentation": "The following operation lists policies that allow ExampleUser01 to access IAM or EC2.", "input": { "Arn": "arn:aws:iam::123456789012:user/ExampleUser01", - "ServiceNamespaces": ["iam", "ec2"] + "ServiceNamespaces": [ + "iam", + "ec2" + ] }, "output": { "IsTruncated": false, @@ -14182,7 +14200,9 @@ "documentation": "The following example shows how to remove a tag with the key 'Dept' from a role named 'taggedrole'.", "input": { "RoleName": "taggedrole", - "TagKeys": ["Dept"] + "TagKeys": [ + "Dept" + ] } } ] @@ -14333,7 +14353,9 @@ "documentation": "The following example shows how to remove tags that are attached to a user named 'anika'.", "input": { "UserName": "anika", - "TagKeys": ["Dept"] + "TagKeys": [ + "Dept" + ] } } ] @@ -16822,4 +16844,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/identitystore.json b/codegen/sdk-codegen/aws-models/identitystore.json index 377b4ee756e8a..2f1def20817eb 100644 --- a/codegen/sdk-codegen/aws-models/identitystore.json +++ b/codegen/sdk-codegen/aws-models/identitystore.json @@ -3285,4 +3285,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/imagebuilder.json b/codegen/sdk-codegen/aws-models/imagebuilder.json index ad6e4509e7304..75919f0291db7 100644 --- a/codegen/sdk-codegen/aws-models/imagebuilder.json +++ b/codegen/sdk-codegen/aws-models/imagebuilder.json @@ -11100,4 +11100,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/inspector.json b/codegen/sdk-codegen/aws-models/inspector.json index b856f47cb6061..616bb1f7b640c 100644 --- a/codegen/sdk-codegen/aws-models/inspector.json +++ b/codegen/sdk-codegen/aws-models/inspector.json @@ -1556,7 +1556,9 @@ "assessmentTargetArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX", "assessmentTemplateName": "ExampleAssessmentTemplate", "durationInSeconds": 180, - "rulesPackageArns": ["arn:aws:inspector:us-west-2:758058086616:rulespackage/0-11B9DBXp"], + "rulesPackageArns": [ + "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-11B9DBXp" + ], "userAttributesForFindings": [ { "key": "Example", @@ -2357,7 +2359,9 @@ "title": "Describe rules packages", "documentation": "Describes the rules packages that are specified by the ARNs of the rules packages.", "input": { - "rulesPackageArns": ["arn:aws:inspector:us-west-2:758058086616:rulespackage/0-JJOtZiqQ"] + "rulesPackageArns": [ + "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-JJOtZiqQ" + ] }, "output": { "rulesPackages": [ @@ -5251,7 +5255,9 @@ "maxResults": 123 }, "output": { - "assessmentTargetArns": ["arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq"], + "assessmentTargetArns": [ + "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq" + ], "nextToken": "1" } } @@ -5339,7 +5345,9 @@ "title": "List assessment templates", "documentation": "Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.", "input": { - "assessmentTargetArns": ["arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq"], + "assessmentTargetArns": [ + "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq" + ], "maxResults": 123 }, "output": { @@ -6354,7 +6362,9 @@ "findingArns": [ "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-8l1VIE0D/run/0-Z02cjjug/finding/0-T8yM9mEU" ], - "attributeKeys": ["key=Example,value=example"] + "attributeKeys": [ + "key=Example,value=example" + ] }, "output": { "failedItems": {} @@ -7449,4 +7459,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/inspector2.json b/codegen/sdk-codegen/aws-models/inspector2.json index 1ab3df669618d..67e68a88ba78b 100644 --- a/codegen/sdk-codegen/aws-models/inspector2.json +++ b/codegen/sdk-codegen/aws-models/inspector2.json @@ -1200,14 +1200,23 @@ "severity": "Low" } ], - "ttps": ["TA0001", "TA0002"], - "tools": ["Metasploit"], + "ttps": [ + "TA0001", + "TA0002" + ], + "tools": [ + "Metasploit" + ], "exploitObserved": { "lastSeen": 1688580990, "firstSeen": 1688580800 }, - "referenceUrls": ["https://nvd.nist.gov/vuln/detail/CVE-2019-20367"], - "cwes": ["cwe-1234"], + "referenceUrls": [ + "https://nvd.nist.gov/vuln/detail/CVE-2019-20367" + ], + "cwes": [ + "cwe-1234" + ], "epssScore": 0.85 } ], @@ -5812,7 +5821,9 @@ }, "aws.protocols#restJson1": {}, "smithy.api#cors": { - "additionalAllowedHeaders": ["*"] + "additionalAllowedHeaders": [ + "*" + ] }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Amazon Inspector is a vulnerability discovery service that automates continuous scanning for\n security vulnerabilities within your Amazon EC2 and Amazon ECR environments.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#title": "Inspector2", @@ -11485,4 +11496,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/internetmonitor.json b/codegen/sdk-codegen/aws-models/internetmonitor.json index 548fcf7bd5d57..41a0d1a3fd76c 100644 --- a/codegen/sdk-codegen/aws-models/internetmonitor.json +++ b/codegen/sdk-codegen/aws-models/internetmonitor.json @@ -105,7 +105,10 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:RequestTag/${TagKey}", "aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:RequestTag/${TagKey}", + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Creates a monitor in Amazon CloudWatch Internet Monitor. A monitor is built based on information from the application resources that you add: VPCs,\n\t\t\tNetwork Load Balancers (NLBs), Amazon CloudFront distributions, and Amazon WorkSpaces directories. Internet Monitor then publishes internet measurements from Amazon Web Services \n\t\t\tthat are specific to the city-networks. That is, the locations and ASNs (typically internet service providers or ISPs),\n\t\t\twhere clients access your application. For more information, see Using Amazon CloudWatch Internet Monitor in the Amazon CloudWatch User \n\t\t\t\t\tGuide.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    When you create a monitor, you choose the percentage of traffic that you want to monitor. You can also set a maximum limit for the \n\t\t\tnumber of city-networks where client traffic is monitored, that caps the total traffic that Internet Monitor monitors. A city-network \n\t\t\tmaximum is the limit of city-networks, but you only pay for the number of city-networks that are actually monitored. You can update your monitor\n\t\t\tat any time to change the percentage of traffic to monitor or the city-networks maximum. For more information, see Choosing a city-network maximum value in the Amazon CloudWatch User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/v20210603/Monitors", @@ -917,10 +920,18 @@ "externalDocumentation": "${DocHomeURL}IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys" } }, - "aws.iam#supportedPrincipalTypes": ["Root", "IAMUser", "IAMRole", "FederatedUser"], + "aws.iam#supportedPrincipalTypes": [ + "Root", + "IAMUser", + "IAMRole", + "FederatedUser" + ], "aws.protocols#restJson1": {}, "smithy.api#cors": { - "additionalAllowedHeaders": ["Content-Type", "X-Amz-Requested-Operation"] + "additionalAllowedHeaders": [ + "Content-Type", + "X-Amz-Requested-Operation" + ] }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Amazon CloudWatch Internet Monitor provides visibility into how internet issues impact the performance and availability \n\t\t\tbetween your applications hosted on Amazon Web Services and your end users. It can reduce the time it takes for you to diagnose \n\t\t\tinternet issues from days to minutes. Internet Monitor uses the connectivity data that Amazon Web Services captures from its global \n\t\t\tnetworking footprint to calculate a baseline of performance and availability for internet traffic. This \n\t\t\tis the same data that Amazon Web Services uses to monitor internet uptime and availability. With those measurements \n\t\t\tas a baseline, Internet Monitor raises awareness for you when there are significant problems for your \n\t\t\tend users in the different geographic locations where your application runs.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Internet Monitor publishes internet measurements to CloudWatch Logs and CloudWatch Metrics, \n\t\t\tto easily support using CloudWatch tools with health information for geographies and networks specific to your application.\n\t\t\tInternet Monitor sends health events to Amazon EventBridge so that you can set up notifications. If an issue is caused by the Amazon Web Services network, \n\t\t\tyou also automatically receive an Amazon Web Services Health Dashboard notification with the steps that Amazon Web Services is taking to mitigate the problem.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    To use Internet Monitor, you create a monitor and associate your application's resources \n\t\t\twith it - VPCs, NLBs, CloudFront distributions, or WorkSpaces directories - so Internet Monitor can determine \n\t\t\twhere your application's internet traffic is. Internet Monitor then provides internet measurements from Amazon Web Services that are specific to \n\t\t\tthe locations and ASNs (typically, internet service providers or ISPs) that communicate with your application.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    For more information, see Using Amazon CloudWatch Internet Monitor in the Amazon CloudWatch User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#title": "Amazon CloudWatch Internet Monitor", @@ -1778,7 +1789,9 @@ "aws.cloudformation#cfnResource": { "name": "Monitor" }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {} } }, @@ -2040,7 +2053,10 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:RequestTag/${TagKey}", "aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:RequestTag/${TagKey}", + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Adds a tag to a resource. Tags are supported only for monitors in Amazon CloudWatch Internet Monitor. You can add a maximum of 50 tags in Internet Monitor.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    A minimum of one tag is required for this call. It returns an error if you use the TagResource request with 0 tags.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -2177,7 +2193,9 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Removes a tag from a resource.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "DELETE", @@ -2357,4 +2375,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/iot-1click-devices-service.json b/codegen/sdk-codegen/aws-models/iot-1click-devices-service.json index 34ee5d9ebf3fa..2136b36515842 100644 --- a/codegen/sdk-codegen/aws-models/iot-1click-devices-service.json +++ b/codegen/sdk-codegen/aws-models/iot-1click-devices-service.json @@ -1938,4 +1938,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/iot-1click-projects.json b/codegen/sdk-codegen/aws-models/iot-1click-projects.json index 14806c45486c8..79aa8b56f16f2 100644 --- a/codegen/sdk-codegen/aws-models/iot-1click-projects.json +++ b/codegen/sdk-codegen/aws-models/iot-1click-projects.json @@ -2426,4 +2426,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/iot-data-plane.json b/codegen/sdk-codegen/aws-models/iot-data-plane.json index 44e36301c44a2..e432021affe3d 100644 --- a/codegen/sdk-codegen/aws-models/iot-data-plane.json +++ b/codegen/sdk-codegen/aws-models/iot-data-plane.json @@ -2229,4 +2229,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/iot-events-data.json b/codegen/sdk-codegen/aws-models/iot-events-data.json index 5a2d24aa38af1..a5577bae58686 100644 --- a/codegen/sdk-codegen/aws-models/iot-events-data.json +++ b/codegen/sdk-codegen/aws-models/iot-events-data.json @@ -3051,4 +3051,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/iot-events.json b/codegen/sdk-codegen/aws-models/iot-events.json index e107bf28ef95c..88916624ccce5 100644 --- a/codegen/sdk-codegen/aws-models/iot-events.json +++ b/codegen/sdk-codegen/aws-models/iot-events.json @@ -5586,4 +5586,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/iot-jobs-data-plane.json b/codegen/sdk-codegen/aws-models/iot-jobs-data-plane.json index ee057d674f9e2..96ad6f3d5d7b2 100644 --- a/codegen/sdk-codegen/aws-models/iot-jobs-data-plane.json +++ b/codegen/sdk-codegen/aws-models/iot-jobs-data-plane.json @@ -1794,4 +1794,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/iot-roborunner.json b/codegen/sdk-codegen/aws-models/iot-roborunner.json index 4684935feb8e9..6d0685e7e5c91 100644 --- a/codegen/sdk-codegen/aws-models/iot-roborunner.json +++ b/codegen/sdk-codegen/aws-models/iot-roborunner.json @@ -3323,4 +3323,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/iot-wireless.json b/codegen/sdk-codegen/aws-models/iot-wireless.json index 8218ead210765..c4d975d1d6597 100644 --- a/codegen/sdk-codegen/aws-models/iot-wireless.json +++ b/codegen/sdk-codegen/aws-models/iot-wireless.json @@ -16100,4 +16100,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/iot.json b/codegen/sdk-codegen/aws-models/iot.json index 6e529153cca2a..385055b987837 100644 --- a/codegen/sdk-codegen/aws-models/iot.json +++ b/codegen/sdk-codegen/aws-models/iot.json @@ -35476,4 +35476,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/iotanalytics.json b/codegen/sdk-codegen/aws-models/iotanalytics.json index 07e8011455e34..b4a1cd10927de 100644 --- a/codegen/sdk-codegen/aws-models/iotanalytics.json +++ b/codegen/sdk-codegen/aws-models/iotanalytics.json @@ -6349,4 +6349,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/iotdeviceadvisor.json b/codegen/sdk-codegen/aws-models/iotdeviceadvisor.json index 7f347da89a385..07d68c8f5d0a9 100644 --- a/codegen/sdk-codegen/aws-models/iotdeviceadvisor.json +++ b/codegen/sdk-codegen/aws-models/iotdeviceadvisor.json @@ -2770,4 +2770,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/iotfleethub.json b/codegen/sdk-codegen/aws-models/iotfleethub.json index 0f2735e2e0947..80504623edc7d 100644 --- a/codegen/sdk-codegen/aws-models/iotfleethub.json +++ b/codegen/sdk-codegen/aws-models/iotfleethub.json @@ -1809,4 +1809,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/iotfleetwise.json b/codegen/sdk-codegen/aws-models/iotfleetwise.json index 518c0088aa578..10a8479ac0018 100644 --- a/codegen/sdk-codegen/aws-models/iotfleetwise.json +++ b/codegen/sdk-codegen/aws-models/iotfleetwise.json @@ -8209,4 +8209,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/iotsecuretunneling.json b/codegen/sdk-codegen/aws-models/iotsecuretunneling.json index cdb46e6c8b04f..0d5f28a6734a7 100644 --- a/codegen/sdk-codegen/aws-models/iotsecuretunneling.json +++ b/codegen/sdk-codegen/aws-models/iotsecuretunneling.json @@ -1948,4 +1948,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/iotsitewise.json b/codegen/sdk-codegen/aws-models/iotsitewise.json index 94d23333c7dc2..73f970ddc79d6 100644 --- a/codegen/sdk-codegen/aws-models/iotsitewise.json +++ b/codegen/sdk-codegen/aws-models/iotsitewise.json @@ -12846,4 +12846,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/iotthingsgraph.json b/codegen/sdk-codegen/aws-models/iotthingsgraph.json index 7225a89903f24..32bcf6f3f5c22 100644 --- a/codegen/sdk-codegen/aws-models/iotthingsgraph.json +++ b/codegen/sdk-codegen/aws-models/iotthingsgraph.json @@ -4672,4 +4672,4 @@ "type": "long" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/iottwinmaker.json b/codegen/sdk-codegen/aws-models/iottwinmaker.json index de5a78890240b..f2cf90b188817 100644 --- a/codegen/sdk-codegen/aws-models/iottwinmaker.json +++ b/codegen/sdk-codegen/aws-models/iottwinmaker.json @@ -6920,4 +6920,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/ivs-realtime.json b/codegen/sdk-codegen/aws-models/ivs-realtime.json index a5ebfe0e8c0ed..8958cfdbdd9bd 100644 --- a/codegen/sdk-codegen/aws-models/ivs-realtime.json +++ b/codegen/sdk-codegen/aws-models/ivs-realtime.json @@ -2568,4 +2568,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/ivs.json b/codegen/sdk-codegen/aws-models/ivs.json index 082fda614950d..7c2cc40df061d 100644 --- a/codegen/sdk-codegen/aws-models/ivs.json +++ b/codegen/sdk-codegen/aws-models/ivs.json @@ -4350,4 +4350,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/ivschat.json b/codegen/sdk-codegen/aws-models/ivschat.json index 4dec2bcea69a2..81fdd42a8ac15 100644 --- a/codegen/sdk-codegen/aws-models/ivschat.json +++ b/codegen/sdk-codegen/aws-models/ivschat.json @@ -3067,4 +3067,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/kafka.json b/codegen/sdk-codegen/aws-models/kafka.json index dc76ddd65a924..6fecc037ebee8 100644 --- a/codegen/sdk-codegen/aws-models/kafka.json +++ b/codegen/sdk-codegen/aws-models/kafka.json @@ -8205,4 +8205,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/kafkaconnect.json b/codegen/sdk-codegen/aws-models/kafkaconnect.json index b05c3a7e616b7..087606384891d 100644 --- a/codegen/sdk-codegen/aws-models/kafkaconnect.json +++ b/codegen/sdk-codegen/aws-models/kafkaconnect.json @@ -1752,7 +1752,11 @@ }, "aws.protocols#restJson1": {}, "smithy.api#cors": { - "additionalAllowedHeaders": ["X-Api-Key", "Content-Type", "Content-Length"] + "additionalAllowedHeaders": [ + "X-Api-Key", + "Content-Type", + "Content-Length" + ] }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#title": "Managed Streaming for Kafka Connect", @@ -3714,4 +3718,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/kendra-ranking.json b/codegen/sdk-codegen/aws-models/kendra-ranking.json index 360d8fbfdb721..bdd850066c126 100644 --- a/codegen/sdk-codegen/aws-models/kendra-ranking.json +++ b/codegen/sdk-codegen/aws-models/kendra-ranking.json @@ -1678,4 +1678,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/kendra.json b/codegen/sdk-codegen/aws-models/kendra.json index a56d87e4aacd2..63cdbe512ba5a 100644 --- a/codegen/sdk-codegen/aws-models/kendra.json +++ b/codegen/sdk-codegen/aws-models/kendra.json @@ -16042,4 +16042,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/keyspaces.json b/codegen/sdk-codegen/aws-models/keyspaces.json index 7adb570ab8ee1..ad81108d9b37d 100644 --- a/codegen/sdk-codegen/aws-models/keyspaces.json +++ b/codegen/sdk-codegen/aws-models/keyspaces.json @@ -2806,4 +2806,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/kinesis-analytics-v2.json b/codegen/sdk-codegen/aws-models/kinesis-analytics-v2.json index ccca21c3c9d43..33396735aa1ee 100644 --- a/codegen/sdk-codegen/aws-models/kinesis-analytics-v2.json +++ b/codegen/sdk-codegen/aws-models/kinesis-analytics-v2.json @@ -7578,4 +7578,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/kinesis-analytics.json b/codegen/sdk-codegen/aws-models/kinesis-analytics.json index 54222a199f8b9..c1525a47138de 100644 --- a/codegen/sdk-codegen/aws-models/kinesis-analytics.json +++ b/codegen/sdk-codegen/aws-models/kinesis-analytics.json @@ -4358,4 +4358,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/kinesis-video-archived-media.json b/codegen/sdk-codegen/aws-models/kinesis-video-archived-media.json index 24310b58bfefa..5dadf8bc1897e 100644 --- a/codegen/sdk-codegen/aws-models/kinesis-video-archived-media.json +++ b/codegen/sdk-codegen/aws-models/kinesis-video-archived-media.json @@ -2341,4 +2341,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/kinesis-video-media.json b/codegen/sdk-codegen/aws-models/kinesis-video-media.json index 23d3a00d22b55..548fc6123cae0 100644 --- a/codegen/sdk-codegen/aws-models/kinesis-video-media.json +++ b/codegen/sdk-codegen/aws-models/kinesis-video-media.json @@ -1178,4 +1178,4 @@ "type": "timestamp" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/kinesis-video-signaling.json b/codegen/sdk-codegen/aws-models/kinesis-video-signaling.json index f5ace983b0842..2b08dc237a145 100644 --- a/codegen/sdk-codegen/aws-models/kinesis-video-signaling.json +++ b/codegen/sdk-codegen/aws-models/kinesis-video-signaling.json @@ -1253,4 +1253,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/kinesis-video-webrtc-storage.json b/codegen/sdk-codegen/aws-models/kinesis-video-webrtc-storage.json index f96a7749be267..b2c2a75043fcc 100644 --- a/codegen/sdk-codegen/aws-models/kinesis-video-webrtc-storage.json +++ b/codegen/sdk-codegen/aws-models/kinesis-video-webrtc-storage.json @@ -804,4 +804,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/kinesis-video.json b/codegen/sdk-codegen/aws-models/kinesis-video.json index a1738642ac62b..25d071e31ae77 100644 --- a/codegen/sdk-codegen/aws-models/kinesis-video.json +++ b/codegen/sdk-codegen/aws-models/kinesis-video.json @@ -4866,4 +4866,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/kinesis.json b/codegen/sdk-codegen/aws-models/kinesis.json index aee9f152891be..b66b91b57ae19 100644 --- a/codegen/sdk-codegen/aws-models/kinesis.json +++ b/codegen/sdk-codegen/aws-models/kinesis.json @@ -1630,8 +1630,13 @@ "name": "kinesis" }, "aws.protocols#awsJson1_1": { - "http": ["http/1.1", "h2"], - "eventStreamHttp": ["h2"] + "http": [ + "http/1.1", + "h2" + ], + "eventStreamHttp": [ + "h2" + ] }, "smithy.api#documentation": "Amazon Kinesis Data Streams Service API Reference\n

                                                                                                                                                                                                                                                                                                                                                                                                                    Amazon Kinesis Data Streams is a managed service that scales elastically for real-time\n processing of streaming big data.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#title": "Amazon Kinesis", @@ -6813,4 +6818,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/kms.json b/codegen/sdk-codegen/aws-models/kms.json index 7dfb3a30cc4df..2e044ef584017 100644 --- a/codegen/sdk-codegen/aws-models/kms.json +++ b/codegen/sdk-codegen/aws-models/kms.json @@ -821,7 +821,10 @@ "input": { "KeyId": "arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab", "GranteePrincipal": "arn:aws:iam::111122223333:role/ExampleRole", - "Operations": ["Encrypt", "Decrypt"] + "Operations": [ + "Encrypt", + "Decrypt" + ] }, "output": { "GrantToken": "AQpAM2RhZTk1MGMyNTk2ZmZmMzEyYWVhOWViN2I1MWM4Mzc0MWFiYjc0ZDE1ODkyNGFlNTIzODZhMzgyZjBlNGY3NiKIAgEBAgB4Pa6VDCWW__MSrqnre1HIN0Grt00ViSSuUjhqOC8OT3YAAADfMIHcBgkqhkiG9w0BBwaggc4wgcsCAQAwgcUGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMmqLyBTAegIn9XlK5AgEQgIGXZQjkBcl1dykDdqZBUQ6L1OfUivQy7JVYO2-ZJP7m6f1g8GzV47HX5phdtONAP7K_HQIflcgpkoCqd_fUnE114mSmiagWkbQ5sqAVV3ov-VeqgrvMe5ZFEWLMSluvBAqdjHEdMIkHMlhlj4ENZbzBfo9Wxk8b8SnwP4kc4gGivedzFXo-dwN8fxjjq_ZZ9JFOj2ijIbj5FyogDCN0drOfi8RORSEuCEmPvjFRMFAwcmwFkN2NPp89amA", @@ -3460,7 +3463,10 @@ "PublicKey": "", "CustomerMasterKeySpec": "RSA_4096", "KeyUsage": "ENCRYPT_DECRYPT", - "EncryptionAlgorithms": ["RSAES_OAEP_SHA_1", "RSAES_OAEP_SHA_256"] + "EncryptionAlgorithms": [ + "RSAES_OAEP_SHA_1", + "RSAES_OAEP_SHA_256" + ] } } ] @@ -4844,7 +4850,9 @@ "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" }, "output": { - "PolicyNames": ["default"], + "PolicyNames": [ + "default" + ], "Truncated": false } } @@ -5826,7 +5834,9 @@ "KeyUsage": "ENCRYPT_DECRYPT", "Origin": "AWS_KMS", "CustomerMasterKeySpec": "SYMMETRIC_DEFAULT", - "EncryptionAlgorithms": ["SYMMETRIC_DEFAULT"] + "EncryptionAlgorithms": [ + "SYMMETRIC_DEFAULT" + ] }, "ReplicaPolicy": "{\n \"Version\" : \"2012-10-17\",\n \"Id\" : \"key-default-1\",...}", "ReplicaTags": [] @@ -7955,7 +7965,10 @@ "documentation": "The following example removes tags from a KMS key.", "input": { "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab", - "TagKeys": ["Purpose", "CostCenter"] + "TagKeys": [ + "Purpose", + "CostCenter" + ] } } ] @@ -8972,4 +8985,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/lakeformation.json b/codegen/sdk-codegen/aws-models/lakeformation.json index e7805753f494b..3b1ccf22a517e 100644 --- a/codegen/sdk-codegen/aws-models/lakeformation.json +++ b/codegen/sdk-codegen/aws-models/lakeformation.json @@ -7443,4 +7443,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/lambda.json b/codegen/sdk-codegen/aws-models/lambda.json index 786e3e5c9c54b..b3707ee068adb 100644 --- a/codegen/sdk-codegen/aws-models/lambda.json +++ b/codegen/sdk-codegen/aws-models/lambda.json @@ -11790,4 +11790,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/lex-model-building-service.json b/codegen/sdk-codegen/aws-models/lex-model-building-service.json index 50964d6acd13e..166548b8896d9 100644 --- a/codegen/sdk-codegen/aws-models/lex-model-building-service.json +++ b/codegen/sdk-codegen/aws-models/lex-model-building-service.json @@ -4169,7 +4169,11 @@ }, "priority": 1, "slotTypeVersion": "$LATEST", - "sampleUtterances": ["Get me a {Type} pizza.", "A {Type} pizza please.", "I'd like a {Type} pizza."], + "sampleUtterances": [ + "Get me a {Type} pizza.", + "A {Type} pizza please.", + "I'd like a {Type} pizza." + ], "description": "The type of pizza to order." }, { @@ -4191,7 +4195,10 @@ }, "priority": 2, "slotTypeVersion": "$LATEST", - "sampleUtterances": ["Make it a {Crust} crust.", "I'd like a {Crust} crust."], + "sampleUtterances": [ + "Make it a {Crust} crust.", + "I'd like a {Crust} crust." + ], "description": "The type of pizza crust to order." }, { @@ -4213,7 +4220,10 @@ }, "priority": 3, "slotTypeVersion": "$LATEST", - "sampleUtterances": ["Make it {Sauce} sauce.", "I'd like {Sauce} sauce."], + "sampleUtterances": [ + "Make it {Sauce} sauce.", + "I'd like {Sauce} sauce." + ], "description": "The type of sauce to use on the pizza." } ], @@ -6777,7 +6787,11 @@ "maxAttempts": 1 }, "priority": 1, - "sampleUtterances": ["Get me a {Type} pizza.", "A {Type} pizza please.", "I'd like a {Type} pizza."] + "sampleUtterances": [ + "Get me a {Type} pizza.", + "A {Type} pizza please.", + "I'd like a {Type} pizza." + ] }, { "name": "Crust", @@ -6799,7 +6813,10 @@ "maxAttempts": 1 }, "priority": 2, - "sampleUtterances": ["Make it a {Crust} crust.", "I'd like a {Crust} crust."] + "sampleUtterances": [ + "Make it a {Crust} crust.", + "I'd like a {Crust} crust." + ] }, { "name": "Sauce", @@ -6821,7 +6838,10 @@ "maxAttempts": 1 }, "priority": 3, - "sampleUtterances": ["Make it {Sauce} sauce.", "I'd like {Sauce} sauce."] + "sampleUtterances": [ + "Make it {Sauce} sauce.", + "I'd like {Sauce} sauce." + ] } ], "sampleUtterances": [ @@ -6934,7 +6954,10 @@ }, "priority": 3, "slotTypeVersion": "$LATEST", - "sampleUtterances": ["Make it {Sauce} sauce.", "I'd like {Sauce} sauce."], + "sampleUtterances": [ + "Make it {Sauce} sauce.", + "I'd like {Sauce} sauce." + ], "description": "The type of sauce to use on the pizza." }, { @@ -6960,7 +6983,11 @@ }, "priority": 1, "slotTypeVersion": "$LATEST", - "sampleUtterances": ["Get me a {Type} pizza.", "A {Type} pizza please.", "I'd like a {Type} pizza."], + "sampleUtterances": [ + "Get me a {Type} pizza.", + "A {Type} pizza please.", + "I'd like a {Type} pizza." + ], "description": "The type of pizza to order." }, { @@ -6982,7 +7009,10 @@ }, "priority": 2, "slotTypeVersion": "$LATEST", - "sampleUtterances": ["Make it a {Crust} crust.", "I'd like a {Crust} crust."], + "sampleUtterances": [ + "Make it a {Crust} crust.", + "I'd like a {Crust} crust." + ], "description": "The type of pizza crust to order." } ], @@ -8542,4 +8572,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/lex-models-v2.json b/codegen/sdk-codegen/aws-models/lex-models-v2.json index 48bf6c0662c6c..e389983dada30 100644 --- a/codegen/sdk-codegen/aws-models/lex-models-v2.json +++ b/codegen/sdk-codegen/aws-models/lex-models-v2.json @@ -23033,4 +23033,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/lex-runtime-service.json b/codegen/sdk-codegen/aws-models/lex-runtime-service.json index 5357939ed8fe3..648afd5fc2a03 100644 --- a/codegen/sdk-codegen/aws-models/lex-runtime-service.json +++ b/codegen/sdk-codegen/aws-models/lex-runtime-service.json @@ -1843,7 +1843,9 @@ ], "traits": { "aws.auth#unsignedPayload": {}, - "smithy.api#auth": ["aws.auth#sigv4"], + "smithy.api#auth": [ + "aws.auth#sigv4" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Sends user input (text or speech) to Amazon Lex. Clients use this API to\n send text and audio requests to Amazon Lex at runtime. Amazon Lex interprets the\n user input using the machine learning model that it built for the bot.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    The PostContent operation supports audio input at 8kHz\n and 16kHz. You can use 8kHz audio to achieve higher speech recognition\n accuracy in telephone audio applications.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    In response, Amazon Lex returns the next message to convey to the user.\n Consider the following example messages:

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      For a user input \"I would like a pizza,\" Amazon Lex might return a\n response with a message eliciting slot data (for example,\n PizzaSize): \"What size pizza would you like?\".

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      After the user provides all of the pizza order information, Amazon Lex\n might return a response with a message to get user confirmation:\n \"Order the pizza?\".

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      After the user replies \"Yes\" to the confirmation prompt, Amazon Lex\n might return a conclusion statement: \"Thank you, your cheese pizza has\n been ordered.\".

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Not all Amazon Lex messages require a response from the user. For example,\n conclusion statements do not require a response. Some messages require\n only a yes or no response. In addition to the message, Amazon Lex\n provides additional context about the message in the response that you can\n use to enhance client behavior, such as displaying the appropriate client\n user interface. Consider the following examples:

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      If the message is to elicit slot data, Amazon Lex returns the\n following context information:

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                        \n
                                                                                                                                                                                                                                                                                                                                                                                                                      • \n

                                                                                                                                                                                                                                                                                                                                                                                                                        \n x-amz-lex-dialog-state header set to\n ElicitSlot\n

                                                                                                                                                                                                                                                                                                                                                                                                                        \n
                                                                                                                                                                                                                                                                                                                                                                                                                      • \n
                                                                                                                                                                                                                                                                                                                                                                                                                      • \n

                                                                                                                                                                                                                                                                                                                                                                                                                        \n x-amz-lex-intent-name header set to the intent name\n in the current context

                                                                                                                                                                                                                                                                                                                                                                                                                        \n
                                                                                                                                                                                                                                                                                                                                                                                                                      • \n
                                                                                                                                                                                                                                                                                                                                                                                                                      • \n

                                                                                                                                                                                                                                                                                                                                                                                                                        \n x-amz-lex-slot-to-elicit header set to the slot name\n for which the message is eliciting information\n

                                                                                                                                                                                                                                                                                                                                                                                                                        \n
                                                                                                                                                                                                                                                                                                                                                                                                                      • \n
                                                                                                                                                                                                                                                                                                                                                                                                                      • \n

                                                                                                                                                                                                                                                                                                                                                                                                                        \n x-amz-lex-slots header set to a map of slots\n configured for the intent with their current values

                                                                                                                                                                                                                                                                                                                                                                                                                        \n
                                                                                                                                                                                                                                                                                                                                                                                                                      • \n
                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      If the message is a confirmation prompt, the\n x-amz-lex-dialog-state header is set to\n Confirmation and the\n x-amz-lex-slot-to-elicit header is omitted.

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      If the message is a clarification prompt configured for the\n intent, indicating that the user intent is not understood, the\n x-amz-dialog-state header is set to\n ElicitIntent and the x-amz-slot-to-elicit\n header is omitted.

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    In addition, Amazon Lex also returns your application-specific\n sessionAttributes. For more information, see Managing\n Conversation Context.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -2681,4 +2683,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/lex-runtime-v2.json b/codegen/sdk-codegen/aws-models/lex-runtime-v2.json index 96f0d1daf715c..2d3cd30930f0b 100644 --- a/codegen/sdk-codegen/aws-models/lex-runtime-v2.json +++ b/codegen/sdk-codegen/aws-models/lex-runtime-v2.json @@ -65,8 +65,13 @@ "name": "lex" }, "aws.protocols#restJson1": { - "http": ["http/1.1", "h2"], - "eventStreamHttp": ["h2"] + "http": [ + "http/1.1", + "h2" + ], + "eventStreamHttp": [ + "h2" + ] }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    This section contains documentation for the Amazon Lex V2 Runtime V2 API operations.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#title": "Amazon Lex Runtime V2", @@ -2412,7 +2417,9 @@ ], "traits": { "aws.auth#unsignedPayload": {}, - "smithy.api#auth": ["aws.auth#sigv4"], + "smithy.api#auth": [ + "aws.auth#sigv4" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Sends user input to Amazon Lex V2. You can send text or speech. Clients use\n this API to send text and audio requests to Amazon Lex V2 at runtime. Amazon Lex V2\n interprets the user input using the machine learning model built for\n the bot.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    The following request fields must be compressed with gzip and then\n base64 encoded before you send them to Amazon Lex V2.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      requestAttributes

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      sessionState

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    The following response fields are compressed using gzip and then\n base64 encoded by Amazon Lex V2. Before you can use these fields, you must\n decode and decompress them.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      inputTranscript

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      interpretations

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      messages

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      requestAttributes

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      sessionState

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    The example contains a Java application that compresses and encodes\n a Java object to send to Amazon Lex V2, and a second that decodes and\n decompresses a response from Amazon Lex V2.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    If the optional post-fulfillment response is specified, the messages\n are returned as follows. For more information, see PostFulfillmentStatusSpecification.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n Success message - Returned if\n the Lambda function completes successfully and the intent state is\n fulfilled or ready fulfillment if the message is present.

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n Failed message - The failed\n message is returned if the Lambda function throws an exception or\n if the Lambda function returns a failed intent state without a\n message.

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n Timeout message - If you\n don't configure a timeout message and a timeout, and the Lambda\n function doesn't return within 30 seconds, the timeout message is\n returned. If you configure a timeout, the timeout message is\n returned when the period times out.

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    For more information, see Completion message.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -3311,4 +3318,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/license-manager-linux-subscriptions.json b/codegen/sdk-codegen/aws-models/license-manager-linux-subscriptions.json index e9f97e2f9cf88..23ad135db6330 100644 --- a/codegen/sdk-codegen/aws-models/license-manager-linux-subscriptions.json +++ b/codegen/sdk-codegen/aws-models/license-manager-linux-subscriptions.json @@ -237,7 +237,11 @@ "Access-Control-Allow-Methods", "Access-Control-Allow-Origin" ], - "additionalExposedHeaders": ["x-amzn-errortype", "x-amzn-requestid", "x-amzn-trace-id"] + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id" + ] }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    With License Manager, you can discover and track your commercial Linux subscriptions on running\n Amazon EC2 instances.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#title": "AWS License Manager Linux Subscriptions", @@ -1360,4 +1364,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/license-manager-user-subscriptions.json b/codegen/sdk-codegen/aws-models/license-manager-user-subscriptions.json index 9ac2c7e9ec67e..7414173a8892a 100644 --- a/codegen/sdk-codegen/aws-models/license-manager-user-subscriptions.json +++ b/codegen/sdk-codegen/aws-models/license-manager-user-subscriptions.json @@ -568,7 +568,11 @@ "Access-Control-Allow-Methods", "Access-Control-Allow-Origin" ], - "additionalExposedHeaders": ["x-amzn-errortype", "x-amzn-requestid", "x-amzn-trace-id"] + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id" + ] }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    With License Manager, you can create user-based subscriptions to utilize licensed software with\n a per user subscription fee on Amazon EC2 instances.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#title": "AWS License Manager User Subscriptions", @@ -2080,4 +2084,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/license-manager.json b/codegen/sdk-codegen/aws-models/license-manager.json index 53fa5313d5c7f..272e8a78dadac 100644 --- a/codegen/sdk-codegen/aws-models/license-manager.json +++ b/codegen/sdk-codegen/aws-models/license-manager.json @@ -8326,4 +8326,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/lightsail.json b/codegen/sdk-codegen/aws-models/lightsail.json index 4584e8ffbbcf2..31e9fb660846d 100644 --- a/codegen/sdk-codegen/aws-models/lightsail.json +++ b/codegen/sdk-codegen/aws-models/lightsail.json @@ -22992,4 +22992,4 @@ "type": "timestamp" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/location.json b/codegen/sdk-codegen/aws-models/location.json index feac26d057478..ab1ccc6b09f4f 100644 --- a/codegen/sdk-codegen/aws-models/location.json +++ b/codegen/sdk-codegen/aws-models/location.json @@ -8971,4 +8971,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/lookoutequipment.json b/codegen/sdk-codegen/aws-models/lookoutequipment.json index b1ba158828932..7012f1ab3d01a 100644 --- a/codegen/sdk-codegen/aws-models/lookoutequipment.json +++ b/codegen/sdk-codegen/aws-models/lookoutequipment.json @@ -6922,4 +6922,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/lookoutmetrics.json b/codegen/sdk-codegen/aws-models/lookoutmetrics.json index 9d43bd920640d..0b153dc374736 100644 --- a/codegen/sdk-codegen/aws-models/lookoutmetrics.json +++ b/codegen/sdk-codegen/aws-models/lookoutmetrics.json @@ -6426,4 +6426,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/lookoutvision.json b/codegen/sdk-codegen/aws-models/lookoutvision.json index 157cab5bd3018..531b0919c0144 100644 --- a/codegen/sdk-codegen/aws-models/lookoutvision.json +++ b/codegen/sdk-codegen/aws-models/lookoutvision.json @@ -4441,4 +4441,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/m2.json b/codegen/sdk-codegen/aws-models/m2.json index 5f46c4e1708ed..544b2ef836622 100644 --- a/codegen/sdk-codegen/aws-models/m2.json +++ b/codegen/sdk-codegen/aws-models/m2.json @@ -142,7 +142,9 @@ "aws.api#arn": { "template": "app/{applicationId}" }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {} } }, @@ -1512,8 +1514,14 @@ ], "traits": { "aws.api#controlPlane": {}, - "aws.iam#conditionKeys": ["aws:RequestTag/${TagKey}", "aws:TagKeys"], - "aws.iam#requiredActions": ["s3:GetObject", "s3:ListBucket"], + "aws.iam#conditionKeys": [ + "aws:RequestTag/${TagKey}", + "aws:TagKeys" + ], + "aws.iam#requiredActions": [ + "s3:GetObject", + "s3:ListBucket" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Creates a new application with given parameters. Requires an existing runtime\n environment and application definition file.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -1720,7 +1728,10 @@ ], "traits": { "aws.api#controlPlane": {}, - "aws.iam#requiredActions": ["elasticloadbalancing:CreateTargetGroup", "elasticloadbalancing:CreateListener"], + "aws.iam#requiredActions": [ + "elasticloadbalancing:CreateTargetGroup", + "elasticloadbalancing:CreateListener" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Creates and starts a deployment to deploy an application into a runtime\n environment.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -1813,7 +1824,10 @@ ], "traits": { "aws.api#controlPlane": {}, - "aws.iam#conditionKeys": ["aws:RequestTag/${TagKey}", "aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:RequestTag/${TagKey}", + "aws:TagKeys" + ], "aws.iam#requiredActions": [ "ec2:DescribeSecurityGroups", "ec2:DescribeSubnets", @@ -2296,7 +2310,10 @@ ], "traits": { "aws.api#controlPlane": {}, - "aws.iam#requiredActions": ["elasticloadbalancing:DeleteTargetGroup", "elasticloadbalancing:DeleteListener"], + "aws.iam#requiredActions": [ + "elasticloadbalancing:DeleteTargetGroup", + "elasticloadbalancing:DeleteListener" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Deletes a specific application. You cannot delete a running application.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "DELETE", @@ -2413,7 +2430,9 @@ ], "traits": { "aws.api#controlPlane": {}, - "aws.iam#requiredActions": ["elasticloadbalancing:DeleteLoadBalancer"], + "aws.iam#requiredActions": [ + "elasticloadbalancing:DeleteLoadBalancer" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Deletes a specific runtime environment. The environment cannot contain deployed\n applications. If it does, you must delete those applications before you delete the\n environment.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "DELETE", @@ -2675,7 +2694,9 @@ "aws.api#arn": { "template": "env/{environmentId}" }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {} } }, @@ -5580,7 +5601,10 @@ ], "traits": { "aws.api#controlPlane": {}, - "aws.iam#conditionKeys": ["aws:RequestTag/${TagKey}", "aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:RequestTag/${TagKey}", + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Adds one or more tags to the specified resource.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -5691,7 +5715,9 @@ ], "traits": { "aws.api#controlPlane": {}, - "aws.iam#conditionKeys": ["aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Removes one or more tags from the specified resource.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "DELETE", @@ -5755,7 +5781,10 @@ ], "traits": { "aws.api#controlPlane": {}, - "aws.iam#requiredActions": ["s3:GetObject", "s3:ListBucket"], + "aws.iam#requiredActions": [ + "s3:GetObject", + "s3:ListBucket" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Updates an application and creates a new version.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "PATCH", @@ -6080,4 +6109,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/machine-learning.json b/codegen/sdk-codegen/aws-models/machine-learning.json index edbfdad98cc4b..096d4758371eb 100644 --- a/codegen/sdk-codegen/aws-models/machine-learning.json +++ b/codegen/sdk-codegen/aws-models/machine-learning.json @@ -5148,4 +5148,4 @@ "type": "float" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/macie.json b/codegen/sdk-codegen/aws-models/macie.json index bf2ea6271342b..7aed8fb47faec 100644 --- a/codegen/sdk-codegen/aws-models/macie.json +++ b/codegen/sdk-codegen/aws-models/macie.json @@ -1478,4 +1478,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/macie2.json b/codegen/sdk-codegen/aws-models/macie2.json index 28e0dbb238c0d..fcfdb89be7c3b 100644 --- a/codegen/sdk-codegen/aws-models/macie2.json +++ b/codegen/sdk-codegen/aws-models/macie2.json @@ -14459,4 +14459,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/managedblockchain-query.json b/codegen/sdk-codegen/aws-models/managedblockchain-query.json index ab965080b45b9..e2c1a3cfa52c5 100644 --- a/codegen/sdk-codegen/aws-models/managedblockchain-query.json +++ b/codegen/sdk-codegen/aws-models/managedblockchain-query.json @@ -2275,4 +2275,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/managedblockchain.json b/codegen/sdk-codegen/aws-models/managedblockchain.json index 3c50bfba414d4..f3764755b82f3 100644 --- a/codegen/sdk-codegen/aws-models/managedblockchain.json +++ b/codegen/sdk-codegen/aws-models/managedblockchain.json @@ -4969,4 +4969,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/marketplace-catalog.json b/codegen/sdk-codegen/aws-models/marketplace-catalog.json index 183be8e5f6e32..f7ede8497108f 100644 --- a/codegen/sdk-codegen/aws-models/marketplace-catalog.json +++ b/codegen/sdk-codegen/aws-models/marketplace-catalog.json @@ -2510,4 +2510,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/marketplace-commerce-analytics.json b/codegen/sdk-codegen/aws-models/marketplace-commerce-analytics.json index 3e6b64bd3d3ca..e8d0ddde16d56 100644 --- a/codegen/sdk-codegen/aws-models/marketplace-commerce-analytics.json +++ b/codegen/sdk-codegen/aws-models/marketplace-commerce-analytics.json @@ -1133,4 +1133,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/marketplace-entitlement-service.json b/codegen/sdk-codegen/aws-models/marketplace-entitlement-service.json index 93e5d5b66ae9b..8d33ce2b41b9b 100644 --- a/codegen/sdk-codegen/aws-models/marketplace-entitlement-service.json +++ b/codegen/sdk-codegen/aws-models/marketplace-entitlement-service.json @@ -976,4 +976,4 @@ "type": "timestamp" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/marketplace-metering.json b/codegen/sdk-codegen/aws-models/marketplace-metering.json index f7b3dff44fc9f..857ee1743ce37 100644 --- a/codegen/sdk-codegen/aws-models/marketplace-metering.json +++ b/codegen/sdk-codegen/aws-models/marketplace-metering.json @@ -1869,4 +1869,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/mediaconnect.json b/codegen/sdk-codegen/aws-models/mediaconnect.json index 2c658673ea395..83d31308e78bc 100644 --- a/codegen/sdk-codegen/aws-models/mediaconnect.json +++ b/codegen/sdk-codegen/aws-models/mediaconnect.json @@ -10066,4 +10066,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/mediaconvert.json b/codegen/sdk-codegen/aws-models/mediaconvert.json index 961ee881ae674..77fca6746d793 100644 --- a/codegen/sdk-codegen/aws-models/mediaconvert.json +++ b/codegen/sdk-codegen/aws-models/mediaconvert.json @@ -26404,4 +26404,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/medialive.json b/codegen/sdk-codegen/aws-models/medialive.json index e1eddb1c21013..661be0feacaef 100644 --- a/codegen/sdk-codegen/aws-models/medialive.json +++ b/codegen/sdk-codegen/aws-models/medialive.json @@ -25714,4 +25714,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/mediapackage-vod.json b/codegen/sdk-codegen/aws-models/mediapackage-vod.json index d0f4923e034b6..1e1b85a3798f2 100644 --- a/codegen/sdk-codegen/aws-models/mediapackage-vod.json +++ b/codegen/sdk-codegen/aws-models/mediapackage-vod.json @@ -3684,4 +3684,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/mediapackage.json b/codegen/sdk-codegen/aws-models/mediapackage.json index bc2fa0b5a57bc..96350c66bc283 100644 --- a/codegen/sdk-codegen/aws-models/mediapackage.json +++ b/codegen/sdk-codegen/aws-models/mediapackage.json @@ -4848,4 +4848,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/mediapackagev2.json b/codegen/sdk-codegen/aws-models/mediapackagev2.json index 5dfa666e56afb..5f205e4079b9d 100644 --- a/codegen/sdk-codegen/aws-models/mediapackagev2.json +++ b/codegen/sdk-codegen/aws-models/mediapackagev2.json @@ -98,7 +98,9 @@ "aws.api#arn": { "template": "channelGroup/{ChannelGroupName}" }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {}, "smithy.api#documentation": "Represents a channel group that facilitates the grouping of multiple channels" } @@ -227,7 +229,9 @@ "aws.api#arn": { "template": "channelGroup/{ChannelGroupName}/channel/{ChannelName}" }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {}, "smithy.api#documentation": "Represents an entry point into AWS Elemental MediaPackage for an ABR video content stream sent from an upstream encoder such as AWS Elemental MediaLive. The channel continuously analyzes the content that it receives and prepares it to be distributed to consumers via one or more origin endpoints" } @@ -347,7 +351,10 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to create a channel in a channel group", - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Create a channel to start receiving content streams. The channel represents the input to MediaPackage for incoming live content from an encoder such as AWS Elemental MediaLive. The channel receives content, and after packaging it, outputs it through an origin endpoint to downstream devices (such as video players or CDNs) that request the content. You can create only one channel with each request. We recommend that you spread out channels between channel groups, such as putting redundant channels in the same AWS Region in different channel groups.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#examples": [ { @@ -425,7 +432,10 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to create a channel group", - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Create a channel group to group your channels and origin endpoints. A channel group is the top-level resource that consists of channels and origin endpoints that are associated with it and that provides predictable URLs for stream delivery. All channels and origin endpoints within the channel group are guaranteed to share the DNS. You can create only one channel group with each request.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#examples": [ { @@ -785,7 +795,10 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to create an origin endpoint for a channel", - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The endpoint is attached to a channel, and represents the output of the live content. You can associate multiple endpoints to a single channel. Each endpoint gives players and downstream CDNs (such as Amazon CloudFront) access to the content for playback. Content can't be served from a channel until it has an endpoint. You can create only one endpoint with each request.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#examples": [ { @@ -804,7 +817,10 @@ "IncludeIframeOnlyStreams": true, "TsIncludeDvbSubtitles": true, "Scte": { - "ScteFilter": ["SPLICE_INSERT", "BREAK"] + "ScteFilter": [ + "SPLICE_INSERT", + "BREAK" + ] }, "Encryption": { "ConstantInitializationVector": "A382A901F3C1F7718512266CFFBB0B7E", @@ -818,7 +834,9 @@ "PresetSpeke20Video": "SHARED" }, "ResourceId": "ResourceId", - "DrmSystems": ["CLEAR_KEY_AES_128"], + "DrmSystems": [ + "CLEAR_KEY_AES_128" + ], "RoleArn": "arn:aws:iam::123456789012:role/empRole", "Url": "https://foo.com" } @@ -886,7 +904,10 @@ "IncludeIframeOnlyStreams": true, "TsIncludeDvbSubtitles": true, "Scte": { - "ScteFilter": ["SPLICE_INSERT", "BREAK"] + "ScteFilter": [ + "SPLICE_INSERT", + "BREAK" + ] }, "Encryption": { "ConstantInitializationVector": "A382A901F3C1F7718512266CFFBB0B7E", @@ -900,7 +921,9 @@ "PresetSpeke20Video": "SHARED" }, "ResourceId": "ResourceId", - "DrmSystems": ["CLEAR_KEY_AES_128"], + "DrmSystems": [ + "CLEAR_KEY_AES_128" + ], "RoleArn": "arn:aws:iam::123456789012:role/empRole", "Url": "https://foo.com" } @@ -969,7 +992,10 @@ "SegmentName": "segmentName", "IncludeIframeOnlyStreams": true, "Scte": { - "ScteFilter": ["SPLICE_INSERT", "BREAK"] + "ScteFilter": [ + "SPLICE_INSERT", + "BREAK" + ] }, "Encryption": { "ConstantInitializationVector": "A382A901F3C1F7718512266CFFBB0B9F", @@ -983,7 +1009,10 @@ "PresetSpeke20Video": "PRESET_VIDEO_1" }, "ResourceId": "ResourceId", - "DrmSystems": ["PLAYREADY", "WIDEVINE"], + "DrmSystems": [ + "PLAYREADY", + "WIDEVINE" + ], "RoleArn": "arn:aws:iam::123456789012:role/empRole", "Url": "https://foo.com" } @@ -1048,7 +1077,10 @@ "SegmentName": "segmentName", "IncludeIframeOnlyStreams": true, "Scte": { - "ScteFilter": ["SPLICE_INSERT", "BREAK"] + "ScteFilter": [ + "SPLICE_INSERT", + "BREAK" + ] }, "Encryption": { "ConstantInitializationVector": "A382A901F3C1F7718512266CFFBB0B9F", @@ -1062,7 +1094,10 @@ "PresetSpeke20Video": "PRESET_VIDEO_1" }, "ResourceId": "ResourceId", - "DrmSystems": ["PLAYREADY", "WIDEVINE"], + "DrmSystems": [ + "PLAYREADY", + "WIDEVINE" + ], "RoleArn": "arn:aws:iam::123456789012:role/empRole", "Url": "https://foo.com" } @@ -2345,7 +2380,10 @@ "IncludeIframeOnlyStreams": true, "TsIncludeDvbSubtitles": true, "Scte": { - "ScteFilter": ["SPLICE_INSERT", "BREAK"] + "ScteFilter": [ + "SPLICE_INSERT", + "BREAK" + ] }, "Encryption": { "ConstantInitializationVector": "A382A901F3C1F7718512266CFFBB0B7E", @@ -2359,7 +2397,9 @@ "PresetSpeke20Video": "SHARED" }, "ResourceId": "ResourceId", - "DrmSystems": ["CLEAR_KEY_AES_128"], + "DrmSystems": [ + "CLEAR_KEY_AES_128" + ], "RoleArn": "arn:aws:iam::123456789012:role/empRole", "Url": "https://foo.com" } @@ -3415,7 +3455,9 @@ "aws.api#arn": { "template": "channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}" }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {}, "smithy.api#documentation": "Represents an origin endpoint that is associated with a channel, offering a dynamically repackaged version of its content through various streaming media protocols. The content can be efficiently disseminated to end-users via a Content Delivery Network (CDN), like Amazon CloudFront" } @@ -4042,7 +4084,10 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to add specified tags to the specified resource", - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Assigns one of more tags (key-value pairs) to the specified MediaPackage resource.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Tags can help you organize and categorize your resources. You can also use them to scope user \n permissions, by granting a user permission to access or change only resources with certain tag values.\n You can use the TagResource operation with a resource that already has tags. If you specify a new tag \n key for the resource, this tag is appended to the list of tags associated with the resource. If you \n specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#examples": [ { @@ -4136,14 +4181,19 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to remove the specified tags from the specified resource", - "aws.iam#conditionKeys": ["aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Removes one or more tags from the specified resource.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#examples": [ { "title": "Remove tags from a resource", "input": { "ResourceArn": "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel", - "TagKeys": ["key3", "key4"] + "TagKeys": [ + "key3", + "key4" + ] }, "output": {} } @@ -4529,7 +4579,9 @@ "IncludeIframeOnlyStreams": false, "TsIncludeDvbSubtitles": false, "Scte": { - "ScteFilter": ["SPLICE_INSERT"] + "ScteFilter": [ + "SPLICE_INSERT" + ] }, "Encryption": { "ConstantInitializationVector": "A382A901F3C1F7718512266CFFBB0B7E", @@ -4543,7 +4595,9 @@ "PresetSpeke20Video": "SHARED" }, "ResourceId": "ResourceId", - "DrmSystems": ["CLEAR_KEY_AES_128"], + "DrmSystems": [ + "CLEAR_KEY_AES_128" + ], "RoleArn": "arn:aws:iam::123456789012:role/empRole", "Url": "https://foo.com" } @@ -4607,7 +4661,9 @@ "IncludeIframeOnlyStreams": false, "TsIncludeDvbSubtitles": false, "Scte": { - "ScteFilter": ["SPLICE_INSERT"] + "ScteFilter": [ + "SPLICE_INSERT" + ] }, "Encryption": { "ConstantInitializationVector": "A382A901F3C1F7718512266CFFBB0B7E", @@ -4621,7 +4677,9 @@ "PresetSpeke20Video": "SHARED" }, "ResourceId": "ResourceId", - "DrmSystems": ["CLEAR_KEY_AES_128"], + "DrmSystems": [ + "CLEAR_KEY_AES_128" + ], "RoleArn": "arn:aws:iam::123456789012:role/empRole", "Url": "https://foo.com" } @@ -5128,7 +5186,12 @@ "externalDocumentation": "${DocHomeURL}IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys" } }, - "aws.iam#supportedPrincipalTypes": ["Root", "IAMUser", "IAMRole", "FederatedUser"], + "aws.iam#supportedPrincipalTypes": [ + "Root", + "IAMUser", + "IAMRole", + "FederatedUser" + ], "aws.protocols#restJson1": {}, "smithy.api#cors": { "additionalAllowedHeaders": [ @@ -5823,4 +5886,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/mediastore-data.json b/codegen/sdk-codegen/aws-models/mediastore-data.json index 06280e6525c4e..eb6239763e238 100644 --- a/codegen/sdk-codegen/aws-models/mediastore-data.json +++ b/codegen/sdk-codegen/aws-models/mediastore-data.json @@ -1345,7 +1345,9 @@ ], "traits": { "aws.auth#unsignedPayload": {}, - "smithy.api#auth": ["aws.auth#sigv4"], + "smithy.api#auth": [ + "aws.auth#sigv4" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Uploads an object to the specified path. Object sizes are limited to 25 MB for standard upload availability and 10 MB for streaming upload availability.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "PUT", @@ -1514,4 +1516,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/mediastore.json b/codegen/sdk-codegen/aws-models/mediastore.json index 94c483f9e0963..7d32612fc89b2 100644 --- a/codegen/sdk-codegen/aws-models/mediastore.json +++ b/codegen/sdk-codegen/aws-models/mediastore.json @@ -2482,4 +2482,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/mediatailor.json b/codegen/sdk-codegen/aws-models/mediatailor.json index 28fcb3c950745..4327542e0c7ad 100644 --- a/codegen/sdk-codegen/aws-models/mediatailor.json +++ b/codegen/sdk-codegen/aws-models/mediatailor.json @@ -3009,7 +3009,9 @@ "pageSize": "MaxResults" }, "smithy.api#readonly": {}, - "smithy.api#suppress": ["HttpMethodSemantics"] + "smithy.api#suppress": [ + "HttpMethodSemantics" + ] } }, "com.amazonaws.mediatailor#ListPrefetchSchedulesRequest": { @@ -6478,4 +6480,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/medical-imaging.json b/codegen/sdk-codegen/aws-models/medical-imaging.json index bb1a7449161c0..db94e31d4f379 100644 --- a/codegen/sdk-codegen/aws-models/medical-imaging.json +++ b/codegen/sdk-codegen/aws-models/medical-imaging.json @@ -1090,7 +1090,10 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:RequestTag/${TagKey}", "aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:RequestTag/${TagKey}", + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Create a data store.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -1642,7 +1645,9 @@ "aws.api#arn": { "template": "datastore/{datastoreId}" }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {} } }, @@ -2510,7 +2515,9 @@ "aws.api#arn": { "template": "datastore/{datastoreId}/imageset/{imageSetId}" }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {} } }, @@ -3597,7 +3604,10 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:RequestTag/${TagKey}", "aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:RequestTag/${TagKey}", + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Adds a user-specifed key and value tag to a medical imaging resource.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -3702,7 +3712,9 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Removes tags from a medical imaging resource.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "DELETE", @@ -3916,4 +3928,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/memorydb.json b/codegen/sdk-codegen/aws-models/memorydb.json index 84a5606c11208..e481c6a072e02 100644 --- a/codegen/sdk-codegen/aws-models/memorydb.json +++ b/codegen/sdk-codegen/aws-models/memorydb.json @@ -6887,4 +6887,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/mgn.json b/codegen/sdk-codegen/aws-models/mgn.json index b54f29c71a223..b37563533361f 100644 --- a/codegen/sdk-codegen/aws-models/mgn.json +++ b/codegen/sdk-codegen/aws-models/mgn.json @@ -392,8 +392,18 @@ }, "aws.protocols#restJson1": {}, "smithy.api#cors": { - "additionalAllowedHeaders": ["content-type", "x-amz-content-sha256", "x-amz-user-agent", "x-amzn-trace-id"], - "additionalExposedHeaders": ["x-amzn-errortype", "x-amzn-requestid", "x-amzn-trace-id", "x-amz-apigw-id"] + "additionalAllowedHeaders": [ + "content-type", + "x-amz-content-sha256", + "x-amz-user-agent", + "x-amzn-trace-id" + ], + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id", + "x-amz-apigw-id" + ] }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Application Migration Service service.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#title": "Application Migration Service", @@ -10319,4 +10329,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/migration-hub-refactor-spaces.json b/codegen/sdk-codegen/aws-models/migration-hub-refactor-spaces.json index ce1bbbd41246e..6ed7d8c429278 100644 --- a/codegen/sdk-codegen/aws-models/migration-hub-refactor-spaces.json +++ b/codegen/sdk-codegen/aws-models/migration-hub-refactor-spaces.json @@ -3542,7 +3542,9 @@ }, "aws.protocols#restJson1": {}, "smithy.api#cors": { - "additionalAllowedHeaders": ["content-type"], + "additionalAllowedHeaders": [ + "content-type" + ], "additionalExposedHeaders": [ "date", "x-amz-apigw-id", @@ -5134,4 +5136,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/migration-hub.json b/codegen/sdk-codegen/aws-models/migration-hub.json index ddd4698322201..1750e4b61dfc1 100644 --- a/codegen/sdk-codegen/aws-models/migration-hub.json +++ b/codegen/sdk-codegen/aws-models/migration-hub.json @@ -2925,4 +2925,4 @@ "type": "timestamp" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/migrationhub-config.json b/codegen/sdk-codegen/aws-models/migrationhub-config.json index 5e92b97e141e1..4cdb58e22712a 100644 --- a/codegen/sdk-codegen/aws-models/migrationhub-config.json +++ b/codegen/sdk-codegen/aws-models/migrationhub-config.json @@ -1132,4 +1132,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/migrationhuborchestrator.json b/codegen/sdk-codegen/aws-models/migrationhuborchestrator.json index d1a7572902800..625b4c6b032b5 100644 --- a/codegen/sdk-codegen/aws-models/migrationhuborchestrator.json +++ b/codegen/sdk-codegen/aws-models/migrationhuborchestrator.json @@ -5190,4 +5190,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/migrationhubstrategy.json b/codegen/sdk-codegen/aws-models/migrationhubstrategy.json index 1c86796c13b5e..b6e5a507e681d 100644 --- a/codegen/sdk-codegen/aws-models/migrationhubstrategy.json +++ b/codegen/sdk-codegen/aws-models/migrationhubstrategy.json @@ -5651,4 +5651,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/mobile.json b/codegen/sdk-codegen/aws-models/mobile.json index f262689574bfd..625c6d80e39dd 100644 --- a/codegen/sdk-codegen/aws-models/mobile.json +++ b/codegen/sdk-codegen/aws-models/mobile.json @@ -1919,4 +1919,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/mq.json b/codegen/sdk-codegen/aws-models/mq.json index 7039961c69846..f79a3fa432734 100644 --- a/codegen/sdk-codegen/aws-models/mq.json +++ b/codegen/sdk-codegen/aws-models/mq.json @@ -4979,4 +4979,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/mturk.json b/codegen/sdk-codegen/aws-models/mturk.json index 75fe2b776ed7d..27ceb824d5da1 100644 --- a/codegen/sdk-codegen/aws-models/mturk.json +++ b/codegen/sdk-codegen/aws-models/mturk.json @@ -4836,4 +4836,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/mwaa.json b/codegen/sdk-codegen/aws-models/mwaa.json index 301f396e6786e..d71967f8290b3 100644 --- a/codegen/sdk-codegen/aws-models/mwaa.json +++ b/codegen/sdk-codegen/aws-models/mwaa.json @@ -2840,4 +2840,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/neptune.json b/codegen/sdk-codegen/aws-models/neptune.json index 5f46a46740035..38eb9fa4864d3 100644 --- a/codegen/sdk-codegen/aws-models/neptune.json +++ b/codegen/sdk-codegen/aws-models/neptune.json @@ -6141,7 +6141,9 @@ "items": "DBInstances", "pageSize": "MaxRecords" }, - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "DBInstanceAvailable": { "acceptors": [ @@ -11270,4 +11272,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/neptunedata.json b/codegen/sdk-codegen/aws-models/neptunedata.json index b027b6d2bf7e6..1572a402acafe 100644 --- a/codegen/sdk-codegen/aws-models/neptunedata.json +++ b/codegen/sdk-codegen/aws-models/neptunedata.json @@ -8029,4 +8029,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/network-firewall.json b/codegen/sdk-codegen/aws-models/network-firewall.json index f18ab59bdc232..1238794329a99 100644 --- a/codegen/sdk-codegen/aws-models/network-firewall.json +++ b/codegen/sdk-codegen/aws-models/network-firewall.json @@ -6968,4 +6968,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/networkmanager.json b/codegen/sdk-codegen/aws-models/networkmanager.json index 540942c04e2d6..3ed2e191397a9 100644 --- a/codegen/sdk-codegen/aws-models/networkmanager.json +++ b/codegen/sdk-codegen/aws-models/networkmanager.json @@ -12573,4 +12573,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/nimble.json b/codegen/sdk-codegen/aws-models/nimble.json index 18d4d95c3eced..c7cdb0d226827 100644 --- a/codegen/sdk-codegen/aws-models/nimble.json +++ b/codegen/sdk-codegen/aws-models/nimble.json @@ -326,7 +326,10 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to create a launch profile", - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "aws.iam#requiredActions": [ "ec2:CreateNetworkInterface", "ec2:RunInstances", @@ -471,7 +474,10 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to create a streaming image", - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "aws.iam#requiredActions": [ "ec2:ModifyInstanceAttribute", "ec2:ModifySnapshotAttribute", @@ -592,7 +598,10 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to create a streaming session", - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "aws.iam#requiredActions": [ "ec2:CreateNetworkInterface", "ec2:CreateNetworkInterfacePermission", @@ -715,7 +724,9 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to create a streaming session stream", - "aws.iam#conditionKeys": ["nimble:requesterPrincipalId"], + "aws.iam#conditionKeys": [ + "nimble:requesterPrincipalId" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Creates a streaming session stream for a streaming session.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    After invoking this API, invoke GetStreamingSessionStream with the returned streamId\n to poll the resource until it is in the READY state.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -816,8 +827,14 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to create a studio", - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], - "aws.iam#requiredActions": ["sso:CreateManagedApplicationInstance", "iam:PassRole"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], + "aws.iam#requiredActions": [ + "sso:CreateManagedApplicationInstance", + "iam:PassRole" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Create a new studio.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    When creating a studio, two IAM roles must be provided: the admin role\n and the user role. These roles are assumed by your users when they log in to the Nimble Studio portal.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    The user role must have the AmazonNimbleStudio-StudioUser managed policy\n attached for the portal to function properly.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    The admin role must have the AmazonNimbleStudio-StudioAdmin managed\n policy attached for the portal to function properly.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    You may optionally specify a KMS key in the\n StudioEncryptionConfiguration.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    In Nimble Studio, resource names, descriptions, initialization scripts, and other\n data you provide are always encrypted at rest using an KMS key. By default, this key is\n owned by Amazon Web Services and managed on your behalf. You may provide your own KMS key\n when calling CreateStudio to encrypt this data using a key you own and\n manage.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    When providing an KMS key during studio creation, Nimble Studio creates KMS\n grants in your account to provide your studio user and admin roles access to these KMS\n keys.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    If you delete this grant, the studio will no longer be accessible to your portal\n users.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    If you delete the studio KMS key, your studio will no longer be accessible.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -859,7 +876,10 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to create a studio component. A studio component designates a network resource to which a launch profile will provide access", - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "aws.iam#requiredActions": [ "ec2:DescribeSecurityGroups", "fsx:DescribeFileSystems", @@ -1371,8 +1391,12 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to delete a streaming session", - "aws.iam#conditionKeys": ["nimble:requesterPrincipalId"], - "aws.iam#requiredActions": ["ec2:DeleteNetworkInterface"], + "aws.iam#conditionKeys": [ + "nimble:requesterPrincipalId" + ], + "aws.iam#requiredActions": [ + "ec2:DeleteNetworkInterface" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Deletes streaming session resource.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    After invoking this operation, use GetStreamingSession to poll the resource until it\n transitions to a DELETED state.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    A streaming session will count against your streaming session quota until it is marked\n DELETED.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "DELETE", @@ -1461,7 +1485,9 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to delete a studio", - "aws.iam#requiredActions": ["sso:DeleteManagedApplicationInstance"], + "aws.iam#requiredActions": [ + "sso:DeleteManagedApplicationInstance" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Delete a studio resource.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "DELETE", @@ -1876,7 +1902,11 @@ "aws.api#arn": { "template": "eula/{eulaId}" }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}", "aws:RequestTag/${TagKey}", "aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}", + "aws:RequestTag/${TagKey}", + "aws:TagKeys" + ], "aws.iam#disableConditionKeyInference": {}, "aws.iam#iamResource": { "name": "eula" @@ -2201,7 +2231,11 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to get a launch profile initialization. A launch profile initialization is a dereferenced version of a launch profile, including attached studio component connection information", - "aws.iam#requiredActions": ["ec2:DescribeSecurityGroups", "fsx:DescribeFileSystems", "ds:DescribeDirectories"], + "aws.iam#requiredActions": [ + "ec2:DescribeSecurityGroups", + "fsx:DescribeFileSystems", + "ds:DescribeDirectories" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Get a launch profile initialization.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "GET", @@ -2576,7 +2610,9 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to get a streaming session", - "aws.iam#conditionKeys": ["nimble:requesterPrincipalId"], + "aws.iam#conditionKeys": [ + "nimble:requesterPrincipalId" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Gets StreamingSession resource.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Invoke this operation to poll for a streaming session state while creating or deleting\n a session.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "GET", @@ -2709,7 +2745,9 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to get a streaming session backup", - "aws.iam#conditionKeys": ["nimble:requesterPrincipalId"], + "aws.iam#conditionKeys": [ + "nimble:requesterPrincipalId" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Gets StreamingSessionBackup resource.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Invoke this operation to poll for a streaming session backup while stopping a\n streaming session.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "GET", @@ -2828,7 +2866,9 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to get a streaming session", - "aws.iam#conditionKeys": ["nimble:requesterPrincipalId"], + "aws.iam#conditionKeys": [ + "nimble:requesterPrincipalId" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Gets a StreamingSessionStream for a streaming session.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Invoke this operation to poll the resource after invoking\n CreateStreamingSessionStream.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    After the StreamingSessionStream changes to the READY state,\n the url property will contain a stream to be used with the DCV streaming client.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "GET", @@ -3762,7 +3802,9 @@ }, "aws.cloudformation#cfnResource": { "name": "LaunchProfile", - "additionalSchemas": ["com.amazonaws.nimble#LaunchProfile"] + "additionalSchemas": [ + "com.amazonaws.nimble#LaunchProfile" + ] }, "aws.iam#conditionKeys": [ "aws:ResourceTag/${TagKey}", @@ -4445,7 +4487,10 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to list launch profiles", - "aws.iam#conditionKeys": ["nimble:principalId", "nimble:requesterPrincipalId"], + "aws.iam#conditionKeys": [ + "nimble:principalId", + "nimble:requesterPrincipalId" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    List all the launch profiles a studio.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "GET", @@ -4653,7 +4698,10 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to list streaming session backups", - "aws.iam#conditionKeys": ["nimble:ownedBy", "nimble:requesterPrincipalId"], + "aws.iam#conditionKeys": [ + "nimble:ownedBy", + "nimble:requesterPrincipalId" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Lists the backups of a streaming session in a studio.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "GET", @@ -4751,7 +4799,11 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to list streaming sessions", - "aws.iam#conditionKeys": ["nimble:createdBy", "nimble:ownedBy", "nimble:requesterPrincipalId"], + "aws.iam#conditionKeys": [ + "nimble:createdBy", + "nimble:ownedBy", + "nimble:requesterPrincipalId" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Lists the streaming sessions in a studio.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "GET", @@ -5340,7 +5392,9 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to add/update launch profile members", - "aws.iam#requiredActions": ["sso-directory:DescribeUsers"], + "aws.iam#requiredActions": [ + "sso-directory:DescribeUsers" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Add/update users with given persona to launch profile membership.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -5435,7 +5489,9 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to add/update studio members", - "aws.iam#requiredActions": ["sso-directory:DescribeUsers"], + "aws.iam#requiredActions": [ + "sso-directory:DescribeUsers" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Add/update users with given persona to studio membership.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -5719,8 +5775,13 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to start a streaming session", - "aws.iam#conditionKeys": ["nimble:requesterPrincipalId"], - "aws.iam#requiredActions": ["nimble:GetLaunchProfile", "nimble:GetLaunchProfileMember"], + "aws.iam#conditionKeys": [ + "nimble:requesterPrincipalId" + ], + "aws.iam#requiredActions": [ + "nimble:GetLaunchProfile", + "nimble:GetLaunchProfileMember" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Transitions sessions from the STOPPED state into the READY\n state. The START_IN_PROGRESS state is the intermediate state between the\n STOPPED and READY states.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -5812,7 +5873,10 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to repair the studio's AWS SSO configuration", - "aws.iam#requiredActions": ["sso:CreateManagedApplicationInstance", "sso:GetManagedApplicationInstance"], + "aws.iam#requiredActions": [ + "sso:CreateManagedApplicationInstance", + "sso:GetManagedApplicationInstance" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Repairs the IAM Identity Center configuration for a given studio.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    If the studio has a valid IAM Identity Center configuration currently associated with\n it, this operation will fail with a validation error.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    If the studio does not have a valid IAM Identity Center configuration currently\n associated with it, then a new IAM Identity Center application is created for the studio\n and the studio is changed to the READY state.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    After the IAM Identity Center application is repaired, you must use the Amazon Nimble Studio console to add administrators and users to your studio.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "PUT", @@ -5894,8 +5958,12 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to stop a streaming session", - "aws.iam#conditionKeys": ["nimble:requesterPrincipalId"], - "aws.iam#requiredActions": ["nimble:GetLaunchProfile"], + "aws.iam#conditionKeys": [ + "nimble:requesterPrincipalId" + ], + "aws.iam#requiredActions": [ + "nimble:GetLaunchProfile" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Transitions sessions from the READY state into the STOPPED\n state. The STOP_IN_PROGRESS state is the intermediate state between the\n READY and STOPPED states.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -6420,7 +6488,9 @@ }, "aws.cloudformation#cfnResource": { "name": "StreamingImage", - "additionalSchemas": ["com.amazonaws.nimble#StreamingImage"] + "additionalSchemas": [ + "com.amazonaws.nimble#StreamingImage" + ] }, "aws.iam#conditionKeys": [ "aws:ResourceTag/${TagKey}", @@ -6896,7 +6966,10 @@ "aws.api#arn": { "template": "streaming-session-backup/{backupId}" }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}", "nimble:ownedBy"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}", + "nimble:ownedBy" + ], "aws.iam#disableConditionKeyInference": {}, "smithy.api#documentation": "Represents a streaming session backup originated from a studio user launched streaming session" } @@ -7786,7 +7859,9 @@ }, "aws.cloudformation#cfnResource": { "name": "StudioComponent", - "additionalSchemas": ["com.amazonaws.nimble#StudioComponent"] + "additionalSchemas": [ + "com.amazonaws.nimble#StudioComponent" + ] }, "aws.iam#conditionKeys": [ "aws:ResourceTag/${TagKey}", @@ -8274,7 +8349,9 @@ }, "aws.cloudformation#cfnResource": { "name": "Studio", - "additionalSchemas": ["com.amazonaws.nimble#Studio"] + "additionalSchemas": [ + "com.amazonaws.nimble#Studio" + ] }, "aws.iam#conditionKeys": [ "aws:ResourceTag/${TagKey}", @@ -9076,7 +9153,9 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to update a studio", - "aws.iam#requiredActions": ["iam:PassRole"], + "aws.iam#requiredActions": [ + "iam:PassRole" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Update a Studio resource.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Currently, this operation only supports updating the displayName of your\n studio.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "PATCH", @@ -9557,7 +9636,12 @@ "x-amz-client-token", "x-api-key" ], - "additionalExposedHeaders": ["x-amzn-errortype", "x-amzn-requestid", "x-amzn-trace-id", "x-amz-apigw-id"], + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id", + "x-amz-apigw-id" + ], "maxAge": 600 }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Welcome to the Amazon Nimble Studio API reference. This API reference provides\n methods, schema, resources, parameters, and more to help you get the most out of Nimble\n Studio.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Nimble Studio is a virtual studio that empowers visual effects, animation, and\n interactive content teams to create content securely within a scalable, private cloud\n service.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", @@ -10258,4 +10342,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/oam.json b/codegen/sdk-codegen/aws-models/oam.json index 297cfb2dcfce4..65b9e8ce702f1 100644 --- a/codegen/sdk-codegen/aws-models/oam.json +++ b/codegen/sdk-codegen/aws-models/oam.json @@ -53,7 +53,11 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}", "oam:ResourceTypes"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}", + "oam:ResourceTypes" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Creates a link between a source account and a sink that you have created in a monitoring account.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Before you create a link, you must create a sink in the monitoring account and create a\n sink policy in that account. The sink policy must permit the source account to link to it. You\n can grant permission to source accounts by granting permission to an entire organization or to\n individual accounts.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    For more information, see\n CreateSink and\n PutSinkPolicy.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Each monitoring account can be linked to as many as 100,000 source accounts.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Each source account can be linked to as many as five monitoring accounts.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -172,7 +176,10 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Use this to create a sink in the current account, so that it can be\n used as a monitoring account in CloudWatch cross-account observability. A sink is a resource that\n represents an attachment point in a monitoring account. Source accounts can link to the sink\n to send observability data.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    After you create a sink, you must create a sink policy that allows source accounts to attach to it.\n For more information, see PutSinkPolicy.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Each account can contain one sink. If you delete a sink, you can then create a new one in that account.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -256,7 +263,9 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Deletes a link between a monitoring account sink and a source account. You must run this operation\n in the source account.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -312,7 +321,9 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Deletes a sink. You must delete all links to a sink before you can delete that sink.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -365,7 +376,9 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Returns complete information about one link.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    To use this operation, provide the link ARN. To retrieve a list of link ARNs, use ListLinks.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -462,7 +475,9 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Returns complete information about one monitoring account sink.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    To use this operation, provide the sink ARN. To retrieve a list of sink ARNs, use ListSinks.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -541,7 +556,9 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Returns the current sink policy attached to this sink. The sink policy specifies what\n accounts can attach to this sink as source accounts, and what types of data they can share.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -663,7 +680,9 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Returns a list of source account links that are linked to this monitoring account sink.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    To use this operation, provide the sink ARN. To retrieve a list of sink ARNs, use ListSinks.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    To find a list of links for one source account, use ListLinks.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -676,7 +695,9 @@ "items": "Items" }, "smithy.api#readonly": {}, - "smithy.api#tags": ["dataplane"] + "smithy.api#tags": [ + "dataplane" + ] } }, "com.amazonaws.oam#ListAttachedLinksInput": { @@ -1118,7 +1139,9 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Creates or updates the resource policy that grants permissions to source\n accounts to link to the monitoring account sink. When you create a sink policy, you can grant\n permissions to all accounts in an organization or to individual accounts.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    You can also use a sink policy to limit the types of data that is shared. The three types that\n you can allow or deny are:

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n Metrics - Specify with\n AWS::CloudWatch::Metric\n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n Log groups - Specify with AWS::Logs::LogGroup\n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n Traces - Specify with AWS::XRay::Trace\n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    See the examples in this section to see how to specify permitted source accounts and data types.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -1332,7 +1355,10 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to tag a resource", - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Assigns one or more tags (key-value pairs) to the specified resource.\n Both sinks and links can be tagged.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Tags can help you organize and categorize your resources. You can also use them to scope user\n permissions by granting a user\n permission 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 a resource that already has tags. If you specify a new tag key for the alarm,\n this tag is appended to the list of tags associated\n with the alarm. If you specify a tag key that is already associated with the alarm, the new tag value that you specify replaces\n the previous value for that tag.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    You can associate as many as 50 tags with a resource.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Unlike tagging permissions in other Amazon Web Services services, to tag or untag links and\n sinks you must have the oam:ResourceTag permission. The\n iam:ResourceTag permission does not allow you to tag and untag links and\n sinks.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "PUT", @@ -1412,7 +1438,9 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to untag a resource", - "aws.iam#conditionKeys": ["aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Removes one or more tags from the specified resource.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Unlike tagging permissions in other Amazon Web Services services, to tag or untag links and\n sinks you must have the oam:ResourceTag permission. The\n iam:TagResource permission does not allow you to tag and untag links and\n sinks.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "DELETE", @@ -1475,7 +1503,10 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}", "oam:ResourceTypes"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}", + "oam:ResourceTypes" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Use this operation to change what types of data are shared from a source account to its linked\n monitoring account sink. You can't change the sink or change the monitoring account with this operation.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    To update the list of tags associated with the sink, use\n TagResource.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -1649,10 +1680,18 @@ "externalDocumentation": "${DocHomeURL}oam/latest/apireference/api_createlink.html#api_createlink_requestsyntax" } }, - "aws.iam#supportedPrincipalTypes": ["Root", "IAMUser", "IAMRole", "FederatedUser"], + "aws.iam#supportedPrincipalTypes": [ + "Root", + "IAMUser", + "IAMRole", + "FederatedUser" + ], "aws.protocols#restJson1": {}, "smithy.api#cors": { - "additionalAllowedHeaders": ["Content-Type", "X-Amz-Requested-Operation"] + "additionalAllowedHeaders": [ + "Content-Type", + "X-Amz-Requested-Operation" + ] }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Use Amazon CloudWatch Observability Access Manager to create and manage links between source accounts and\n monitoring accounts by using CloudWatch cross-account observability. With\n CloudWatch cross-account observability, you can monitor and troubleshoot applications that span\n multiple accounts within a Region. Seamlessly search, visualize, and analyze your metrics,\n logs, and traces in any of the linked accounts without account boundaries.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n\n

                                                                                                                                                                                                                                                                                                                                                                                                                    Set up one or more Amazon Web Services accounts as monitoring\n accounts and link them with multiple source accounts. A\n monitoring account is a central Amazon Web Services account that can view and interact with\n observability data generated from source accounts. A source account is an individual Amazon Web Services account that generates observability data for the resources that reside in it.\n Source accounts share their observability data with the monitoring account. The shared\n observability data can include metrics in Amazon CloudWatch, logs in Amazon CloudWatch Logs, and traces in X-Ray.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#title": "CloudWatch Observability Access Manager", @@ -2323,4 +2362,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/omics.json b/codegen/sdk-codegen/aws-models/omics.json index 6ed368907cbfc..76fd518c0f2c8 100644 --- a/codegen/sdk-codegen/aws-models/omics.json +++ b/codegen/sdk-codegen/aws-models/omics.json @@ -1755,7 +1755,10 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:RequestTag/${TagKey}", "aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:RequestTag/${TagKey}", + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Creates a reference store.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#endpoint": { "hostPrefix": "control-storage-" @@ -2022,7 +2025,10 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:RequestTag/${TagKey}", "aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:RequestTag/${TagKey}", + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Creates a sequence store.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#endpoint": { "hostPrefix": "control-storage-" @@ -10318,7 +10324,12 @@ "externalDocumentation": "${DocHomeURL}IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys" } }, - "aws.iam#supportedPrincipalTypes": ["Root", "IAMUser", "IAMRole", "FederatedUser"], + "aws.iam#supportedPrincipalTypes": [ + "Root", + "IAMUser", + "IAMRole", + "FederatedUser" + ], "aws.protocols#restJson1": {}, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    This is the AWS HealthOmics API Reference. For an introduction to the service, see What is AWS HealthOmics? in the\n AWS HealthOmics User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#title": "Amazon Omics", @@ -11622,7 +11633,9 @@ "aws.cloudformation#cfnResource": { "name": "ReadSet" }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {}, "aws.iam#iamResource": { "name": "readSet" @@ -12054,7 +12067,9 @@ "aws.cloudformation#cfnResource": { "name": "Reference" }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {}, "aws.iam#iamResource": { "name": "reference" @@ -12244,7 +12259,9 @@ "aws.cloudformation#cfnResource": { "name": "ReferenceStore" }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {}, "aws.iam#iamResource": { "name": "referenceStore" @@ -12525,7 +12542,9 @@ "aws.cloudformation#cfnResource": { "name": "RunGroup" }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {}, "aws.iam#iamResource": { "name": "runGroup" @@ -12739,7 +12758,9 @@ "aws.api#arn": { "template": "run/{id}" }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {}, "aws.iam#iamResource": { "name": "run" @@ -13198,7 +13219,9 @@ "aws.cloudformation#cfnResource": { "name": "SequenceStore" }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {}, "aws.iam#iamResource": { "name": "sequenceStore" @@ -16454,7 +16477,9 @@ "aws.cloudformation#cfnResource": { "name": "Workflow" }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {}, "aws.iam#iamResource": { "name": "workflow" @@ -16528,4 +16553,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/opensearch.json b/codegen/sdk-codegen/aws-models/opensearch.json index 899623da02828..ea9fa09c87699 100644 --- a/codegen/sdk-codegen/aws-models/opensearch.json +++ b/codegen/sdk-codegen/aws-models/opensearch.json @@ -11489,4 +11489,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/opensearchserverless.json b/codegen/sdk-codegen/aws-models/opensearchserverless.json index 86bcd39ec9579..33d74af019d2a 100644 --- a/codegen/sdk-codegen/aws-models/opensearchserverless.json +++ b/codegen/sdk-codegen/aws-models/opensearchserverless.json @@ -4368,4 +4368,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/opsworks.json b/codegen/sdk-codegen/aws-models/opsworks.json index 13a2cec019792..d3550d1f97fd2 100644 --- a/codegen/sdk-codegen/aws-models/opsworks.json +++ b/codegen/sdk-codegen/aws-models/opsworks.json @@ -9600,4 +9600,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/opsworkscm.json b/codegen/sdk-codegen/aws-models/opsworkscm.json index 2f6c0f1a29979..fbfea0c09452f 100644 --- a/codegen/sdk-codegen/aws-models/opsworkscm.json +++ b/codegen/sdk-codegen/aws-models/opsworkscm.json @@ -3130,4 +3130,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/organizations.json b/codegen/sdk-codegen/aws-models/organizations.json index faddcc314071a..8a9b4feb91268 100644 --- a/codegen/sdk-codegen/aws-models/organizations.json +++ b/codegen/sdk-codegen/aws-models/organizations.json @@ -5910,7 +5910,9 @@ "title": "To get a list of completed account creation requests made in the organization", "documentation": "The following example shows a user requesting a list of only the completed account creation requests made for the current organization:", "input": { - "States": ["SUCCEEDED"] + "States": [ + "SUCCEEDED" + ] }, "output": { "CreateAccountStatuses": [ @@ -8787,4 +8789,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/osis.json b/codegen/sdk-codegen/aws-models/osis.json index dbe739a90d6c3..63f51fbab1bd1 100644 --- a/codegen/sdk-codegen/aws-models/osis.json +++ b/codegen/sdk-codegen/aws-models/osis.json @@ -2487,4 +2487,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/outposts.json b/codegen/sdk-codegen/aws-models/outposts.json index 3cd1fab146887..63b307d6c325d 100644 --- a/codegen/sdk-codegen/aws-models/outposts.json +++ b/codegen/sdk-codegen/aws-models/outposts.json @@ -5316,4 +5316,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/panorama.json b/codegen/sdk-codegen/aws-models/panorama.json index 8e205c980d545..432c667e067df 100644 --- a/codegen/sdk-codegen/aws-models/panorama.json +++ b/codegen/sdk-codegen/aws-models/panorama.json @@ -6643,4 +6643,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/payment-cryptography-data.json b/codegen/sdk-codegen/aws-models/payment-cryptography-data.json index dc1be5f0fc779..2641464d32610 100644 --- a/codegen/sdk-codegen/aws-models/payment-cryptography-data.json +++ b/codegen/sdk-codegen/aws-models/payment-cryptography-data.json @@ -3798,4 +3798,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/payment-cryptography.json b/codegen/sdk-codegen/aws-models/payment-cryptography.json index e00a3868a7027..62b81dda27279 100644 --- a/codegen/sdk-codegen/aws-models/payment-cryptography.json +++ b/codegen/sdk-codegen/aws-models/payment-cryptography.json @@ -3397,4 +3397,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/pca-connector-ad.json b/codegen/sdk-codegen/aws-models/pca-connector-ad.json index 94d4727ed3eb9..6547e0303eb99 100644 --- a/codegen/sdk-codegen/aws-models/pca-connector-ad.json +++ b/codegen/sdk-codegen/aws-models/pca-connector-ad.json @@ -3314,7 +3314,11 @@ "x-amzn-platform-id", "x-amzn-trace-id" ], - "additionalExposedHeaders": ["x-amzn-errortype", "x-amzn-requestid", "x-amzn-trace-id"], + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id" + ], "maxAge": 86400 }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Amazon Web Services Private CA Connector for Active Directory creates a connector between Amazon Web Services Private CA and Active Directory (AD) that enables you to\n provision security certificates for AD signed by a private CA that you own. For more\n information, see Amazon Web Services Private CA Connector for Active Directory.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", @@ -5679,4 +5683,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/personalize-events.json b/codegen/sdk-codegen/aws-models/personalize-events.json index b3d2096b28b7c..9ccb8e2134de0 100644 --- a/codegen/sdk-codegen/aws-models/personalize-events.json +++ b/codegen/sdk-codegen/aws-models/personalize-events.json @@ -1154,4 +1154,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/personalize-runtime.json b/codegen/sdk-codegen/aws-models/personalize-runtime.json index b4d86b804030f..b16eed5092a55 100644 --- a/codegen/sdk-codegen/aws-models/personalize-runtime.json +++ b/codegen/sdk-codegen/aws-models/personalize-runtime.json @@ -1132,4 +1132,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/personalize.json b/codegen/sdk-codegen/aws-models/personalize.json index d1932b9dd7d46..6246e30455fea 100644 --- a/codegen/sdk-codegen/aws-models/personalize.json +++ b/codegen/sdk-codegen/aws-models/personalize.json @@ -8905,4 +8905,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/pi.json b/codegen/sdk-codegen/aws-models/pi.json index 81c5c6e918445..ad2ab587b0b75 100644 --- a/codegen/sdk-codegen/aws-models/pi.json +++ b/codegen/sdk-codegen/aws-models/pi.json @@ -3217,4 +3217,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/pinpoint-email.json b/codegen/sdk-codegen/aws-models/pinpoint-email.json index b6b44b5940c70..1f2bb778664f1 100644 --- a/codegen/sdk-codegen/aws-models/pinpoint-email.json +++ b/codegen/sdk-codegen/aws-models/pinpoint-email.json @@ -5839,4 +5839,4 @@ } } } -} +} \ No newline at end of file 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 c4a0253d28d17..922e871924b53 100644 --- a/codegen/sdk-codegen/aws-models/pinpoint-sms-voice-v2.json +++ b/codegen/sdk-codegen/aws-models/pinpoint-sms-voice-v2.json @@ -7468,4 +7468,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/pinpoint-sms-voice.json b/codegen/sdk-codegen/aws-models/pinpoint-sms-voice.json index 200a591dd0b6e..56bc74e211577 100644 --- a/codegen/sdk-codegen/aws-models/pinpoint-sms-voice.json +++ b/codegen/sdk-codegen/aws-models/pinpoint-sms-voice.json @@ -1629,4 +1629,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/pinpoint.json b/codegen/sdk-codegen/aws-models/pinpoint.json index a109679e3c62e..5e3444cbcacba 100644 --- a/codegen/sdk-codegen/aws-models/pinpoint.json +++ b/codegen/sdk-codegen/aws-models/pinpoint.json @@ -21414,4 +21414,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/pipes.json b/codegen/sdk-codegen/aws-models/pipes.json index 318d827563e5b..ef9150ad35e16 100644 --- a/codegen/sdk-codegen/aws-models/pipes.json +++ b/codegen/sdk-codegen/aws-models/pipes.json @@ -421,7 +421,11 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to create a pipe", - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}", "aws:RequestTag/${TagKey}", "aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}", + "aws:RequestTag/${TagKey}", + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Create a pipe. Amazon EventBridge Pipes connect event sources to targets and reduces the need for specialized knowledge and integration code.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -618,7 +622,11 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to delete a pipe", - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}", "aws:RequestTag/${TagKey}", "aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}", + "aws:RequestTag/${TagKey}", + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Delete an existing pipe. For more information about pipes, see Amazon EventBridge Pipes in the Amazon EventBridge User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "DELETE", @@ -713,7 +721,11 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to describe a pipe", - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}", "aws:RequestTag/${TagKey}", "aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}", + "aws:RequestTag/${TagKey}", + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Get the information about an existing pipe. For more information about pipes, see Amazon EventBridge Pipes in the Amazon EventBridge User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "GET", @@ -1552,7 +1564,9 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to list the tags for a resource", - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Displays the tags associated with a pipe.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/tags/{resourceArn}", @@ -1977,7 +1991,9 @@ "aws.cloudformation#cfnResource": { "name": "Pipe" }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {}, "aws.iam#iamResource": { "name": "pipe" @@ -2927,7 +2943,12 @@ "externalDocumentation": "${DocHomeURL}IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag" } }, - "aws.iam#supportedPrincipalTypes": ["Root", "IAMUser", "IAMRole", "FederatedUser"], + "aws.iam#supportedPrincipalTypes": [ + "Root", + "IAMUser", + "IAMRole", + "FederatedUser" + ], "aws.protocols#restJson1": {}, "smithy.api#cors": { "origin": "*", @@ -4132,7 +4153,11 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to start a pipe", - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}", "aws:RequestTag/${TagKey}", "aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}", + "aws:RequestTag/${TagKey}", + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Start an existing pipe.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -4239,7 +4264,11 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to stop a pipe", - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}", "aws:RequestTag/${TagKey}", "aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}", + "aws:RequestTag/${TagKey}", + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Stop an existing pipe.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -4449,7 +4478,11 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to add tags to a resource", - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}", "aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}", + "aws:ResourceTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Assigns one or more tags (key-value pairs) to the specified pipe. Tags can\n help you organize and categorize your resources. You can also use them to scope user\n permissions by granting a user permission to access or change only resources with certain tag\n values.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of\n characters.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    You can use the TagResource action with a pipe that already has tags. If\n you specify a new tag key, this tag is appended to the list of tags associated with the\n pipe. If you specify a tag key that is already associated with the pipe, the new tag\n value that you specify replaces the previous value for that tag.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    You can associate as many as 50 tags with a pipe.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/tags/{resourceArn}", @@ -4573,7 +4606,9 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to remove the tags for a resource", - "aws.iam#conditionKeys": ["aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Removes one or more tags from the specified pipes.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "uri": "/tags/{resourceArn}", @@ -4645,7 +4680,11 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to update a pipe", - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}", "aws:RequestTag/${TagKey}", "aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}", + "aws:RequestTag/${TagKey}", + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Update an existing pipe. When you call UpdatePipe, only the fields that are included in the request are changed, the rest are unchanged. \n The exception to this is if you modify any Amazon Web Services-service specific fields in the SourceParameters, EnrichmentParameters, or \n TargetParameters objects. The fields in these objects are updated atomically as one and override existing values. This is by design and means that \n if you don't specify an optional field in one of these Parameters objects, that field will be set to its system-default value after the update.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    For more information about pipes, see \n Amazon EventBridge Pipes in the Amazon EventBridge User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "PUT", @@ -5107,4 +5146,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/polly.json b/codegen/sdk-codegen/aws-models/polly.json index eebebc65905a8..3b33463834210 100644 --- a/codegen/sdk-codegen/aws-models/polly.json +++ b/codegen/sdk-codegen/aws-models/polly.json @@ -2654,7 +2654,9 @@ "title": "To synthesize speech", "documentation": "Synthesizes plain text or SSML into a file of human-like speech.", "input": { - "LexiconNames": ["example"], + "LexiconNames": [ + "example" + ], "OutputFormat": "mp3", "SampleRate": "8000", "Text": "All Gaul is divided into three parts", @@ -3491,4 +3493,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/pricing.json b/codegen/sdk-codegen/aws-models/pricing.json index d878358446c06..f0845990d1be0 100644 --- a/codegen/sdk-codegen/aws-models/pricing.json +++ b/codegen/sdk-codegen/aws-models/pricing.json @@ -1462,4 +1462,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/privatenetworks.json b/codegen/sdk-codegen/aws-models/privatenetworks.json index 449b5b3685e69..d080339b11427 100644 --- a/codegen/sdk-codegen/aws-models/privatenetworks.json +++ b/codegen/sdk-codegen/aws-models/privatenetworks.json @@ -1085,7 +1085,11 @@ "x-amzn-platform-id", "x-amzn-trace-id" ], - "additionalExposedHeaders": ["x-amzn-errortype", "x-amzn-requestid", "x-amzn-trace-id"], + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id" + ], "maxAge": 86400 }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Amazon Web Services Private 5G is a managed service that makes it easy to deploy, operate, and scale\n your own private mobile network at your on-premises location. Private 5G provides the\n pre-configured hardware and software for mobile networks, helps automate setup, and\n scales capacity on demand to support additional devices as needed.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", @@ -3941,4 +3945,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/proton.json b/codegen/sdk-codegen/aws-models/proton.json index 58c9ae83f26e8..1bd0904d0aad0 100644 --- a/codegen/sdk-codegen/aws-models/proton.json +++ b/codegen/sdk-codegen/aws-models/proton.json @@ -12549,4 +12549,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/qldb-session.json b/codegen/sdk-codegen/aws-models/qldb-session.json index a2e50ef033b11..7149df6a6b891 100644 --- a/codegen/sdk-codegen/aws-models/qldb-session.json +++ b/codegen/sdk-codegen/aws-models/qldb-session.json @@ -1498,4 +1498,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/qldb.json b/codegen/sdk-codegen/aws-models/qldb.json index 7c6cfaeb3a2ea..a001b325918bd 100644 --- a/codegen/sdk-codegen/aws-models/qldb.json +++ b/codegen/sdk-codegen/aws-models/qldb.json @@ -3207,4 +3207,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/quicksight.json b/codegen/sdk-codegen/aws-models/quicksight.json index 80c8eaf23c620..1a24de0384c43 100644 --- a/codegen/sdk-codegen/aws-models/quicksight.json +++ b/codegen/sdk-codegen/aws-models/quicksight.json @@ -50536,4 +50536,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/ram.json b/codegen/sdk-codegen/aws-models/ram.json index de22b1b85dc32..bd6a11209f46b 100644 --- a/codegen/sdk-codegen/aws-models/ram.json +++ b/codegen/sdk-codegen/aws-models/ram.json @@ -6197,4 +6197,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/rbin.json b/codegen/sdk-codegen/aws-models/rbin.json index e4f2fc7920f73..4daff47b398e0 100644 --- a/codegen/sdk-codegen/aws-models/rbin.json +++ b/codegen/sdk-codegen/aws-models/rbin.json @@ -2354,4 +2354,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/rds-data.json b/codegen/sdk-codegen/aws-models/rds-data.json index 41a656c44295c..1dcc6b58d2c24 100644 --- a/codegen/sdk-codegen/aws-models/rds-data.json +++ b/codegen/sdk-codegen/aws-models/rds-data.json @@ -2055,4 +2055,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/rds.json b/codegen/sdk-codegen/aws-models/rds.json index 3b71977e2af79..8a1b7ea400789 100644 --- a/codegen/sdk-codegen/aws-models/rds.json +++ b/codegen/sdk-codegen/aws-models/rds.json @@ -325,11 +325,17 @@ "EventSubscriptionArn": "arn:aws:rds:us-east-1:123456789012:es:my-instance-events", "Enabled": false, "Status": "modifying", - "EventCategoriesList": ["backup", "recovery"], + "EventCategoriesList": [ + "backup", + "recovery" + ], "CustomerAwsId": "123456789012", "SnsTopicArn": "arn:aws:sns:us-east-1:123456789012:interesting-events", "SourceType": "db-instance", - "SourceIdsList": ["test-instance", "test-instance-repl"] + "SourceIdsList": [ + "test-instance", + "test-instance-repl" + ] } } } @@ -3083,7 +3089,11 @@ }, "output": { "DBClusterSnapshot": { - "AvailabilityZones": ["us-east-1a", "us-east-1b", "us-east-1e"], + "AvailabilityZones": [ + "us-east-1a", + "us-east-1b", + "us-east-1e" + ], "DBClusterSnapshotIdentifier": "myclustersnapshotcopy", "DBClusterIdentifier": "myaurora", "SnapshotCreateTime": "2019-06-04T09:16:42.649Z", @@ -3782,7 +3792,9 @@ "MasterUsername": "admin", "MasterUserPassword": "mypassword", "DBSubnetGroupName": "default", - "VpcSecurityGroupIds": ["sg-0b91305example"] + "VpcSecurityGroupIds": [ + "sg-0b91305example" + ] }, "output": { "DBCluster": { @@ -3809,7 +3821,11 @@ "BackupRetentionPeriod": 1, "DbClusterResourceId": "cluster-ANPAJ4AE5446DAEXAMPLE", "DBClusterIdentifier": "sample-cluster", - "AvailabilityZones": ["us-east-1a", "us-east-1b", "us-east-1e"], + "AvailabilityZones": [ + "us-east-1a", + "us-east-1b", + "us-east-1e" + ], "MasterUsername": "master", "EngineVersion": "5.7.12", "DBClusterArn": "arn:aws:rds:us-east-1:123456789012:cluster:sample-cluster", @@ -3865,7 +3881,10 @@ "DBClusterIdentifier": "mydbcluster", "DBClusterEndpointIdentifier": "mycustomendpoint", "EndpointType": "reader", - "StaticMembers": ["dbinstance1", "dbinstance2"] + "StaticMembers": [ + "dbinstance1", + "dbinstance2" + ] }, "output": { "DBClusterEndpointIdentifier": "mycustomendpoint", @@ -3875,7 +3894,10 @@ "Status": "creating", "EndpointType": "CUSTOM", "CustomEndpointType": "READER", - "StaticMembers": ["dbinstance1", "dbinstance2"], + "StaticMembers": [ + "dbinstance1", + "dbinstance2" + ], "ExcludedMembers": [], "DBClusterEndpointArn": "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:mycustomendpoint" } @@ -4372,7 +4394,11 @@ }, "output": { "DBClusterSnapshot": { - "AvailabilityZones": ["us-east-1a", "us-east-1b", "us-east-1e"], + "AvailabilityZones": [ + "us-east-1a", + "us-east-1b", + "us-east-1e" + ], "DBClusterSnapshotIdentifier": "mydbclustersnapshot", "DBClusterIdentifier": "mydbcluster", "SnapshotCreateTime": "2019-06-18T21:21:00.469Z", @@ -5864,7 +5890,11 @@ "input": { "DBSubnetGroupName": "mysubnetgroup", "DBSubnetGroupDescription": "test DB subnet group", - "SubnetIds": ["subnet-0a1dc4e1a6f123456", "subnet-070dd7ecb3aaaaaaa", "subnet-00f5b198bc0abcdef"] + "SubnetIds": [ + "subnet-0a1dc4e1a6f123456", + "subnet-070dd7ecb3aaaaaaa", + "subnet-00f5b198bc0abcdef" + ] }, "output": { "DBSubnetGroup": { @@ -5990,14 +6020,20 @@ "SubscriptionName": "my-instance-events", "SnsTopicArn": "arn:aws:sns:us-east-1:123456789012:interesting-events", "SourceType": "db-instance", - "EventCategories": ["backup", "recovery"] + "EventCategories": [ + "backup", + "recovery" + ] }, "output": { "EventSubscription": { "Status": "creating", "CustSubscriptionId": "my-instance-events", "SubscriptionCreationTime": "Tue Jul 31 23:22:01 UTC 2018", - "EventCategoriesList": ["backup", "recovery"], + "EventCategoriesList": [ + "backup", + "recovery" + ], "SnsTopicArn": "arn:aws:sns:us-east-1:123456789012:interesting-events", "CustomerAwsId": "123456789012", "EventSubscriptionArn": "arn:aws:rds:us-east-1:123456789012:es:my-instance-events", @@ -10834,7 +10870,11 @@ "output": { "DBCluster": { "AllocatedStorage": 20, - "AvailabilityZones": ["eu-central-1b", "eu-central-1c", "eu-central-1a"], + "AvailabilityZones": [ + "eu-central-1b", + "eu-central-1c", + "eu-central-1a" + ], "BackupRetentionPeriod": 7, "DBClusterIdentifier": "mycluster", "DBClusterParameterGroup": "default.aurora-postgresql10", @@ -10928,7 +10968,11 @@ "Status": "deleting", "EndpointType": "CUSTOM", "CustomEndpointType": "READER", - "StaticMembers": ["dbinstance1", "dbinstance2", "dbinstance3"], + "StaticMembers": [ + "dbinstance1", + "dbinstance2", + "dbinstance3" + ], "ExcludedMembers": [], "DBClusterEndpointArn": "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:mycustomendpoint" } @@ -11069,7 +11113,11 @@ }, "output": { "DBClusterSnapshot": { - "AvailabilityZones": ["us-east-1a", "us-east-1b", "us-east-1e"], + "AvailabilityZones": [ + "us-east-1a", + "us-east-1b", + "us-east-1e" + ], "DBClusterSnapshotIdentifier": "mydbclustersnapshot", "DBClusterIdentifier": "mydbcluster", "SnapshotCreateTime": "2019-06-18T21:21:00.469Z", @@ -11652,9 +11700,14 @@ "EventSubscriptionArn": "arn:aws:rds:us-east-1:123456789012:es:my-instance-events", "CustomerAwsId": "123456789012", "Enabled": false, - "SourceIdsList": ["test-instance"], + "SourceIdsList": [ + "test-instance" + ], "SourceType": "db-instance", - "EventCategoriesList": ["backup", "recovery"], + "EventCategoriesList": [ + "backup", + "recovery" + ], "SubscriptionCreationTime": "2018-07-31 23:22:01.893", "CustSubscriptionId": "my-instance-events", "SnsTopicArn": "arn:aws:sns:us-east-1:123456789012:interesting-events", @@ -12487,7 +12540,9 @@ "AllowedValues": "0,1", "IsModifiable": false, "ApplyMethod": "pending-reboot", - "SupportedEngineModes": ["provisioned"] + "SupportedEngineModes": [ + "provisioned" + ] }, { "ParameterName": "aurora_lab_mode", @@ -12499,7 +12554,9 @@ "AllowedValues": "0,1", "IsModifiable": true, "ApplyMethod": "pending-reboot", - "SupportedEngineModes": ["provisioned"] + "SupportedEngineModes": [ + "provisioned" + ] } ] } @@ -12581,7 +12638,9 @@ "DBClusterSnapshotAttributes": [ { "AttributeName": "restore", - "AttributeValues": ["123456789012"] + "AttributeValues": [ + "123456789012" + ] } ] } @@ -12642,7 +12701,11 @@ "output": { "DBClusterSnapshots": [ { - "AvailabilityZones": ["us-east-1a", "us-east-1b", "us-east-1e"], + "AvailabilityZones": [ + "us-east-1a", + "us-east-1b", + "us-east-1e" + ], "DBClusterSnapshotIdentifier": "myclustersnapshotcopy", "DBClusterIdentifier": "mydbcluster", "SnapshotCreateTime": "2019-06-04T09:16:42.649Z", @@ -12663,7 +12726,11 @@ "IAMDatabaseAuthenticationEnabled": false }, { - "AvailabilityZones": ["us-east-1a", "us-east-1b", "us-east-1e"], + "AvailabilityZones": [ + "us-east-1a", + "us-east-1b", + "us-east-1e" + ], "DBClusterSnapshotIdentifier": "rds:mydbcluster-2019-06-20-09-16", "DBClusterIdentifier": "mydbcluster", "SnapshotCreateTime": "2019-06-20T09:16:26.569Z", @@ -12914,7 +12981,11 @@ "DBClusters": [ { "AllocatedStorage": 1, - "AvailabilityZones": ["us-east-1a", "us-east-1b", "us-east-1e"], + "AvailabilityZones": [ + "us-east-1a", + "us-east-1b", + "us-east-1e" + ], "BackupRetentionPeriod": 1, "DatabaseName": "mydbcluster", "DBClusterIdentifier": "mydbcluster", @@ -13443,7 +13514,9 @@ "items": "DBInstances", "pageSize": "MaxRecords" }, - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "DBInstanceAvailable": { "acceptors": [ @@ -14402,7 +14475,10 @@ "DBSnapshotAttributes": [ { "AttributeName": "restore", - "AttributeValues": ["123456789012", "210987654321"] + "AttributeValues": [ + "123456789012", + "210987654321" + ] } ] } @@ -14496,7 +14572,9 @@ "items": "DBSnapshots", "pageSize": "MaxRecords" }, - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "DBSnapshotAvailable": { "acceptors": [ @@ -14822,7 +14900,9 @@ "ApplyType": "dynamic", "DataType": "string", "IsModifiable": true, - "SupportedEngineModes": ["provisioned"] + "SupportedEngineModes": [ + "provisioned" + ] } ] } @@ -15004,23 +15084,39 @@ }, { "SourceType": "db-security-group", - "EventCategories": ["configuration change", "failure"] + "EventCategories": [ + "configuration change", + "failure" + ] }, { "SourceType": "db-parameter-group", - "EventCategories": ["configuration change"] + "EventCategories": [ + "configuration change" + ] }, { "SourceType": "db-snapshot", - "EventCategories": ["deletion", "creation", "restoration", "notification"] + "EventCategories": [ + "deletion", + "creation", + "restoration", + "notification" + ] }, { "SourceType": "db-cluster", - "EventCategories": ["failover", "failure", "notification"] + "EventCategories": [ + "failover", + "failure", + "notification" + ] }, { "SourceType": "db-cluster-snapshot", - "EventCategories": ["backup"] + "EventCategories": [ + "backup" + ] } ] } @@ -15071,7 +15167,10 @@ "output": { "EventSubscriptionsList": [ { - "EventCategoriesList": ["backup", "recovery"], + "EventCategoriesList": [ + "backup", + "recovery" + ], "Enabled": true, "EventSubscriptionArn": "arn:aws:rds:us-east-1:123456789012:es:my-instance-events", "Status": "creating", @@ -15149,7 +15248,9 @@ { "SourceType": "db-instance", "SourceIdentifier": "test-instance", - "EventCategories": ["backup"], + "EventCategories": [ + "backup" + ], "Message": "Backing up DB instance", "Date": "2018-07-31T23:09:23.983Z", "SourceArn": "arn:aws:rds:us-east-1:123456789012:db:test-instance" @@ -15157,7 +15258,9 @@ { "SourceType": "db-instance", "SourceIdentifier": "test-instance", - "EventCategories": ["backup"], + "EventCategories": [ + "backup" + ], "Message": "Finished DB Instance backup", "Date": "2018-07-31T23:15:13.049Z", "SourceArn": "arn:aws:rds:us-east-1:123456789012:db:test-instance" @@ -18805,7 +18908,11 @@ "output": { "DBCluster": { "AllocatedStorage": 1, - "AvailabilityZones": ["eu-central-1b", "eu-central-1c", "eu-central-1a"], + "AvailabilityZones": [ + "eu-central-1b", + "eu-central-1c", + "eu-central-1a" + ], "BackupRetentionPeriod": 14, "DatabaseName": "", "DBClusterIdentifier": "cluster-2", @@ -18891,7 +18998,11 @@ "documentation": "The following example modifies the specified custom DB cluster endpoint.", "input": { "DBClusterEndpointIdentifier": "mycustomendpoint", - "StaticMembers": ["dbinstance1", "dbinstance2", "dbinstance3"] + "StaticMembers": [ + "dbinstance1", + "dbinstance2", + "dbinstance3" + ] }, "output": { "DBClusterEndpointIdentifier": "mycustomendpoint", @@ -18901,7 +19012,11 @@ "Status": "modifying", "EndpointType": "CUSTOM", "CustomEndpointType": "READER", - "StaticMembers": ["dbinstance1", "dbinstance2", "dbinstance3"], + "StaticMembers": [ + "dbinstance1", + "dbinstance2", + "dbinstance3" + ], "ExcludedMembers": [], "DBClusterEndpointArn": "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:mycustomendpoint" } @@ -19316,7 +19431,9 @@ "input": { "DBClusterSnapshotIdentifier": "myclustersnapshot", "AttributeName": "restore", - "ValuesToAdd": ["123456789012"] + "ValuesToAdd": [ + "123456789012" + ] }, "output": { "DBClusterSnapshotAttributesResult": { @@ -19324,7 +19441,9 @@ "DBClusterSnapshotAttributes": [ { "AttributeName": "restore", - "AttributeValues": ["123456789012"] + "AttributeValues": [ + "123456789012" + ] } ] } @@ -20244,7 +20363,10 @@ "input": { "DBSnapshotIdentifier": "mydbsnapshot", "AttributeName": "restore", - "ValuesToAdd": ["111122223333", "444455556666"] + "ValuesToAdd": [ + "111122223333", + "444455556666" + ] }, "output": { "DBSnapshotAttributesResult": { @@ -20252,7 +20374,10 @@ "DBSnapshotAttributes": [ { "AttributeName": "restore", - "AttributeValues": ["111122223333", "444455556666"] + "AttributeValues": [ + "111122223333", + "444455556666" + ] } ] } @@ -20509,7 +20634,10 @@ }, "output": { "EventSubscription": { - "EventCategoriesList": ["backup", "recovery"], + "EventCategoriesList": [ + "backup", + "recovery" + ], "CustomerAwsId": "123456789012", "SourceType": "db-instance", "SubscriptionCreationTime": "Tue Jul 31 23:22:01 UTC 2018", @@ -20700,7 +20828,9 @@ "OptionsToInclude": [ { "OptionName": "MEMCACHED", - "DBSecurityGroupMemberships": ["default"] + "DBSecurityGroupMemberships": [ + "default" + ] } ], "ApplyImmediately": true @@ -22660,7 +22790,9 @@ "GlobalClusterMembers": [ { "DBClusterArn": "arn:aws:rds:us-east-1:123456789012:cluster:js-global-cluster", - "Readers": ["arn:aws:rds:us-west-2:123456789012:cluster:DB-1"], + "Readers": [ + "arn:aws:rds:us-west-2:123456789012:cluster:DB-1" + ], "IsWriter": true }, { @@ -22850,12 +22982,17 @@ "EventSubscription": { "EventSubscriptionArn": "arn:aws:rds:us-east-1:123456789012:es:my-instance-events", "SubscriptionCreationTime": "Tue Jul 31 23:22:01 UTC 2018", - "EventCategoriesList": ["backup", "recovery"], + "EventCategoriesList": [ + "backup", + "recovery" + ], "SnsTopicArn": "arn:aws:sns:us-east-1:123456789012:interesting-events", "Status": "modifying", "CustSubscriptionId": "my-instance-events", "CustomerAwsId": "123456789012", - "SourceIdsList": ["test-instance"], + "SourceIdsList": [ + "test-instance" + ], "SourceType": "db-instance", "Enabled": false } @@ -22934,7 +23071,10 @@ "documentation": "The following example removes tags from a resource.", "input": { "ResourceName": "arn:aws:rds:us-east-1:123456789012:db:mydbinstance", - "TagKeys": ["Name", "Environment"] + "TagKeys": [ + "Name", + "Environment" + ] } } ] @@ -23525,7 +23665,11 @@ "output": { "DBCluster": { "AllocatedStorage": 1, - "AvailabilityZones": ["us-west-2c", "us-west-2a", "us-west-2b"], + "AvailabilityZones": [ + "us-west-2c", + "us-west-2a", + "us-west-2b" + ], "BackupRetentionPeriod": 1, "DBClusterIdentifier": "cluster-s3-restore", "DBClusterParameterGroup": "default.aurora-mysql5.7", @@ -23885,7 +24029,11 @@ "output": { "DBCluster": { "AllocatedStorage": 1, - "AvailabilityZones": ["us-west-2c", "us-west-2a", "us-west-2b"], + "AvailabilityZones": [ + "us-west-2c", + "us-west-2a", + "us-west-2b" + ], "BackupRetentionPeriod": 7, "DatabaseName": "", "DBClusterIdentifier": "newdbcluster", @@ -24199,7 +24347,11 @@ "output": { "DBCluster": { "AllocatedStorage": 1, - "AvailabilityZones": ["us-west-2c", "us-west-2a", "us-west-2b"], + "AvailabilityZones": [ + "us-west-2c", + "us-west-2a", + "us-west-2b" + ], "BackupRetentionPeriod": 7, "DatabaseName": "", "DBClusterIdentifier": "sample-cluster-clone", @@ -26292,7 +26444,11 @@ "output": { "DBCluster": { "AllocatedStorage": 1, - "AvailabilityZones": ["us-east-1a", "us-east-1e", "us-east-1b"], + "AvailabilityZones": [ + "us-east-1a", + "us-east-1e", + "us-east-1b" + ], "BackupRetentionPeriod": 1, "DatabaseName": "mydb", "DBClusterIdentifier": "mydbcluster" @@ -26766,7 +26922,11 @@ "output": { "DBCluster": { "AllocatedStorage": 1, - "AvailabilityZones": ["us-east-1a", "us-east-1e", "us-east-1b"], + "AvailabilityZones": [ + "us-east-1a", + "us-east-1e", + "us-east-1b" + ], "BackupRetentionPeriod": 1, "DatabaseName": "mydb", "DBClusterIdentifier": "mydbcluster" @@ -27930,4 +28090,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/redshift-data.json b/codegen/sdk-codegen/aws-models/redshift-data.json index 4d8e51516b1fe..3dc3eb8ba953b 100644 --- a/codegen/sdk-codegen/aws-models/redshift-data.json +++ b/codegen/sdk-codegen/aws-models/redshift-data.json @@ -2480,4 +2480,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/redshift-serverless.json b/codegen/sdk-codegen/aws-models/redshift-serverless.json index d2608d42cd335..7b48d0cd6b4ab 100644 --- a/codegen/sdk-codegen/aws-models/redshift-serverless.json +++ b/codegen/sdk-codegen/aws-models/redshift-serverless.json @@ -2783,7 +2783,12 @@ "aws.auth#sigv4": { "name": "redshift-serverless" }, - "aws.iam#supportedPrincipalTypes": ["Root", "IAMUser", "IAMRole", "FederatedUser"], + "aws.iam#supportedPrincipalTypes": [ + "Root", + "IAMUser", + "IAMRole", + "FederatedUser" + ], "aws.protocols#awsJson1_1": {}, "smithy.api#cors": {}, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    This is an interface reference for Amazon Redshift Serverless. \n It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Redshift Serverless.\n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Amazon Redshift Serverless automatically provisions data warehouse capacity and intelligently scales the \n underlying resources based on workload demands. Amazon Redshift Serverless adjusts capacity in seconds to deliver consistently high \n performance and simplified operations for even the most demanding and volatile workloads. Amazon Redshift Serverless lets you\n focus on using your data to acquire new insights for your business and customers.\n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n To learn more about Amazon Redshift Serverless, \n see What is Amazon Redshift Serverless.\n

                                                                                                                                                                                                                                                                                                                                                                                                                    ", @@ -5187,4 +5192,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/redshift.json b/codegen/sdk-codegen/aws-models/redshift.json index a484423235620..69f53ee906b91 100644 --- a/codegen/sdk-codegen/aws-models/redshift.json +++ b/codegen/sdk-codegen/aws-models/redshift.json @@ -5840,7 +5840,9 @@ "items": "Clusters", "pageSize": "MaxRecords" }, - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "ClusterAvailable": { "acceptors": [ @@ -17430,4 +17432,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/rekognition.json b/codegen/sdk-codegen/aws-models/rekognition.json index 37e978125844c..e5a608c2bf302 100644 --- a/codegen/sdk-codegen/aws-models/rekognition.json +++ b/codegen/sdk-codegen/aws-models/rekognition.json @@ -144,12 +144,16 @@ "output": { "UnsuccessfulFaceAssociations": [ { - "Reasons": ["LOW_MATCH_CONFIDENCE"], + "Reasons": [ + "LOW_MATCH_CONFIDENCE" + ], "FaceId": "f5817d37-94f6-4335-bfee-6cf79a3d806e", "Confidence": 0.9375374913215637 }, { - "Reasons": ["ASSOCIATED_TO_A_DIFFERENT_USER"], + "Reasons": [ + "ASSOCIATED_TO_A_DIFFERENT_USER" + ], "FaceId": "851cb847-dccc-4fea-9309-9f4805967855", "UserId": "demoUser2" } @@ -2591,10 +2595,14 @@ "documentation": "This operation deletes one or more faces from a Rekognition collection.", "input": { "CollectionId": "myphotos", - "FaceIds": ["ff43d742-0c13-5d16-a3e8-03d3f58e980b"] + "FaceIds": [ + "ff43d742-0c13-5d16-a3e8-03d3f58e980b" + ] }, "output": { - "DeletedFaces": ["ff43d742-0c13-5d16-a3e8-03d3f58e980b"] + "DeletedFaces": [ + "ff43d742-0c13-5d16-a3e8-03d3f58e980b" + ] } } ] @@ -4451,7 +4459,10 @@ "input": { "CollectionId": "MyCollection", "UserId": "DemoUser", - "FaceIds": ["f5817d37-94f6-4335-bfee-6cf79a3d806e", "c92265d4-5f9c-43af-a58e-12be0ce02bc3"], + "FaceIds": [ + "f5817d37-94f6-4335-bfee-6cf79a3d806e", + "c92265d4-5f9c-43af-a58e-12be0ce02bc3" + ], "ClientRequestToken": "550e8400-e29b-41d4-a716-446655440003" }, "output": { @@ -4463,7 +4474,9 @@ ], "UnsuccessfulFaceDisassociations": [ { - "Reasons": ["ASSOCIATED_TO_A_DIFFERENT_USER"], + "Reasons": [ + "ASSOCIATED_TO_A_DIFFERENT_USER" + ], "FaceId": "f5817d37-94f6-4335-bfee-6cf79a3d806e", "UserId": "demoUser1" } @@ -7983,7 +7996,9 @@ "title": "To list the collections", "documentation": "This operation returns a list of Rekognition collections.", "output": { - "CollectionIds": ["myphotos"] + "CollectionIds": [ + "myphotos" + ] } } ], @@ -8086,7 +8101,9 @@ "documentation": "Lists the JSON line entries in an Amazon Rekognition Custom Labels dataset.", "input": { "DatasetArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-proj-2/dataset/train/1690564858106", - "ContainsLabels": ["camellia"], + "ContainsLabels": [ + "camellia" + ], "Labeled": true, "SourceRefContains": "camellia4.jpg", "HasErrors": true, @@ -11984,7 +12001,9 @@ "Height": 0.0682177022099495 } }, - "Reasons": ["FACE_NOT_LARGEST"] + "Reasons": [ + "FACE_NOT_LARGEST" + ] }, { "FaceDetails": { @@ -11995,7 +12014,9 @@ "Height": 0.06347997486591339 } }, - "Reasons": ["FACE_NOT_LARGEST"] + "Reasons": [ + "FACE_NOT_LARGEST" + ] } ] } @@ -15076,4 +15097,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/resiliencehub.json b/codegen/sdk-codegen/aws-models/resiliencehub.json index 7fb94ade5fe34..914b10a8aef2b 100644 --- a/codegen/sdk-codegen/aws-models/resiliencehub.json +++ b/codegen/sdk-codegen/aws-models/resiliencehub.json @@ -9125,4 +9125,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/resource-explorer-2.json b/codegen/sdk-codegen/aws-models/resource-explorer-2.json index 9193c37f57f07..78f4b3f070aa1 100644 --- a/codegen/sdk-codegen/aws-models/resource-explorer-2.json +++ b/codegen/sdk-codegen/aws-models/resource-explorer-2.json @@ -2424,4 +2424,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/resource-groups-tagging-api.json b/codegen/sdk-codegen/aws-models/resource-groups-tagging-api.json index bbfc1d18eb8d7..ed3b71f87b0da 100644 --- a/codegen/sdk-codegen/aws-models/resource-groups-tagging-api.json +++ b/codegen/sdk-codegen/aws-models/resource-groups-tagging-api.json @@ -2187,4 +2187,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/resource-groups.json b/codegen/sdk-codegen/aws-models/resource-groups.json index ca19a53960675..0b2853cf107ab 100644 --- a/codegen/sdk-codegen/aws-models/resource-groups.json +++ b/codegen/sdk-codegen/aws-models/resource-groups.json @@ -3460,4 +3460,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/robomaker.json b/codegen/sdk-codegen/aws-models/robomaker.json index df705cb40a7ee..811b430b4bddd 100644 --- a/codegen/sdk-codegen/aws-models/robomaker.json +++ b/codegen/sdk-codegen/aws-models/robomaker.json @@ -10289,4 +10289,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/rolesanywhere.json b/codegen/sdk-codegen/aws-models/rolesanywhere.json index 07284d42b7b3e..4c1eade3bae99 100644 --- a/codegen/sdk-codegen/aws-models/rolesanywhere.json +++ b/codegen/sdk-codegen/aws-models/rolesanywhere.json @@ -3324,4 +3324,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/route-53-domains.json b/codegen/sdk-codegen/aws-models/route-53-domains.json index c9fde85cbd79b..9f6f5ead7cb34 100644 --- a/codegen/sdk-codegen/aws-models/route-53-domains.json +++ b/codegen/sdk-codegen/aws-models/route-53-domains.json @@ -6366,4 +6366,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/route-53.json b/codegen/sdk-codegen/aws-models/route-53.json index a209dad03154a..7bcc44c8e5f85 100644 --- a/codegen/sdk-codegen/aws-models/route-53.json +++ b/codegen/sdk-codegen/aws-models/route-53.json @@ -2154,7 +2154,9 @@ "Value": "4938" } ], - "RemoveTagKeys": ["Nadir"] + "RemoveTagKeys": [ + "Nadir" + ] }, "output": {} } @@ -11676,4 +11678,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/route53-recovery-cluster.json b/codegen/sdk-codegen/aws-models/route53-recovery-cluster.json index 98abae9971e37..4beebf29d267b 100644 --- a/codegen/sdk-codegen/aws-models/route53-recovery-cluster.json +++ b/codegen/sdk-codegen/aws-models/route53-recovery-cluster.json @@ -1408,4 +1408,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/route53-recovery-control-config.json b/codegen/sdk-codegen/aws-models/route53-recovery-control-config.json index 47b0924d1b8cb..35e4d74e70ab9 100644 --- a/codegen/sdk-codegen/aws-models/route53-recovery-control-config.json +++ b/codegen/sdk-codegen/aws-models/route53-recovery-control-config.json @@ -3411,4 +3411,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/route53-recovery-readiness.json b/codegen/sdk-codegen/aws-models/route53-recovery-readiness.json index caf835e0e96ed..d6276f71c9464 100644 --- a/codegen/sdk-codegen/aws-models/route53-recovery-readiness.json +++ b/codegen/sdk-codegen/aws-models/route53-recovery-readiness.json @@ -4189,4 +4189,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/route53resolver.json b/codegen/sdk-codegen/aws-models/route53resolver.json index 3f63ea4d858f1..85a3f0c736175 100644 --- a/codegen/sdk-codegen/aws-models/route53resolver.json +++ b/codegen/sdk-codegen/aws-models/route53resolver.json @@ -8975,4 +8975,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/rum.json b/codegen/sdk-codegen/aws-models/rum.json index cb78190067dc1..cf4421710273a 100644 --- a/codegen/sdk-codegen/aws-models/rum.json +++ b/codegen/sdk-codegen/aws-models/rum.json @@ -3335,4 +3335,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/s3-control.json b/codegen/sdk-codegen/aws-models/s3-control.json index 7f2a3918dcd87..37562472537cd 100644 --- a/codegen/sdk-codegen/aws-models/s3-control.json +++ b/codegen/sdk-codegen/aws-models/s3-control.json @@ -1070,7 +1070,9 @@ "x-amz-account-id": [ "{accessPointArn#accountId}" ], - "x-amz-outpost-id": ["{outpostId}"] + "x-amz-outpost-id": [ + "{outpostId}" + ] } }, "type": "endpoint" @@ -1111,7 +1113,9 @@ "x-amz-account-id": [ "{accessPointArn#accountId}" ], - "x-amz-outpost-id": ["{outpostId}"] + "x-amz-outpost-id": [ + "{outpostId}" + ] } }, "type": "endpoint" @@ -1134,7 +1138,9 @@ "x-amz-account-id": [ "{accessPointArn#accountId}" ], - "x-amz-outpost-id": ["{outpostId}"] + "x-amz-outpost-id": [ + "{outpostId}" + ] } }, "type": "endpoint" @@ -1602,7 +1608,9 @@ "x-amz-account-id": [ "{bucketArn#accountId}" ], - "x-amz-outpost-id": ["{outpostId}"] + "x-amz-outpost-id": [ + "{outpostId}" + ] } }, "type": "endpoint" @@ -1643,7 +1651,9 @@ "x-amz-account-id": [ "{bucketArn#accountId}" ], - "x-amz-outpost-id": ["{outpostId}"] + "x-amz-outpost-id": [ + "{outpostId}" + ] } }, "type": "endpoint" @@ -1666,7 +1676,9 @@ "x-amz-account-id": [ "{bucketArn#accountId}" ], - "x-amz-outpost-id": ["{outpostId}"] + "x-amz-outpost-id": [ + "{outpostId}" + ] } }, "type": "endpoint" @@ -2393,8 +2405,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -2445,8 +2461,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -2497,8 +2517,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -2549,8 +2573,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -2601,8 +2629,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -2653,8 +2685,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -2707,8 +2743,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -2761,8 +2801,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -2813,8 +2857,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -2867,8 +2915,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -2921,8 +2973,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -2973,8 +3029,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -3027,8 +3087,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -3415,8 +3479,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -3527,8 +3595,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -3626,8 +3698,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -3820,8 +3896,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -3862,8 +3942,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -3903,8 +3987,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -3944,8 +4032,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -3986,8 +4078,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -4041,8 +4137,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -4083,8 +4183,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -4124,8 +4228,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -4165,8 +4273,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -4207,8 +4319,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -4262,8 +4378,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -4304,8 +4424,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -4345,8 +4469,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -4386,8 +4514,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -4428,8 +4560,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -5200,8 +5336,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -5460,8 +5600,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -5512,8 +5656,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -5634,8 +5782,12 @@ "expect": { "endpoint": { "headers": { - "x-amz-account-id": ["123456789012"], - "x-amz-outpost-id": ["op-01234567890123456"] + "x-amz-account-id": [ + "123456789012" + ], + "x-amz-outpost-id": [ + "op-01234567890123456" + ] }, "properties": { "authSchemes": [ @@ -15677,4 +15829,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/s3.json b/codegen/sdk-codegen/aws-models/s3.json index 7a4a34891b342..a211a1a2f0e1a 100644 --- a/codegen/sdk-codegen/aws-models/s3.json +++ b/codegen/sdk-codegen/aws-models/s3.json @@ -4768,7 +4768,9 @@ "disableDoubleEncoding": true, "name": "sigv4a", "signingName": "s3", - "signingRegionSet": ["*"] + "signingRegionSet": [ + "*" + ] } ] }, @@ -8238,7 +8240,9 @@ "authSchemes": [ { "name": "sigv4a", - "signingRegionSet": ["*"], + "signingRegionSet": [ + "*" + ], "signingName": "s3", "disableDoubleEncoding": true } @@ -19743,10 +19747,16 @@ "output": { "CORSRules": [ { - "AllowedHeaders": ["Authorization"], + "AllowedHeaders": [ + "Authorization" + ], "MaxAgeSeconds": 3000, - "AllowedMethods": ["GET"], - "AllowedOrigins": ["*"] + "AllowedMethods": [ + "GET" + ], + "AllowedOrigins": [ + "*" + ] } ] } @@ -20910,7 +20920,12 @@ "traits": { "aws.protocols#httpChecksum": { "requestValidationModeMember": "ChecksumMode", - "responseAlgorithms": ["CRC32", "CRC32C", "SHA256", "SHA1"] + "responseAlgorithms": [ + "CRC32", + "CRC32C", + "SHA256", + "SHA1" + ] }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Retrieves objects from Amazon S3. To use GET, you must have READ\n access to the object. If you grant READ access to the anonymous user, you can\n return the object without using an authorization header.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    An Amazon S3 bucket has no directory hierarchy such as you would find in a typical computer\n file system. You can, however, create a logical hierarchy by using object key names that\n imply a folder structure. For example, instead of naming an object sample.jpg,\n you can name it photos/2006/February/sample.jpg.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    To get an object from such a logical hierarchy, specify the full key name for the object\n in the GET operation. For a virtual hosted-style request example, if you have\n the object photos/2006/February/sample.jpg, specify the resource as\n /photos/2006/February/sample.jpg. For a path-style request example, if you\n have the object photos/2006/February/sample.jpg in the bucket named\n examplebucket, specify the resource as\n /examplebucket/photos/2006/February/sample.jpg. For more information about\n request types, see HTTP Host\n Header Bucket Specification.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    For more information about returning the ACL of an object, see GetObjectAcl.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    If the object you are retrieving is stored in the S3 Glacier Flexible Retrieval or\n S3 Glacier Deep Archive storage class, or S3 Intelligent-Tiering Archive or\n S3 Intelligent-Tiering Deep Archive tiers, before you can retrieve the object you must first restore a\n copy using RestoreObject. Otherwise, this action returns an\n InvalidObjectState error. For information about restoring archived objects,\n see Restoring\n Archived Objects.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Encryption request headers, like x-amz-server-side-encryption, should not\n be sent for GET requests if your object uses server-side encryption with Key Management Service (KMS)\n keys (SSE-KMS), dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), or\n server-side encryption with Amazon S3 managed encryption keys (SSE-S3). If your object does use\n these types of keys, you’ll get an HTTP 400 Bad Request error.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    If you encrypt an object by using server-side encryption with customer-provided\n encryption keys (SSE-C) when you store the object in Amazon S3, then when you GET the object,\n you must use the following headers:

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n x-amz-server-side-encryption-customer-algorithm\n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n x-amz-server-side-encryption-customer-key\n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n x-amz-server-side-encryption-customer-key-MD5\n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    For more information about SSE-C, see Server-Side Encryption\n (Using Customer-Provided Encryption Keys).

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Assuming you have the relevant permission to read object tags, the response also returns\n the x-amz-tagging-count header that provides the count of number of tags\n associated with the object. You can use GetObjectTagging to retrieve\n the tag set associated with an object.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    Permissions
                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    You need the relevant read object (or version) permission for this operation. For more\n information, see Specifying Permissions in a\n Policy. If the object that you request doesn’t exist, the error that Amazon S3 returns depends\n on whether you also have the s3:ListBucket permission.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    If you have the s3:ListBucket permission on the bucket, Amazon S3\n returns an HTTP status code 404 (Not Found) error.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    If you don’t have the s3:ListBucket permission, Amazon S3 returns an\n HTTP status code 403 (\"access denied\") error.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    Versioning
                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    By default, the GET action returns the current version of an object. To return a\n different version, use the versionId subresource.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n \n
                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      If you supply a versionId, you need the\n s3:GetObjectVersion permission to access a specific version of an\n object. If you request a specific version, you do not need to have the\n s3:GetObject permission. If you request the current version\n without a specific version ID, only s3:GetObject permission is\n required. s3:GetObjectVersion permission won't be required.

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      If the current version of the object is a delete marker, Amazon S3 behaves as if the\n object was deleted and includes x-amz-delete-marker: true in the\n response.

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    For more information about versioning, see PutBucketVersioning.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    Overriding Response Header Values
                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    There are times when you want to override certain response header values in a GET\n response. For example, you might override the Content-Disposition response\n header value in your GET request.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    You can override values for a set of response headers using the following query\n parameters. These response header values are sent only on a successful request, that is,\n when status code 200 OK is returned. The set of headers you can override using these\n parameters is a subset of the headers that Amazon S3 accepts when you create an object. The\n response headers that you can override for the GET response are Content-Type,\n Content-Language, Expires, Cache-Control,\n Content-Disposition, and Content-Encoding. To override these\n header values in the GET response, you use the following request parameters.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n \n

                                                                                                                                                                                                                                                                                                                                                                                                                    You must sign the request, either using an Authorization header or a presigned URL,\n when using these parameters. They cannot be used with an unsigned (anonymous)\n request.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n response-content-type\n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n response-content-language\n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n response-expires\n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n response-cache-control\n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n response-content-disposition\n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n response-content-encoding\n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    Overriding Response Header Values
                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    If both of the If-Match and If-Unmodified-Since headers are\n present in the request as follows: If-Match condition evaluates to\n true, and; If-Unmodified-Since condition evaluates to\n false; then, S3 returns 200 OK and the data requested.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    If both of the If-None-Match and If-Modified-Since headers are\n present in the request as follows: If-None-Match condition evaluates to\n false, and; If-Modified-Since condition evaluates to\n true; then, S3 returns 304 Not Modified response code.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    For more information about conditional requests, see RFC 7232.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    The following operations are related to GetObject:

                                                                                                                                                                                                                                                                                                                                                                                                                    \n ", "smithy.api#http": { @@ -26872,16 +26887,32 @@ "CORSConfiguration": { "CORSRules": [ { - "AllowedOrigins": ["http://www.example.com"], - "AllowedHeaders": ["*"], - "AllowedMethods": ["PUT", "POST", "DELETE"], + "AllowedOrigins": [ + "http://www.example.com" + ], + "AllowedHeaders": [ + "*" + ], + "AllowedMethods": [ + "PUT", + "POST", + "DELETE" + ], "MaxAgeSeconds": 3000, - "ExposeHeaders": ["x-amz-server-side-encryption"] + "ExposeHeaders": [ + "x-amz-server-side-encryption" + ] }, { - "AllowedOrigins": ["*"], - "AllowedHeaders": ["Authorization"], - "AllowedMethods": ["GET"], + "AllowedOrigins": [ + "*" + ], + "AllowedHeaders": [ + "Authorization" + ], + "AllowedMethods": [ + "GET" + ], "MaxAgeSeconds": 3000 } ] @@ -27393,7 +27424,9 @@ "TopicConfigurations": [ { "TopicArn": "arn:aws:sns:us-west-2:123456789012:s3-notification-topic", - "Events": ["s3:ObjectCreated:*"] + "Events": [ + "s3:ObjectCreated:*" + ] } ] } @@ -31447,7 +31480,9 @@ }, "traits": { "aws.auth#unsignedPayload": {}, - "smithy.api#auth": ["aws.auth#sigv4"], + "smithy.api#auth": [ + "aws.auth#sigv4" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Passes transformed objects to a GetObject operation when using Object Lambda access points. For\n information about Object Lambda access points, see Transforming objects with\n Object Lambda access points in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    This operation supports metadata that can be returned by GetObject, in addition to\n RequestRoute, RequestToken, StatusCode,\n ErrorCode, and ErrorMessage. The GetObject\n response metadata is supported so that the WriteGetObjectResponse caller,\n typically an Lambda function, can provide the same metadata when it internally invokes\n GetObject. When WriteGetObjectResponse is called by a\n customer-owned Lambda function, the metadata returned to the end user\n GetObject call might differ from what Amazon S3 would normally return.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    You can include any number of metadata headers. When including a metadata header, it\n should be prefaced with x-amz-meta. For example,\n x-amz-meta-my-custom-header: MyCustomValue. The primary use case for this\n is to forward GetObject metadata.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Amazon Web Services provides some prebuilt Lambda functions that you can use with S3 Object Lambda to\n detect and redact personally identifiable information (PII) and decompress S3 objects.\n These Lambda functions are available in the Amazon Web Services Serverless Application Repository, and\n can be selected through the Amazon Web Services Management Console when you create your Object Lambda access point.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Example 1: PII Access Control - This Lambda function uses Amazon Comprehend, a\n natural language processing (NLP) service using machine learning to find insights and\n relationships in text. It automatically detects personally identifiable information (PII)\n such as names, addresses, dates, credit card numbers, and social security numbers from\n documents in your Amazon S3 bucket.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Example 2: PII Redaction - This Lambda function uses Amazon Comprehend, a natural\n language processing (NLP) service using machine learning to find insights and relationships\n in text. It automatically redacts personally identifiable information (PII) such as names,\n addresses, dates, credit card numbers, and social security numbers from documents in your\n Amazon S3 bucket.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Example 3: Decompression - The Lambda function S3ObjectLambdaDecompression, is\n equipped to decompress objects stored in S3 in one of six compressed file formats including\n bzip2, gzip, snappy, zlib, zstandard and ZIP.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    For information on how to view and use these functions, see Using Amazon Web Services built Lambda\n functions in the Amazon S3 User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#endpoint": { "hostPrefix": "{RequestRoute}." @@ -31769,4 +31804,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/s3outposts.json b/codegen/sdk-codegen/aws-models/s3outposts.json index 28a8b5dba382d..d40343cdbe047 100644 --- a/codegen/sdk-codegen/aws-models/s3outposts.json +++ b/codegen/sdk-codegen/aws-models/s3outposts.json @@ -1767,4 +1767,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/sagemaker-a2i-runtime.json b/codegen/sdk-codegen/aws-models/sagemaker-a2i-runtime.json index 37b2cd06e6c9e..3c2dca5121e8e 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker-a2i-runtime.json +++ b/codegen/sdk-codegen/aws-models/sagemaker-a2i-runtime.json @@ -1427,4 +1427,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/sagemaker-edge.json b/codegen/sdk-codegen/aws-models/sagemaker-edge.json index 6b951694ff56e..006b6fc0d09d4 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker-edge.json +++ b/codegen/sdk-codegen/aws-models/sagemaker-edge.json @@ -1437,4 +1437,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/sagemaker-featurestore-runtime.json b/codegen/sdk-codegen/aws-models/sagemaker-featurestore-runtime.json index 1069e9b9d0eb5..7596f7be3f782 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker-featurestore-runtime.json +++ b/codegen/sdk-codegen/aws-models/sagemaker-featurestore-runtime.json @@ -1442,4 +1442,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/sagemaker-geospatial.json b/codegen/sdk-codegen/aws-models/sagemaker-geospatial.json index 1f6043bc2a88e..f01f1aa805aa5 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker-geospatial.json +++ b/codegen/sdk-codegen/aws-models/sagemaker-geospatial.json @@ -3144,7 +3144,11 @@ "x-amzn-platform-id", "x-amzn-trace-id" ], - "additionalExposedHeaders": ["x-amzn-errortype", "x-amzn-requestid", "x-amzn-trace-id"], + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id" + ], "maxAge": 86400 }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Provides APIs for creating and managing SageMaker geospatial resources.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", @@ -5225,4 +5229,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/sagemaker-metrics.json b/codegen/sdk-codegen/aws-models/sagemaker-metrics.json index 2876e7724f115..e1c66f0681e19 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker-metrics.json +++ b/codegen/sdk-codegen/aws-models/sagemaker-metrics.json @@ -924,4 +924,4 @@ "type": "timestamp" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/sagemaker-runtime.json b/codegen/sdk-codegen/aws-models/sagemaker-runtime.json index 5321c5b447ef4..08661804d1d73 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker-runtime.json +++ b/codegen/sdk-codegen/aws-models/sagemaker-runtime.json @@ -1807,4 +1807,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/sagemaker.json b/codegen/sdk-codegen/aws-models/sagemaker.json index ef468ac269aeb..ae1ee90501b49 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker.json +++ b/codegen/sdk-codegen/aws-models/sagemaker.json @@ -15795,7 +15795,9 @@ }, "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Returns the description of an endpoint.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "EndpointDeleted": { "acceptors": [ @@ -17020,7 +17022,9 @@ ], "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Describes a SageMaker image.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "ImageCreated": { "acceptors": [ @@ -17206,7 +17210,9 @@ ], "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Describes a version of a SageMaker image.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "ImageVersionCreated": { "acceptors": [ @@ -18942,7 +18948,9 @@ }, "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Returns information about a notebook instance.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "NotebookInstanceDeleted": { "acceptors": [ @@ -19532,7 +19540,9 @@ ], "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Returns a description of a processing job.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "ProcessingJobCompletedOrStopped": { "acceptors": [ @@ -20068,7 +20078,9 @@ ], "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Returns information about a training job.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Some of the attributes below only appear if the training job successfully starts.\n If the training job fails, TrainingJobStatus is Failed and,\n depending on the FailureReason, attributes like\n TrainingStartTime, TrainingTimeInSeconds,\n TrainingEndTime, and BillableTimeInSeconds may not be\n present in the response.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "TrainingJobCompletedOrStopped": { "acceptors": [ @@ -20395,7 +20407,9 @@ ], "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Returns information about a transform job.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#suppress": ["WaitableTraitInvalidErrorType"], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "TransformJobCompletedOrStopped": { "acceptors": [ @@ -60472,4 +60486,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/savingsplans.json b/codegen/sdk-codegen/aws-models/savingsplans.json index 753d67f0c629e..2d70d5d38074a 100644 --- a/codegen/sdk-codegen/aws-models/savingsplans.json +++ b/codegen/sdk-codegen/aws-models/savingsplans.json @@ -2854,4 +2854,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/scheduler.json b/codegen/sdk-codegen/aws-models/scheduler.json index 25454b1fb2977..f616dcde87003 100644 --- a/codegen/sdk-codegen/aws-models/scheduler.json +++ b/codegen/sdk-codegen/aws-models/scheduler.json @@ -1583,7 +1583,9 @@ "traits": { "aws.cloudformation#cfnExcludeProperty": {}, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The time at which the schedule was created.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#suppress": ["UnstableTrait"] + "smithy.api#suppress": [ + "UnstableTrait" + ] } }, "LastModificationDate": { @@ -1591,7 +1593,9 @@ "traits": { "aws.cloudformation#cfnExcludeProperty": {}, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The time at which the schedule was last modified.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#suppress": ["UnstableTrait"] + "smithy.api#suppress": [ + "UnstableTrait" + ] } }, "KmsKeyArn": { @@ -2298,7 +2302,9 @@ "traits": { "aws.cloudformation#cfnResource": {}, "smithy.api#noReplace": {}, - "smithy.api#suppress": ["UnstableTrait"] + "smithy.api#suppress": [ + "UnstableTrait" + ] } }, "com.amazonaws.scheduler#ScheduleArn": { @@ -2351,7 +2357,9 @@ "traits": { "aws.cloudformation#cfnResource": {}, "smithy.api#noReplace": {}, - "smithy.api#suppress": ["UnstableTrait"] + "smithy.api#suppress": [ + "UnstableTrait" + ] } }, "com.amazonaws.scheduler#ScheduleGroupArn": { @@ -2983,7 +2991,10 @@ } ], "traits": { - "aws.iam#requiredActions": ["scheduler:TagResource", "scheduler:UntagResource"], + "aws.iam#requiredActions": [ + "scheduler:TagResource", + "scheduler:UntagResource" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    \n Updates the specified schedule. When you call UpdateSchedule, EventBridge Scheduler uses all values, including empty values, specified in the request and\n overrides the existing schedule. This is by design. This means that if you do not set an optional field in your request, that field will be set to\n its system-default value after the update.\n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    \n Before calling this operation, we recommend that you call the GetSchedule API operation and make a note of all optional parameters\n for your UpdateSchedule call.\n

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "code": 200, @@ -3111,4 +3122,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/schemas.json b/codegen/sdk-codegen/aws-models/schemas.json index 1e0eb1fdf244f..85f69a66db515 100644 --- a/codegen/sdk-codegen/aws-models/schemas.json +++ b/codegen/sdk-codegen/aws-models/schemas.json @@ -4391,4 +4391,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/secrets-manager.json b/codegen/sdk-codegen/aws-models/secrets-manager.json index 89c0bfb44e6d1..f4a15c29ceaf9 100644 --- a/codegen/sdk-codegen/aws-models/secrets-manager.json +++ b/codegen/sdk-codegen/aws-models/secrets-manager.json @@ -1037,7 +1037,9 @@ "Name": "MyTestDatabaseSecret", "SecretString": "{\n \"username\":\"david\",\n \"password\":\"EXAMPLE-PASSWORD\"\n}\n", "VersionId": "EXAMPLE1-90ab-cdef-fedc-ba987SECRET1", - "VersionStages": ["AWSPREVIOUS"] + "VersionStages": [ + "AWSPREVIOUS" + ] } } ] @@ -1246,12 +1248,16 @@ "Versions": [ { "VersionId": "EXAMPLE1-90ab-cdef-fedc-ba987EXAMPLE", - "VersionStages": ["AWSPREVIOUS"], + "VersionStages": [ + "AWSPREVIOUS" + ], "CreatedDate": 1523477145.713 }, { "VersionId": "EXAMPLE2-90ab-cdef-fedc-ba987EXAMPLE", - "VersionStages": ["AWSCURRENT"], + "VersionStages": [ + "AWSCURRENT" + ], "CreatedDate": 1523486221.391 }, { @@ -1374,7 +1380,9 @@ "Description": "My test database secret", "LastChangedDate": 1523477145.729, "SecretVersionsToStages": { - "EXAMPLE1-90ab-cdef-fedc-ba987EXAMPLE": ["AWSCURRENT"] + "EXAMPLE1-90ab-cdef-fedc-ba987EXAMPLE": [ + "AWSCURRENT" + ] } }, { @@ -1383,7 +1391,9 @@ "Description": "Another secret created for a different database", "LastChangedDate": 1523482025.685, "SecretVersionsToStages": { - "EXAMPLE2-90ab-cdef-fedc-ba987EXAMPLE": ["AWSCURRENT"] + "EXAMPLE2-90ab-cdef-fedc-ba987EXAMPLE": [ + "AWSCURRENT" + ] } } ] @@ -1696,7 +1706,9 @@ "ARN": "arn:aws:secretsmanager:us-west-2:123456789012:secret:MyTestDatabaseSecret-a1b2c3", "Name": "MyTestDatabaseSecret", "VersionId": "EXAMPLE2-90ab-cdef-fedc-ba987EXAMPLE", - "VersionStages": ["AWSCURRENT"] + "VersionStages": [ + "AWSCURRENT" + ] } } ] @@ -2812,7 +2824,10 @@ "documentation": "The following example shows how to remove two tags from a secret's metadata. For each, both the tag and the associated value are removed. There is no output from this API. To see the result, use the DescribeSecret operation.", "input": { "SecretId": "MyTestDatabaseSecret", - "TagKeys": ["FirstTag", "SecondTag"] + "TagKeys": [ + "FirstTag", + "SecondTag" + ] } } ] @@ -4261,4 +4276,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/securityhub.json b/codegen/sdk-codegen/aws-models/securityhub.json index 5fed501629ee0..6331b35244051 100644 --- a/codegen/sdk-codegen/aws-models/securityhub.json +++ b/codegen/sdk-codegen/aws-models/securityhub.json @@ -19845,7 +19845,9 @@ "title": "To disable one or more security standards", "documentation": "The following example disables a security standard in Security Hub.", "input": { - "StandardsSubscriptionArns": ["arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1"] + "StandardsSubscriptionArns": [ + "arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1" + ] }, "output": { "StandardsSubscriptions": [ @@ -20171,7 +20173,10 @@ "title": "To get security control details ", "documentation": "The following example gets details for the specified controls in the current AWS account and AWS Region.", "input": { - "SecurityControlIds": ["ACM.1", "APIGateway.1"] + "SecurityControlIds": [ + "ACM.1", + "APIGateway.1" + ] }, "output": { "SecurityControls": [ @@ -20346,7 +20351,9 @@ "Label": "LOW", "Original": "10" }, - "Types": ["Software and Configuration Checks/Vulnerabilities/CVE"] + "Types": [ + "Software and Configuration Checks/Vulnerabilities/CVE" + ] }, "GeneratorId": "TestGeneratorId", "Id": "Id1", @@ -20579,7 +20586,9 @@ "VerificationState": "TRUE_POSITIVE", "Confidence": 80, "Criticality": 80, - "Types": ["Software and Configuration Checks/Vulnerabilities/CVE"], + "Types": [ + "Software and Configuration Checks/Vulnerabilities/CVE" + ], "UserDefinedFields": { "reviewedByCio": "true" }, @@ -21528,13 +21537,19 @@ "documentation": "The following example creates a finding aggregator. This is required to enable cross-Region aggregation.", "input": { "RegionLinkingMode": "SPECIFIED_REGIONS", - "Regions": ["us-west-1", "us-west-2"] + "Regions": [ + "us-west-1", + "us-west-2" + ] }, "output": { "FindingAggregatorArn": "arn:aws:securityhub:us-east-1:222222222222:finding-aggregator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", "FindingAggregationRegion": "us-east-1", "RegionLinkingMode": "SPECIFIED_REGIONS", - "Regions": ["us-west-1", "us-west-2"] + "Regions": [ + "us-west-1", + "us-west-2" + ] } } ], @@ -22013,7 +22028,10 @@ "title": "To decline invitation to become a member account", "documentation": "The following example declines an invitation from the Security Hub administrator account to become a member account. The invited account makes the request.", "input": { - "AccountIds": ["123456789012", "111122223333"] + "AccountIds": [ + "123456789012", + "111122223333" + ] }, "output": { "UnprocessedAccounts": [] @@ -22308,7 +22326,9 @@ "title": "To delete a custom insight", "documentation": "The following example deletes an invitation sent by the Security Hub administrator account to a prospective member account. This operation is used only for invitations sent to accounts that aren't part of an organization. Organization accounts don't receive invitations.", "input": { - "AccountIds": ["123456789012"] + "AccountIds": [ + "123456789012" + ] }, "output": { "UnprocessedAccounts": [] @@ -22383,7 +22403,10 @@ "title": "To delete a member account", "documentation": "The following example deletes the specified member account from Security Hub. This operation can be used to delete member accounts that are part of an organization or that were invited manually.", "input": { - "AccountIds": ["123456789111", "123456789222"] + "AccountIds": [ + "123456789111", + "123456789222" + ] }, "output": { "UnprocessedAccounts": [] @@ -22455,7 +22478,9 @@ "title": "To return custom action targets", "documentation": "The following example returns a list of custom action targets. You use custom actions on findings and insights in Security Hub to trigger target actions in Amazon CloudWatch Events.", "input": { - "ActionTargetArns": ["arn:aws:securityhub:us-west-1:123456789012:action/custom/Remediation"] + "ActionTargetArns": [ + "arn:aws:securityhub:us-west-1:123456789012:action/custom/Remediation" + ] }, "output": { "ActionTargets": [ @@ -22750,7 +22775,9 @@ "Endpoint Forensics", "Network Forensics" ], - "IntegrationTypes": ["SEND_FINDINGS_TO_SECURITY_HUB"], + "IntegrationTypes": [ + "SEND_FINDINGS_TO_SECURITY_HUB" + ], "MarketplaceUrl": "https://aws.amazon.com/marketplace/seller-profile?id=a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", "ActivationUrl": "https://falcon.crowdstrike.com/support/documentation", "ProductSubscriptionResourcePolicy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"123456789333\"},\"Action\":[\"securityhub:BatchImportFindings\"],\"Resource\":\"arn:aws:securityhub:us-west-1:123456789012:product-subscription/crowdstrike/crowdstrike-falcon\",\"Condition\":{\"StringEquals\":{\"securityhub:TargetAccount\":\"123456789012\"}}},{\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"123456789012\"},\"Action\":[\"securityhub:BatchImportFindings\"],\"Resource\":\"arn:aws:securityhub:us-west-1:123456789333:product/crowdstrike/crowdstrike-falcon\",\"Condition\":{\"StringEquals\":{\"securityhub:TargetAccount\":\"123456789012\"}}}]}" @@ -23339,7 +23366,10 @@ "title": "To disassociate member accounts from administrator account", "documentation": "The following example dissociates the specified member accounts from the associated administrator account.", "input": { - "AccountIds": ["123456789012", "111122223333"] + "AccountIds": [ + "123456789012", + "111122223333" + ] } } ], @@ -24106,7 +24136,9 @@ "title": "To return a list of enabled standards", "documentation": "The following example returns a list of Security Hub standards that are currently enabled in your account. ", "input": { - "StandardsSubscriptionArns": ["arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1"] + "StandardsSubscriptionArns": [ + "arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1" + ] }, "output": { "StandardsSubscriptions": [ @@ -24221,7 +24253,10 @@ "FindingAggregatorArn": "arn:aws:securityhub:us-east-1:123456789012:finding-aggregator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", "FindingAggregationRegion": "us-east-1", "RegionLinkingMode": "SPECIFIED_REGIONS", - "Regions": ["us-west-1", "us-west-2"] + "Regions": [ + "us-west-1", + "us-west-2" + ] } } ], @@ -24426,7 +24461,9 @@ "Region": "us-east-2", "GeneratorId": "security-control/CloudTrail.2", "AwsAccountId": "123456789012", - "Types": ["Software and Configuration Checks/Industry and Regulatory Standards"], + "Types": [ + "Software and Configuration Checks/Industry and Regulatory Standards" + ], "FirstObservedAt": "2022-10-06T02:18:23.076Z", "LastObservedAt": "2022-10-28T16:10:06.956Z", "CreatedAt": "2022-10-06T02:18:23.076Z", @@ -24496,7 +24533,9 @@ "Label": "MEDIUM", "Original": "MEDIUM" }, - "Types": ["Software and Configuration Checks/Industry and Regulatory Standards"] + "Types": [ + "Software and Configuration Checks/Industry and Regulatory Standards" + ] } } ] @@ -25287,7 +25326,10 @@ "title": "To invite accounts to become members", "documentation": "The following example invites the specified AWS accounts to become member accounts associated with the calling Security Hub administrator account. You only use this operation to invite accounts that don't belong to an AWS Organizations organization.", "input": { - "AccountIds": ["111122223333", "444455556666"] + "AccountIds": [ + "111122223333", + "444455556666" + ] }, "output": { "UnprocessedAccounts": [] @@ -31686,7 +31728,9 @@ "documentation": "The following example removes the 'Department' tag from the specified resource.", "input": { "ResourceArn": "arn:aws:securityhub:us-west-1:123456789012:hub/default", - "TagKeys": ["Department"] + "TagKeys": [ + "Department" + ] } } ], @@ -31913,13 +31957,19 @@ "input": { "FindingAggregatorArn": "arn:aws:securityhub:us-east-1:123456789012:finding-aggregator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", "RegionLinkingMode": "SPECIFIED_REGIONS", - "Regions": ["us-west-1", "us-west-2"] + "Regions": [ + "us-west-1", + "us-west-2" + ] }, "output": { "FindingAggregatorArn": "arn:aws:securityhub:us-east-1:123456789012:finding-aggregator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", "FindingAggregationRegion": "us-east-1", "RegionLinkingMode": "SPECIFIED_REGIONS", - "Regions": ["us-west-1", "us-west-2"] + "Regions": [ + "us-west-1", + "us-west-2" + ] } } ], @@ -32832,4 +32882,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/securitylake.json b/codegen/sdk-codegen/aws-models/securitylake.json index 1f3f9291d3934..20ef3fef54e5a 100644 --- a/codegen/sdk-codegen/aws-models/securitylake.json +++ b/codegen/sdk-codegen/aws-models/securitylake.json @@ -468,7 +468,10 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to create a new security data lake", - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "aws.iam#requiredActions": [ "iam:CreateServiceLinkedRole", "iam:GetRole", @@ -711,7 +714,10 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to create a subscriber", - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "aws.iam#requiredActions": [ "iam:GetRole", "iam:PutRolePolicy", @@ -1590,7 +1596,9 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to remove a custom source", - "aws.iam#requiredActions": ["glue:StopCrawlerSchedule"], + "aws.iam#requiredActions": [ + "glue:StopCrawlerSchedule" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Removes a custom log source from Amazon Security Lake, to stop sending data from the custom\n source to Security Lake.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "DELETE", @@ -2142,7 +2150,9 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to get an organization’s configuration setting for automatically enabling Amazon Security Lake access for new organization accounts", - "aws.iam#requiredActions": ["organizations:DescribeOrganization"], + "aws.iam#requiredActions": [ + "organizations:DescribeOrganization" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Retrieves the configuration that will be automatically set up for accounts added to the\n organization after the organization has onboarded to Amazon Security Lake. This API does not take\n input parameters.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "GET", @@ -3160,7 +3170,12 @@ "externalDocumentation": "${DocHomeURL}IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys" } }, - "aws.iam#supportedPrincipalTypes": ["Root", "IAMUser", "IAMRole", "FederatedUser"], + "aws.iam#supportedPrincipalTypes": [ + "Root", + "IAMUser", + "IAMRole", + "FederatedUser" + ], "aws.protocols#restJson1": {}, "smithy.api#cors": { "additionalAllowedHeaders": [ @@ -3171,7 +3186,11 @@ "x-amzn-platform-id", "x-amzn-trace-id" ], - "additionalExposedHeaders": ["x-amzn-errortype", "x-amzn-requestid", "x-amzn-trace-id"], + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id" + ], "maxAge": 86400 }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Amazon Security Lake is a fully managed security data lake service. You can use Security Lake to\n automatically centralize security data from cloud, on-premises, and custom sources into a\n data lake that's stored in your Amazon Web Services account. Amazon Web Services Organizations\n is an account management service that lets you consolidate multiple Amazon Web Services\n accounts into an organization that you create and centrally manage. With Organizations, you\n can create member accounts and invite existing accounts to join your organization.\n Security Lake helps you analyze security data for a more complete understanding of your\n security posture across the entire organization. It can also help you improve the\n protection of your workloads, applications, and data.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    The data lake is backed by Amazon Simple Storage Service (Amazon S3) buckets, and you\n retain ownership over your data.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Amazon Security Lake integrates with CloudTrail, a service that provides a record of\n actions taken by a user, role, or an Amazon Web Services service. In Security Lake, CloudTrail captures API calls for Security Lake as events. The calls captured include calls\n from the Security Lake console and code calls to the Security Lake API operations. If you create a\n trail, you can enable continuous delivery of CloudTrail events to an Amazon S3 bucket, including events for Security Lake. If you don't configure a trail, you can still\n view the most recent events in the CloudTrail console in Event history. Using the\n information collected by CloudTrail you can determine the request that was made to\n Security Lake, the IP address from which the request was made, who made the request, when it\n was made, and additional details. To learn more about Security Lake information in CloudTrail, see the Amazon Security Lake User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Security Lake automates the collection of security-related log and event data from\n integrated Amazon Web Services and third-party services. It also helps you manage\n the lifecycle of data with customizable retention and replication settings. Security Lake\n converts ingested data into Apache Parquet format and a standard open-source schema called\n the Open Cybersecurity Schema Framework (OCSF).

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Other Amazon Web Services and third-party services can subscribe to the data that's stored in Security Lake for \n incident response and security data analytics.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", @@ -4146,7 +4165,10 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Adds or updates one or more tags that are associated with an Amazon Security Lake resource: a subscriber, or the data lake configuration for your \n Amazon Web Services account in a particular Amazon Web Services Region. A tag is a label that you can define and associate with \n Amazon Web Services resources. Each tag consists of a required tag key and an associated tag value. A \n tag key is a general label that acts as a category for a more specific tag value. A tag value acts as a \n descriptor for a tag key. Tags can help you identify, categorize, and manage resources in different ways, such as by owner, environment, or other \n criteria. For more information, see \n Tagging Amazon Security Lake resources in the \n Amazon Security Lake User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -4270,7 +4292,9 @@ } ], "traits": { - "aws.iam#conditionKeys": ["aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Removes one or more tags (keys and values) from an Amazon Security Lake resource: a subscriber, or the data lake configuration for your \n Amazon Web Services account in a particular Amazon Web Services Region.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "DELETE", @@ -4698,4 +4722,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/serverlessapplicationrepository.json b/codegen/sdk-codegen/aws-models/serverlessapplicationrepository.json index b17e0f244a101..97128d54a8b48 100644 --- a/codegen/sdk-codegen/aws-models/serverlessapplicationrepository.json +++ b/codegen/sdk-codegen/aws-models/serverlessapplicationrepository.json @@ -3397,4 +3397,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/service-catalog-appregistry.json b/codegen/sdk-codegen/aws-models/service-catalog-appregistry.json index f809ca0e247ed..9acd3318230f4 100644 --- a/codegen/sdk-codegen/aws-models/service-catalog-appregistry.json +++ b/codegen/sdk-codegen/aws-models/service-catalog-appregistry.json @@ -3728,4 +3728,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/service-catalog.json b/codegen/sdk-codegen/aws-models/service-catalog.json index c94a66eef6fd2..816840940df8c 100644 --- a/codegen/sdk-codegen/aws-models/service-catalog.json +++ b/codegen/sdk-codegen/aws-models/service-catalog.json @@ -12469,4 +12469,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/service-quotas.json b/codegen/sdk-codegen/aws-models/service-quotas.json index 9cba9f25a0c60..f8f74f70036db 100644 --- a/codegen/sdk-codegen/aws-models/service-quotas.json +++ b/codegen/sdk-codegen/aws-models/service-quotas.json @@ -3528,4 +3528,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/servicediscovery.json b/codegen/sdk-codegen/aws-models/servicediscovery.json index 6425ec4dc0dd6..6b533375acd11 100644 --- a/codegen/sdk-codegen/aws-models/servicediscovery.json +++ b/codegen/sdk-codegen/aws-models/servicediscovery.json @@ -1934,7 +1934,10 @@ { "Name": "STATUS", "Condition": "IN", - "Values": ["PENDING", "SUCCESS"] + "Values": [ + "PENDING", + "SUCCESS" + ] } ] }, @@ -4830,7 +4833,10 @@ "documentation": "This example removes the \"Department\" and \"Project\" tags from a resource.", "input": { "ResourceARN": "arn:aws:servicediscovery:us-east-1:123456789012:namespace/ns-ylexjili4cdxy3xm", - "TagKeys": ["Project", "Department"] + "TagKeys": [ + "Project", + "Department" + ] }, "output": {} } @@ -5226,4 +5232,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/ses.json b/codegen/sdk-codegen/aws-models/ses.json index e69ebac9523f1..587728ebcf1c1 100644 --- a/codegen/sdk-codegen/aws-models/ses.json +++ b/codegen/sdk-codegen/aws-models/ses.json @@ -2660,7 +2660,10 @@ "title": "GetIdentityDkimAttributes", "documentation": "The following example retrieves the Amazon SES Easy DKIM attributes for a list of identities:", "input": { - "Identities": ["example.com", "user@example.com"] + "Identities": [ + "example.com", + "user@example.com" + ] }, "output": { "DkimAttributes": { @@ -2730,7 +2733,9 @@ "title": "GetIdentityMailFromDomainAttributes", "documentation": "The following example returns the custom MAIL FROM attributes for an identity:", "input": { - "Identities": ["example.com"] + "Identities": [ + "example.com" + ] }, "output": { "MailFromDomainAttributes": { @@ -2792,7 +2797,9 @@ "title": "GetIdentityNotificationAttributes", "documentation": "The following example returns the notification attributes for an identity:", "input": { - "Identities": ["example.com"] + "Identities": [ + "example.com" + ] }, "output": { "NotificationAttributes": { @@ -2859,7 +2866,9 @@ "documentation": "The following example returns a sending authorization policy for an identity:", "input": { "Identity": "example.com", - "PolicyNames": ["MyPolicy"] + "PolicyNames": [ + "MyPolicy" + ] }, "output": { "Policies": { @@ -2924,7 +2933,9 @@ "title": "GetIdentityVerificationAttributes", "documentation": "The following example returns the verification status and the verification token for a domain identity:", "input": { - "Identities": ["example.com"] + "Identities": [ + "example.com" + ] }, "output": { "VerificationAttributes": { @@ -3799,7 +3810,9 @@ "MaxItems": 123 }, "output": { - "Identities": ["user@example.com"], + "Identities": [ + "user@example.com" + ], "NextToken": "" } } @@ -3879,7 +3892,9 @@ "Identity": "example.com" }, "output": { - "PolicyNames": ["MyPolicy"] + "PolicyNames": [ + "MyPolicy" + ] } } ] @@ -4102,7 +4117,10 @@ "title": "ListVerifiedEmailAddresses", "documentation": "The following example lists all email addresses that have been submitted for verification with Amazon SES:", "output": { - "VerifiedEmailAddresses": ["user1@example.com", "user2@example.com"] + "VerifiedEmailAddresses": [ + "user1@example.com", + "user2@example.com" + ] } } ] @@ -4831,7 +4849,10 @@ "documentation": "The following example reorders the receipt rules within a receipt rule set:", "input": { "RuleSetName": "MyRuleSet", - "RuleNames": ["MyRule", "MyOtherRule"] + "RuleNames": [ + "MyRule", + "MyOtherRule" + ] } } ] @@ -5400,8 +5421,13 @@ "input": { "Source": "sender@example.com", "Destination": { - "ToAddresses": ["recipient1@example.com", "recipient2@example.com"], - "CcAddresses": ["recipient3@example.com"], + "ToAddresses": [ + "recipient1@example.com", + "recipient2@example.com" + ], + "CcAddresses": [ + "recipient3@example.com" + ], "BccAddresses": [] }, "Message": { @@ -8324,4 +8350,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/sesv2.json b/codegen/sdk-codegen/aws-models/sesv2.json index 06080edf2f875..629329b3b5585 100644 --- a/codegen/sdk-codegen/aws-models/sesv2.json +++ b/codegen/sdk-codegen/aws-models/sesv2.json @@ -12484,4 +12484,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/sfn.json b/codegen/sdk-codegen/aws-models/sfn.json index d5ef607741ca1..7819de33c014c 100644 --- a/codegen/sdk-codegen/aws-models/sfn.json +++ b/codegen/sdk-codegen/aws-models/sfn.json @@ -6654,4 +6654,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/shield.json b/codegen/sdk-codegen/aws-models/shield.json index 03954860c02b4..3c265d2c1f316 100644 --- a/codegen/sdk-codegen/aws-models/shield.json +++ b/codegen/sdk-codegen/aws-models/shield.json @@ -4660,4 +4660,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/signer.json b/codegen/sdk-codegen/aws-models/signer.json index b65f4254640d0..2f2c48e7712d7 100644 --- a/codegen/sdk-codegen/aws-models/signer.json +++ b/codegen/sdk-codegen/aws-models/signer.json @@ -3722,4 +3722,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/simspaceweaver.json b/codegen/sdk-codegen/aws-models/simspaceweaver.json index 5efb55bc17508..45bc9ba996832 100644 --- a/codegen/sdk-codegen/aws-models/simspaceweaver.json +++ b/codegen/sdk-codegen/aws-models/simspaceweaver.json @@ -1101,7 +1101,12 @@ "externalDocumentation": "${DocHomeURL}IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys" } }, - "aws.iam#supportedPrincipalTypes": ["Root", "IAMUser", "IAMRole", "FederatedUser"], + "aws.iam#supportedPrincipalTypes": [ + "Root", + "IAMUser", + "IAMRole", + "FederatedUser" + ], "aws.protocols#restJson1": {}, "smithy.api#cors": { "additionalAllowedHeaders": [ @@ -1858,7 +1863,9 @@ "aws.api#arn": { "template": "simulation/{SimulationName}" }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], "aws.iam#disableConditionKeyInference": {}, "smithy.api#documentation": "Represents a simulation" } @@ -2313,7 +2320,10 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to start a simulation", - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Starts a simulation with the given name. You must choose to start your\n simulation from a schema or from a snapshot.\n For more information about the schema, see the schema reference \n in the SimSpace Weaver User Guide.\n For more information about snapshots, see Snapshots\n in the SimSpace Weaver User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -2630,7 +2640,10 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to tag a resource", - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], + "aws.iam#conditionKeys": [ + "aws:TagKeys", + "aws:RequestTag/${TagKey}" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Adds tags to a SimSpace Weaver resource. For more information about tags, see Tagging Amazon Web Services resources in the\n Amazon Web Services General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "POST", @@ -2736,7 +2749,9 @@ ], "traits": { "aws.iam#actionPermissionDescription": "Grants permission to untag a resource", - "aws.iam#conditionKeys": ["aws:TagKeys"], + "aws.iam#conditionKeys": [ + "aws:TagKeys" + ], "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Removes tags from a SimSpace Weaver resource. For more information about tags, see Tagging Amazon Web Services resources in the\n Amazon Web Services General Reference.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#http": { "method": "DELETE", @@ -2795,4 +2810,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/sms.json b/codegen/sdk-codegen/aws-models/sms.json index 49b14a1898113..a1820feac2280 100644 --- a/codegen/sdk-codegen/aws-models/sms.json +++ b/codegen/sdk-codegen/aws-models/sms.json @@ -5684,4 +5684,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/snow-device-management.json b/codegen/sdk-codegen/aws-models/snow-device-management.json index 1478138e00e6f..1996079e01ec8 100644 --- a/codegen/sdk-codegen/aws-models/snow-device-management.json +++ b/codegen/sdk-codegen/aws-models/snow-device-management.json @@ -2711,4 +2711,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/snowball.json b/codegen/sdk-codegen/aws-models/snowball.json index e16b0597c276a..7655c4fe93651 100644 --- a/codegen/sdk-codegen/aws-models/snowball.json +++ b/codegen/sdk-codegen/aws-models/snowball.json @@ -5377,4 +5377,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/sns.json b/codegen/sdk-codegen/aws-models/sns.json index 5ee9d9ec7a9f7..b8413ad53d233 100644 --- a/codegen/sdk-codegen/aws-models/sns.json +++ b/codegen/sdk-codegen/aws-models/sns.json @@ -5223,4 +5223,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/sqs.json b/codegen/sdk-codegen/aws-models/sqs.json index 8cfb80f6a3567..8548cb471dcc8 100644 --- a/codegen/sdk-codegen/aws-models/sqs.json +++ b/codegen/sdk-codegen/aws-models/sqs.json @@ -3533,4 +3533,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/ssm-contacts.json b/codegen/sdk-codegen/aws-models/ssm-contacts.json index a275d70a6f58d..5e60c22c22127 100644 --- a/codegen/sdk-codegen/aws-models/ssm-contacts.json +++ b/codegen/sdk-codegen/aws-models/ssm-contacts.json @@ -5693,4 +5693,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/ssm-incidents.json b/codegen/sdk-codegen/aws-models/ssm-incidents.json index 1be4162f40afe..0e884fffb9fd4 100644 --- a/codegen/sdk-codegen/aws-models/ssm-incidents.json +++ b/codegen/sdk-codegen/aws-models/ssm-incidents.json @@ -50,7 +50,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Web Services Region name to add to the replication set.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "sseKmsKeyId": { @@ -100,7 +102,9 @@ "target": "com.amazonaws.ssmincidents#Arn", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the automation process.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } } }, @@ -144,7 +148,9 @@ "member": { "target": "com.amazonaws.ssmincidents#SnsArn", "traits": { - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "traits": { @@ -170,14 +176,18 @@ "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Before the specified timestamp

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "after": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    After the specified timestamp.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "equals": { @@ -277,7 +287,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    A token that ensures that the operation is called only once with the specified\n details.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#idempotencyToken": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "tags": { @@ -346,7 +358,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    A token ensuring that the operation is called only once with the specified details.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#idempotencyToken": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "name": { @@ -354,7 +368,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The short format name of the response plan. Can't include spaces.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "displayName": { @@ -460,7 +476,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    A token that ensures that a client calls the action only once with the specified\n details.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#idempotencyToken": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "incidentRecordArn": { @@ -468,7 +486,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the incident record that the action adds the incident\n to.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } }, "eventTime": { @@ -476,7 +496,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The time that the event occurred.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "eventType": { @@ -484,7 +506,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The type of event. You can create timeline events of type Custom\n Event.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "eventData": { @@ -569,7 +593,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the incident record you are deleting.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } } } @@ -586,7 +612,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The name of the Amazon Web Services Region you're deleting from the replication set.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } } }, @@ -637,7 +665,9 @@ "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the replication set you're deleting.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#httpQuery": "arn", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } } } @@ -688,7 +718,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the resource you're deleting the policy from.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } }, "policyId": { @@ -696,7 +728,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The ID of the resource policy you're deleting.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_investigation"] + "smithy.api#tags": [ + "logs_investigation" + ] } } } @@ -745,7 +779,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the response plan.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } } } @@ -794,7 +830,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the incident that includes the timeline event.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } }, "eventId": { @@ -802,7 +840,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The ID of the event to update. You can use ListTimelineEvents to find an\n event's ID.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } } } @@ -818,7 +858,9 @@ "target": "com.amazonaws.ssmincidents#VariableType", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Variable dynamic parameters. A parameter value is determined when an incident is\n created.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } } }, @@ -859,7 +901,9 @@ "member": { "target": "com.amazonaws.ssmincidents#SsmContactsArn", "traits": { - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "traits": { @@ -884,14 +928,18 @@ "target": "com.amazonaws.ssmincidents#Arn", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of an Amazon Web Services resource referenced in a\n TimelineEvent.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "relatedItemId": { "target": "com.amazonaws.ssmincidents#GeneratedId", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The ID of a RelatedItem referenced in a TimelineEvent.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } } }, @@ -984,7 +1032,9 @@ "max": 50 }, "smithy.api#required": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "condition": { @@ -1063,7 +1113,9 @@ "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the incident record.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#httpQuery": "arn", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } } } @@ -1206,7 +1258,9 @@ "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the replication set you want to retrieve.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#httpQuery": "arn", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } } } @@ -1273,21 +1327,27 @@ "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the response plan with the attached resource policy.\n

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#httpQuery": "resourceArn", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } }, "maxResults": { "target": "com.amazonaws.ssmincidents#MaxResults", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The maximum number of resource policies to display for each page of results.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "nextToken": { "target": "com.amazonaws.ssmincidents#NextToken", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The pagination token to continue to the next page of results.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } } } @@ -1354,7 +1414,9 @@ "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the response plan.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#httpQuery": "arn", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } } } @@ -1459,7 +1521,9 @@ "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the incident that includes the timeline event.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#httpQuery": "incidentRecordArn", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } }, "eventId": { @@ -1468,7 +1532,9 @@ "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The ID of the event. You can get an event's ID when you create it, or by using\n ListTimelineEvents.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#httpQuery": "eventId", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } } } @@ -1603,21 +1669,27 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The principal that started the incident.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "invokedBy": { "target": "com.amazonaws.ssmincidents#ServicePrincipal", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The service principal that assumed the role specified in createdBy. If no\n service principal assumed the role this will be left blank.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "resourceArn": { "target": "com.amazonaws.ssmincidents#Arn", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The resource that caused the incident to be created.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "source": { @@ -1625,7 +1697,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The service that started the incident. This can be manually created from Incident Manager,\n automatically created using an Amazon CloudWatch alarm, or Amazon EventBridge\n event.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } } }, @@ -1758,7 +1832,9 @@ "target": "com.amazonaws.ssmincidents#DedupeString", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Used to stop Incident Manager from creating multiple incident records for the same incident.\n

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "notificationTargets": { @@ -1791,7 +1867,9 @@ "member": { "target": "smithy.api#Integer", "traits": { - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "traits": { @@ -1856,7 +1934,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The type of related item.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } } }, @@ -1914,7 +1994,9 @@ "target": "com.amazonaws.ssmincidents#Arn", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon\n resource.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "url": { @@ -1991,14 +2073,18 @@ "target": "com.amazonaws.ssmincidents#MaxResults", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The maximum number of results per page.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "nextToken": { "target": "com.amazonaws.ssmincidents#NextToken", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The pagination token to continue to the next page of results.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } } } @@ -2067,21 +2153,27 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the incident record containing the listed related\n items.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } }, "maxResults": { "target": "com.amazonaws.ssmincidents#MaxResults", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The maximum number of related items per page.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "nextToken": { "target": "com.amazonaws.ssmincidents#NextToken", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The pagination token to continue to the next page of results.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } } } @@ -2149,14 +2241,18 @@ "target": "com.amazonaws.ssmincidents#MaxResults", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The maximum number of results per page.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "nextToken": { "target": "com.amazonaws.ssmincidents#NextToken", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The pagination token to continue to the next page of results.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } } } @@ -2224,14 +2320,18 @@ "target": "com.amazonaws.ssmincidents#MaxResults", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The maximum number of response plans per page.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "nextToken": { "target": "com.amazonaws.ssmincidents#NextToken", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The pagination token to continue to the next page of results.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } } } @@ -2298,7 +2398,9 @@ "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the response plan.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#httpLabel": {}, "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } } } @@ -2361,7 +2463,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the incident that includes the timeline event.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } }, "filters": { @@ -2374,28 +2478,36 @@ "target": "com.amazonaws.ssmincidents#TimelineEventSort", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Sort timeline events by the specified key value pair.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "sortOrder": { "target": "com.amazonaws.ssmincidents#SortOrder", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Sorts the order of timeline events by the value specified in the sortBy\n field.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "maxResults": { "target": "com.amazonaws.ssmincidents#MaxResults", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The maximum number of results per page.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "nextToken": { "target": "com.amazonaws.ssmincidents#NextToken", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The pagination token to continue to the next page of results.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } } } @@ -2450,7 +2562,9 @@ "target": "com.amazonaws.ssmincidents#Arn", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the SNS topic.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } } }, @@ -2619,7 +2733,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the response plan to add the resource policy to.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } }, "policy": { @@ -2627,7 +2743,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Details of the resource policy.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } } } @@ -2700,7 +2818,9 @@ "key": { "target": "com.amazonaws.ssmincidents#RegionName", "traits": { - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "value": { @@ -3192,7 +3312,12 @@ }, "aws.protocols#restJson1": {}, "smithy.api#cors": { - "additionalAllowedHeaders": ["content-type", "x-amz-content-sha256", "x-amz-user-agent", "x-amzn-platform-id"] + "additionalAllowedHeaders": [ + "content-type", + "x-amz-content-sha256", + "x-amz-user-agent", + "x-amzn-platform-id" + ] }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Systems Manager Incident Manager is an incident management console designed to help users\n mitigate and recover from incidents affecting their Amazon Web Services-hosted applications. An\n incident is any unplanned interruption or reduction in quality of services.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Incident Manager increases incident resolution by notifying responders of impact,\n highlighting relevant troubleshooting data, and providing collaboration tools to get services\n back up and running. To achieve the primary goal of reducing the time-to-resolution of\n critical incidents, Incident Manager automates response plans and enables responder\n team escalation.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#title": "AWS Systems Manager Incident Manager", @@ -4124,7 +4249,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the role that the automation document will assume when\n running commands.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "documentName": { @@ -4133,7 +4260,9 @@ "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The automation document's name.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#pattern": "^[a-zA-Z0-9_\\-.:/]{3,128}$", "smithy.api#required": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "documentVersion": { @@ -4143,14 +4272,18 @@ "smithy.api#length": { "max": 128 }, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "targetAccount": { "target": "com.amazonaws.ssmincidents#SsmTargetAccount", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The account that the automation document will be run in. This can be in either the\n management account or an application account.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "parameters": { @@ -4279,7 +4412,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    A token ensuring that the operation is called only once with the specified details.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#idempotencyToken": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "responsePlanArn": { @@ -4287,7 +4422,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the response plan that pre-defines summary, chat\n channels, Amazon SNS topics, runbooks, title, and impact of the incident.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "title": { @@ -4336,7 +4473,9 @@ "smithy.api#length": { "max": 1000 }, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "traits": { @@ -4372,13 +4511,17 @@ "key": { "target": "com.amazonaws.ssmincidents#TagKey", "traits": { - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "value": { "target": "com.amazonaws.ssmincidents#TagValue", "traits": { - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "traits": { @@ -4393,13 +4536,17 @@ "key": { "target": "com.amazonaws.ssmincidents#TagKey", "traits": { - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "value": { "target": "com.amazonaws.ssmincidents#TagValue", "traits": { - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "traits": { @@ -4458,7 +4605,9 @@ "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the response plan you're adding the tags to.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#httpLabel": {}, "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } }, "tags": { @@ -4596,14 +4745,18 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Identifies the service that sourced the event. All events sourced from within Amazon Web Services begin with \"aws.\" Customer-generated events can have any value here,\n as long as it doesn't begin with \"aws.\" We recommend the use of Java package-name\n style reverse domain-name strings.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "triggerArn": { "target": "com.amazonaws.ssmincidents#Arn", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the source that detected the incident.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } }, "timestamp": { @@ -4611,7 +4764,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The time that the incident was detected.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "rawData": { @@ -4680,7 +4835,9 @@ "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the response plan you're removing a tag from.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#httpLabel": {}, "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } }, "tagKeys": { @@ -4745,7 +4902,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the replication set to update.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } }, "deletionProtected": { @@ -4753,7 +4912,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Specifies if deletion protection is turned on or off in your account.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "clientToken": { @@ -4761,7 +4922,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    A token that ensures that the operation is called only once with the specified\n details.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#idempotencyToken": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } } } @@ -4816,7 +4979,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    A token that ensures that a client calls the operation only once with the specified\n details.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#idempotencyToken": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "arn": { @@ -4824,7 +4989,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the incident record you are updating.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } }, "title": { @@ -4849,7 +5016,9 @@ "target": "com.amazonaws.ssmincidents#IncidentRecordStatus", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The status of the incident. Possible statuses are Open or\n Resolved.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "chatChannel": { @@ -4916,7 +5085,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    A token that ensures that a client calls the operation only once with the specified\n details.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#idempotencyToken": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "incidentRecordArn": { @@ -4924,7 +5095,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the incident record that contains the related items that\n you update.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } }, "relatedItemsUpdate": { @@ -5005,7 +5178,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the replication set you're updating.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } }, "actions": { @@ -5024,7 +5199,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    A token that ensures that the operation is called only once with the specified\n details.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#idempotencyToken": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } } } @@ -5079,7 +5256,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    A token ensuring that the operation is called only once with the specified details.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#idempotencyToken": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "arn": { @@ -5087,7 +5266,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the response plan.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } }, "displayName": { @@ -5118,7 +5299,9 @@ "target": "com.amazonaws.ssmincidents#DedupeString", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The string Incident Manager uses to prevent duplicate incidents from being created by the same\n incident in the same account.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "incidentTemplateNotificationTargets": { @@ -5209,7 +5392,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    A token that ensures that a client calls the operation only once with the specified\n details.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#idempotencyToken": {}, - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "incidentRecordArn": { @@ -5217,7 +5402,9 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The Amazon Resource Name (ARN) of the incident that includes the timeline event.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } }, "eventId": { @@ -5225,21 +5412,27 @@ "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The ID of the event to update. You can use ListTimelineEvents to find an\n event's ID.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#required": {}, - "smithy.api#tags": ["logs_required"] + "smithy.api#tags": [ + "logs_required" + ] } }, "eventTime": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The time that the event occurred.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "eventType": { "target": "com.amazonaws.ssmincidents#TimelineEventType", "traits": { "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    The type of event. You can update events of type Custom Event.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#tags": ["logs_investigations"] + "smithy.api#tags": [ + "logs_investigations" + ] } }, "eventData": { @@ -5300,4 +5493,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/ssm-sap.json b/codegen/sdk-codegen/aws-models/ssm-sap.json index 65ae3282bc781..3863ff9db3355 100644 --- a/codegen/sdk-codegen/aws-models/ssm-sap.json +++ b/codegen/sdk-codegen/aws-models/ssm-sap.json @@ -3287,4 +3287,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/ssm.json b/codegen/sdk-codegen/aws-models/ssm.json index fffa72ddc3b81..e0d71d076cf6f 100644 --- a/codegen/sdk-codegen/aws-models/ssm.json +++ b/codegen/sdk-codegen/aws-models/ssm.json @@ -29701,4 +29701,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/sso-admin.json b/codegen/sdk-codegen/aws-models/sso-admin.json index c2fccafc47031..587d622493bef 100644 --- a/codegen/sdk-codegen/aws-models/sso-admin.json +++ b/codegen/sdk-codegen/aws-models/sso-admin.json @@ -4820,4 +4820,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/sso-oidc.json b/codegen/sdk-codegen/aws-models/sso-oidc.json index f1978216c11b5..f9d2de80612aa 100644 --- a/codegen/sdk-codegen/aws-models/sso-oidc.json +++ b/codegen/sdk-codegen/aws-models/sso-oidc.json @@ -1569,4 +1569,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/sso.json b/codegen/sdk-codegen/aws-models/sso.json index d7a5728b7fa89..bb342fd2b3397 100644 --- a/codegen/sdk-codegen/aws-models/sso.json +++ b/codegen/sdk-codegen/aws-models/sso.json @@ -1452,4 +1452,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/storage-gateway.json b/codegen/sdk-codegen/aws-models/storage-gateway.json index c2b8dce27cc6d..b41735b8d13a7 100644 --- a/codegen/sdk-codegen/aws-models/storage-gateway.json +++ b/codegen/sdk-codegen/aws-models/storage-gateway.json @@ -220,7 +220,10 @@ "documentation": "The following example shows a request that activates a gateway-stored volume.", "input": { "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "DiskIds": ["pci-0000:03:00.0-scsi-0:0:0:0", "pci-0000:03:00.0-scsi-0:0:1:0"] + "DiskIds": [ + "pci-0000:03:00.0-scsi-0:0:0:0", + "pci-0000:03:00.0-scsi-0:0:1:0" + ] }, "output": { "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" @@ -361,7 +364,10 @@ "documentation": "Configures one or more gateway local disks as upload buffer for a specified gateway.", "input": { "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "DiskIds": ["pci-0000:03:00.0-scsi-0:0:0:0", "pci-0000:03:00.0-scsi-0:0:1:0"] + "DiskIds": [ + "pci-0000:03:00.0-scsi-0:0:0:0", + "pci-0000:03:00.0-scsi-0:0:1:0" + ] }, "output": { "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" @@ -426,7 +432,10 @@ "documentation": "Configures one or more gateway local disks as working storage for a gateway. (Working storage is also referred to as upload buffer.)", "input": { "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "DiskIds": ["pci-0000:03:00.0-scsi-0:0:0:0", "pci-0000:03:00.0-scsi-0:0:1:0"] + "DiskIds": [ + "pci-0000:03:00.0-scsi-0:0:0:0", + "pci-0000:03:00.0-scsi-0:0:1:0" + ] }, "output": { "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" @@ -3288,7 +3297,10 @@ }, "output": { "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "DiskIds": ["pci-0000:03:00.0-scsi-0:0:0:0", "pci-0000:04:00.0-scsi-0:1:0:0"], + "DiskIds": [ + "pci-0000:03:00.0-scsi-0:0:0:0", + "pci-0000:04:00.0-scsi-0:1:0:0" + ], "CacheAllocatedInBytes": 2199023255552, "CacheUsedPercentage": 0.07, "CacheDirtyPercentage": 0.07, @@ -3388,7 +3400,9 @@ "title": "To describe gateway cached iSCSI volumes", "documentation": "Returns a description of the gateway cached iSCSI volumes specified in the request.", "input": { - "VolumeARNs": ["arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB"] + "VolumeARNs": [ + "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" + ] }, "output": { "CachediSCSIVolumes": [ @@ -4147,7 +4161,9 @@ "title": "To describe the volumes of a gateway", "documentation": "Returns the description of the gateway volumes specified in the request belonging to the same gateway.", "input": { - "VolumeARNs": ["arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB"] + "VolumeARNs": [ + "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" + ] }, "output": { "StorediSCSIVolumes": [ @@ -4492,7 +4508,10 @@ }, "output": { "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "DiskIds": ["pci-0000:03:00.0-scsi-0:0:0:0", "pci-0000:04:00.0-scsi-0:1:0:0"], + "DiskIds": [ + "pci-0000:03:00.0-scsi-0:0:0:0", + "pci-0000:04:00.0-scsi-0:1:0:0" + ], "UploadBufferUsedInBytes": 161061273600, "UploadBufferAllocatedInBytes": 0 } @@ -4709,7 +4728,10 @@ }, "output": { "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", - "DiskIds": ["pci-0000:03:00.0-scsi-0:0:0:0", "pci-0000:03:00.0-scsi-0:0:1:0"], + "DiskIds": [ + "pci-0000:03:00.0-scsi-0:0:0:0", + "pci-0000:03:00.0-scsi-0:0:1:0" + ], "WorkingStorageUsedInBytes": 789207040, "WorkingStorageAllocatedInBytes": 2199023255552 } @@ -7757,7 +7779,10 @@ "documentation": "Lists the iSCSI stored volumes of a gateway. Removes one or more tags from the specified resource.", "input": { "ResourceARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B", - "TagKeys": ["Dev Gatgeway Region", "East Coast"] + "TagKeys": [ + "Dev Gatgeway Region", + "East Coast" + ] }, "output": { "ResourceARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B" @@ -11971,4 +11996,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/sts.json b/codegen/sdk-codegen/aws-models/sts.json index 26cca5a33eec7..a99b034d90080 100644 --- a/codegen/sdk-codegen/aws-models/sts.json +++ b/codegen/sdk-codegen/aws-models/sts.json @@ -2292,7 +2292,10 @@ "Value": "12345" } ], - "TransitiveTagKeys": ["Project", "Cost-Center"], + "TransitiveTagKeys": [ + "Project", + "Cost-Center" + ], "ExternalId": "123ABC" }, "output": { @@ -3712,4 +3715,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/support-app.json b/codegen/sdk-codegen/aws-models/support-app.json index 793f009d64836..1a482ccac3804 100644 --- a/codegen/sdk-codegen/aws-models/support-app.json +++ b/codegen/sdk-codegen/aws-models/support-app.json @@ -1634,4 +1634,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/support.json b/codegen/sdk-codegen/aws-models/support.json index d513ddfaf6d91..2b4605ca34f60 100644 --- a/codegen/sdk-codegen/aws-models/support.json +++ b/codegen/sdk-codegen/aws-models/support.json @@ -3324,4 +3324,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/swf.json b/codegen/sdk-codegen/aws-models/swf.json index 37f8ff4308420..aa49056900a6c 100644 --- a/codegen/sdk-codegen/aws-models/swf.json +++ b/codegen/sdk-codegen/aws-models/swf.json @@ -8690,4 +8690,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/synthetics.json b/codegen/sdk-codegen/aws-models/synthetics.json index df17c7f16ac09..5c5d1b0556840 100644 --- a/codegen/sdk-codegen/aws-models/synthetics.json +++ b/codegen/sdk-codegen/aws-models/synthetics.json @@ -4008,4 +4008,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/textract.json b/codegen/sdk-codegen/aws-models/textract.json index dfa525b729c9b..316e396c9b537 100644 --- a/codegen/sdk-codegen/aws-models/textract.json +++ b/codegen/sdk-codegen/aws-models/textract.json @@ -4282,4 +4282,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/timestream-query.json b/codegen/sdk-codegen/aws-models/timestream-query.json index c5a8f757682ad..9e18be383a1b8 100644 --- a/codegen/sdk-codegen/aws-models/timestream-query.json +++ b/codegen/sdk-codegen/aws-models/timestream-query.json @@ -3175,4 +3175,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/timestream-write.json b/codegen/sdk-codegen/aws-models/timestream-write.json index 429cd87355b23..d2db19b90fd72 100644 --- a/codegen/sdk-codegen/aws-models/timestream-write.json +++ b/codegen/sdk-codegen/aws-models/timestream-write.json @@ -3829,4 +3829,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/tnb.json b/codegen/sdk-codegen/aws-models/tnb.json index 644b27c818cd1..eb49a37af1405 100644 --- a/codegen/sdk-codegen/aws-models/tnb.json +++ b/codegen/sdk-codegen/aws-models/tnb.json @@ -1736,7 +1736,10 @@ "nsdId": "be1abe66-1fcc-11ec-9621-0242ac130002", "nsdName": "Sample-City", "nsdVersion": "1.0", - "vnfPkgIds": ["fp-0b627c4a170a97f79", "fp-8c253b2e898d23f92"], + "vnfPkgIds": [ + "fp-0b627c4a170a97f79", + "fp-8c253b2e898d23f92" + ], "nsdOnboardingState": "ONBOARDED", "nsdOperationalState": "ENABLED", "nsdUsageState": "IN_USE", @@ -3399,7 +3402,10 @@ "nsdVersion": "1.0", "nsdDesigner": "Sample", "nsdInvariantId": "SAMPLE_CITY", - "vnfPkgIds": ["fp-0b627c4a170a97f79", "fp-09a2ba09fad0212cd"], + "vnfPkgIds": [ + "fp-0b627c4a170a97f79", + "fp-09a2ba09fad0212cd" + ], "nsdOnboardingState": "ONBOARDED", "nsdOperationalState": "ENABLED", "nsdUsageState": "IN_USE", @@ -3439,7 +3445,10 @@ "nsdVersion": "1.0", "nsdDesigner": "Sample", "nsdInvariantId": "SAMPLE_CITY", - "vnfPkgIds": ["fp-0b627c4a170a97f79", "fp-09a2ba09fad0212cd"], + "vnfPkgIds": [ + "fp-0b627c4a170a97f79", + "fp-09a2ba09fad0212cd" + ], "nsdOnboardingState": "ONBOARDED", "nsdOperationalState": "ENABLED", "nsdUsageState": "IN_USE", @@ -4056,7 +4065,10 @@ "nsdId": "0d72acd9-e45d-4644-9bcd-1fe67cd0e2c8", "nsdName": "Sample Single Cluster", "nsdVersion": "1.0.0", - "vnfPkgIds": ["fp-1234567890abcdabc", "fp-0b627c4a170a97f79"], + "vnfPkgIds": [ + "fp-1234567890abcdabc", + "fp-0b627c4a170a97f79" + ], "metadata": { "nsd": { "overrides": [ @@ -4344,7 +4356,11 @@ "x-amzn-platform-id", "x-amzn-trace-id" ], - "additionalExposedHeaders": ["x-amzn-errortype", "x-amzn-requestid", "x-amzn-trace-id"], + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id" + ], "maxAge": 86400 }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Amazon Web Services Telco Network Builder (TNB) is a network automation service that helps you deploy and manage telecom networks. AWS TNB helps you with the lifecycle management of your telecommunication network functions throughout planning, deployment, and post-deployment activities.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", @@ -5915,7 +5931,10 @@ "nsdId": "0d72acd9-e45d-4644-9bcd-1fe67cd0e2c8", "nsdName": "Sample Single Cluster", "nsdVersion": "1.0.0", - "vnfPkgIds": ["fp-1234567890abcdabc", "fp-0b627c4a170a97f79"], + "vnfPkgIds": [ + "fp-1234567890abcdabc", + "fp-0b627c4a170a97f79" + ], "metadata": { "nsd": { "overrides": [ @@ -6126,4 +6145,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/transcribe-streaming.json b/codegen/sdk-codegen/aws-models/transcribe-streaming.json index 205731ddfcab1..485c00a089ab8 100644 --- a/codegen/sdk-codegen/aws-models/transcribe-streaming.json +++ b/codegen/sdk-codegen/aws-models/transcribe-streaming.json @@ -2301,8 +2301,13 @@ "name": "transcribe" }, "aws.protocols#restJson1": { - "http": ["http/1.1", "h2"], - "eventStreamHttp": ["h2"] + "http": [ + "http/1.1", + "h2" + ], + "eventStreamHttp": [ + "h2" + ] }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Amazon Transcribe streaming offers three main types of real-time transcription: \n Standard, Medical, and \n Call Analytics.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n Standard transcriptions are the most common option. Refer\n to for details.

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n Medical transcriptions are tailored to medical professionals \n and incorporate medical terms. A common use case for this service is transcribing doctor-patient \n dialogue in real time, so doctors can focus on their patient instead of taking notes. Refer to\n for details.

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n Call Analytics transcriptions are designed for use with call\n center audio on two different channels; if you're looking for insight into customer service calls, use this \n option. Refer to for details.

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#title": "Amazon Transcribe Streaming Service", @@ -3315,4 +3320,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/transcribe.json b/codegen/sdk-codegen/aws-models/transcribe.json index dd658438cea4d..193e38f15b152 100644 --- a/codegen/sdk-codegen/aws-models/transcribe.json +++ b/codegen/sdk-codegen/aws-models/transcribe.json @@ -7092,4 +7092,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/transfer.json b/codegen/sdk-codegen/aws-models/transfer.json index f7329826b3fdc..087b7036811d7 100644 --- a/codegen/sdk-codegen/aws-models/transfer.json +++ b/codegen/sdk-codegen/aws-models/transfer.json @@ -9387,4 +9387,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/translate.json b/codegen/sdk-codegen/aws-models/translate.json index f0f6cc2cc32e1..9ead21ef2658d 100644 --- a/codegen/sdk-codegen/aws-models/translate.json +++ b/codegen/sdk-codegen/aws-models/translate.json @@ -3925,4 +3925,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/verifiedpermissions.json b/codegen/sdk-codegen/aws-models/verifiedpermissions.json index 6f184f6b7752a..4ab01f58bbf1d 100644 --- a/codegen/sdk-codegen/aws-models/verifiedpermissions.json +++ b/codegen/sdk-codegen/aws-models/verifiedpermissions.json @@ -3660,7 +3660,12 @@ "aws.auth#sigv4": { "name": "verifiedpermissions" }, - "aws.iam#supportedPrincipalTypes": ["Root", "IAMUser", "IAMRole", "FederatedUser"], + "aws.iam#supportedPrincipalTypes": [ + "Root", + "IAMUser", + "IAMRole", + "FederatedUser" + ], "aws.protocols#awsJson1_0": {}, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Amazon Verified Permissions is a permissions management service from Amazon Web Services. You can use Verified Permissions to manage\n permissions for your application, and authorize user access based on those permissions.\n Using Verified Permissions, application developers can grant access based on information about the\n users, resources, and requested actions. You can also evaluate additional information\n like group membership, attributes of the resources, and session context, such as time of\n request and IP addresses. Verified Permissions manages these permissions by letting you create and\n store authorization policies for your applications, such as consumer-facing web sites\n and enterprise business systems.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Verified Permissions uses Cedar as the policy language to express your permission requirements.\n Cedar supports both role-based access control (RBAC) and attribute-based access\n control (ABAC) authorization models.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    For more information about configuring, administering, and using Amazon Verified Permissions in your\n applications, see the Amazon Verified Permissions User Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    For more information about the Cedar policy language, see the Cedar Policy Language Guide.

                                                                                                                                                                                                                                                                                                                                                                                                                    \n \n

                                                                                                                                                                                                                                                                                                                                                                                                                    When you write Cedar policies that reference principals, resources and actions,\n you can define the unique identifiers used for each of those elements. We strongly\n recommend that you follow these best practices:

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n Use values like universally unique identifiers\n (UUIDs) for all principal and resource identifiers.\n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n

                                                                                                                                                                                                                                                                                                                                                                                                                      For example, if user jane leaves the company, and you later\n let someone else use the name jane, then that new user\n automatically gets access to everything granted by policies that still\n reference User::\"jane\". Cedar can’t distinguish between the\n new user and the old. This applies to both principal and resource\n identifiers. Always use identifiers that are guaranteed unique and never\n reused to ensure that you don’t unintentionally grant access because of the\n presence of an old identifier in a policy.

                                                                                                                                                                                                                                                                                                                                                                                                                      \n

                                                                                                                                                                                                                                                                                                                                                                                                                      Where you use a UUID for an entity, we recommend that you follow it with\n the // comment specifier and the ‘friendly’ name of your entity. This helps\n to make your policies easier to understand. For example: principal ==\n User::\"a1b2c3d4-e5f6-a1b2-c3d4-EXAMPLE11111\", // alice

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      \n Do not include personally identifying, confidential,\n or sensitive information as part of the unique identifier for your\n principals or resources. These identifiers are included in\n log entries shared in CloudTrail trails.

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                    \n

                                                                                                                                                                                                                                                                                                                                                                                                                    Several operations return structures that appear similar, but have different purposes.\n As new functionality is added to the product, the structure used in a parameter of one\n operation might need to change in a way that wouldn't make sense for the same parameter\n in a different operation. To help you understand the purpose of each, the following\n naming convention is used for the structures:

                                                                                                                                                                                                                                                                                                                                                                                                                    \n
                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      Parameter type structures that end in Detail are used in\n Get operations.

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      Parameter type structures that end in Item are used in\n List operations.

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n

                                                                                                                                                                                                                                                                                                                                                                                                                      Parameter type structures that use neither suffix are used in the mutating\n (create and update) operations.

                                                                                                                                                                                                                                                                                                                                                                                                                      \n
                                                                                                                                                                                                                                                                                                                                                                                                                    • \n
                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#title": "Amazon Verified Permissions", @@ -4331,4 +4336,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/voice-id.json b/codegen/sdk-codegen/aws-models/voice-id.json index bd749749bd3c2..7c0789b936d6f 100644 --- a/codegen/sdk-codegen/aws-models/voice-id.json +++ b/codegen/sdk-codegen/aws-models/voice-id.json @@ -352,7 +352,9 @@ "aws.cloudformation#cfnExcludeProperty": {}, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If not provided, the Amazon Web Services\n SDK populates this field. For more information about idempotency, see\n Making retries safe with idempotent APIs.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#idempotencyToken": {}, - "smithy.api#suppress": ["UnstableTrait"] + "smithy.api#suppress": [ + "UnstableTrait" + ] } }, "Tags": { @@ -360,7 +362,9 @@ "traits": { "aws.cloudformation#cfnMutability": "full", "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    A list of tags you want added to the domain.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#suppress": ["UnstableTrait"] + "smithy.api#suppress": [ + "UnstableTrait" + ] } } } @@ -714,7 +718,9 @@ "traits": { "aws.cloudformation#cfnExcludeProperty": {}, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Information about the specified domain.

                                                                                                                                                                                                                                                                                                                                                                                                                    ", - "smithy.api#suppress": ["UnstableTrait"] + "smithy.api#suppress": [ + "UnstableTrait" + ] } } } @@ -1206,7 +1212,9 @@ "aws.cloudformation#cfnResource": { "name": "Domain" }, - "smithy.api#suppress": ["UnstableTrait"] + "smithy.api#suppress": [ + "UnstableTrait" + ] } }, "com.amazonaws.voiceid#DomainStatus": { @@ -4757,4 +4765,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/vpc-lattice.json b/codegen/sdk-codegen/aws-models/vpc-lattice.json index 7e6680ed071d7..cd88ef769638b 100644 --- a/codegen/sdk-codegen/aws-models/vpc-lattice.json +++ b/codegen/sdk-codegen/aws-models/vpc-lattice.json @@ -4622,7 +4622,11 @@ "x-amzn-platform-id", "x-amzn-trace-id" ], - "additionalExposedHeaders": ["x-amzn-errortype", "x-amzn-requestid", "x-amzn-trace-id"] + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id" + ] }, "smithy.api#documentation": "

                                                                                                                                                                                                                                                                                                                                                                                                                    Amazon VPC Lattice is a fully managed application networking service that you use to connect, secure,\n and monitor all of your services across multiple accounts and virtual private clouds (VPCs).\n Amazon VPC Lattice interconnects your microservices and legacy services within a logical boundary, so that\n you can discover and manage them more efficiently. For more information, see the Amazon VPC Lattice User Guide\n

                                                                                                                                                                                                                                                                                                                                                                                                                    ", "smithy.api#title": "Amazon VPC Lattice", @@ -8178,4 +8182,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/waf-regional.json b/codegen/sdk-codegen/aws-models/waf-regional.json index 40fb13965f5ca..30d451468e4e2 100644 --- a/codegen/sdk-codegen/aws-models/waf-regional.json +++ b/codegen/sdk-codegen/aws-models/waf-regional.json @@ -11961,4 +11961,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/waf.json b/codegen/sdk-codegen/aws-models/waf.json index d32112ee88447..4f50fd5e48c35 100644 --- a/codegen/sdk-codegen/aws-models/waf.json +++ b/codegen/sdk-codegen/aws-models/waf.json @@ -11255,4 +11255,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/wafv2.json b/codegen/sdk-codegen/aws-models/wafv2.json index 8146fd589a691..a98dfa221086d 100644 --- a/codegen/sdk-codegen/aws-models/wafv2.json +++ b/codegen/sdk-codegen/aws-models/wafv2.json @@ -12849,4 +12849,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/wellarchitected.json b/codegen/sdk-codegen/aws-models/wellarchitected.json index 8951c9bad8adf..5f41f0c284f0f 100644 --- a/codegen/sdk-codegen/aws-models/wellarchitected.json +++ b/codegen/sdk-codegen/aws-models/wellarchitected.json @@ -9454,4 +9454,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/wisdom.json b/codegen/sdk-codegen/aws-models/wisdom.json index 91dfd42e2d389..0923e28d1c5b9 100644 --- a/codegen/sdk-codegen/aws-models/wisdom.json +++ b/codegen/sdk-codegen/aws-models/wisdom.json @@ -2913,7 +2913,9 @@ "items": "results" }, "smithy.api#readonly": {}, - "smithy.api#suppress": ["HttpMethodSemantics"] + "smithy.api#suppress": [ + "HttpMethodSemantics" + ] } }, "com.amazonaws.wisdom#QueryAssistantRequest": { @@ -4830,4 +4832,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/workdocs.json b/codegen/sdk-codegen/aws-models/workdocs.json index ab9e52782a0b9..13a0fcee0c3b4 100644 --- a/codegen/sdk-codegen/aws-models/workdocs.json +++ b/codegen/sdk-codegen/aws-models/workdocs.json @@ -8177,4 +8177,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/worklink.json b/codegen/sdk-codegen/aws-models/worklink.json index 639bb19458c07..f086cbb918507 100644 --- a/codegen/sdk-codegen/aws-models/worklink.json +++ b/codegen/sdk-codegen/aws-models/worklink.json @@ -3962,4 +3962,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/workmail.json b/codegen/sdk-codegen/aws-models/workmail.json index d39a239c8062a..f80b7e650e6d8 100644 --- a/codegen/sdk-codegen/aws-models/workmail.json +++ b/codegen/sdk-codegen/aws-models/workmail.json @@ -9429,4 +9429,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/workmailmessageflow.json b/codegen/sdk-codegen/aws-models/workmailmessageflow.json index f944d46707e13..1a3d3ca6c3275 100644 --- a/codegen/sdk-codegen/aws-models/workmailmessageflow.json +++ b/codegen/sdk-codegen/aws-models/workmailmessageflow.json @@ -941,4 +941,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/workspaces-web.json b/codegen/sdk-codegen/aws-models/workspaces-web.json index fa8cf24839ef7..c0f73b131f465 100644 --- a/codegen/sdk-codegen/aws-models/workspaces-web.json +++ b/codegen/sdk-codegen/aws-models/workspaces-web.json @@ -7395,4 +7395,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/workspaces.json b/codegen/sdk-codegen/aws-models/workspaces.json index 0da83be5251ab..b852568062150 100644 --- a/codegen/sdk-codegen/aws-models/workspaces.json +++ b/codegen/sdk-codegen/aws-models/workspaces.json @@ -8616,4 +8616,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/xray.json b/codegen/sdk-codegen/aws-models/xray.json index 3d72fa06ac228..374939dd7ae00 100644 --- a/codegen/sdk-codegen/aws-models/xray.json +++ b/codegen/sdk-codegen/aws-models/xray.json @@ -6165,4 +6165,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/XmlShapeSerVisitor.java b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/XmlShapeSerVisitor.java index 05bef81c14aa3..d0b2ffdc547f6 100644 --- a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/XmlShapeSerVisitor.java +++ b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/XmlShapeSerVisitor.java @@ -138,7 +138,7 @@ protected void serializeMap(GenerationContext context, MapShape shape) { .orElse("key"); writer.write("const keyNode = $L.withName($S);", keyTarget.accept(getMemberVisitor("key")), keyName); // Add @xmlNamespace value of the key member. - AwsProtocolUtils.writeXmlNamespace(context, keyMember, "workingNode"); + AwsProtocolUtils.writeXmlNamespace(context, keyMember, "keyNode"); writer.write("entryNode.addChildNode(keyNode);"); // Prepare the value's node. diff --git a/private/aws-protocoltests-restjson/src/commands/HttpPayloadWithUnionCommand.ts b/private/aws-protocoltests-restjson/src/commands/HttpPayloadWithUnionCommand.ts new file mode 100644 index 0000000000000..f12792fc3ba85 --- /dev/null +++ b/private/aws-protocoltests-restjson/src/commands/HttpPayloadWithUnionCommand.ts @@ -0,0 +1,133 @@ +// smithy-typescript generated code +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@smithy/types"; + +import { HttpPayloadWithUnionInputOutput } from "../models/models_0"; +import { de_HttpPayloadWithUnionCommand, se_HttpPayloadWithUnionCommand } from "../protocols/Aws_restJson1"; +import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; + +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link HttpPayloadWithUnionCommand}. + */ +export interface HttpPayloadWithUnionCommandInput extends HttpPayloadWithUnionInputOutput {} +/** + * @public + * + * The output of {@link HttpPayloadWithUnionCommand}. + */ +export interface HttpPayloadWithUnionCommandOutput extends HttpPayloadWithUnionInputOutput, __MetadataBearer {} + +/** + * @public + * This example serializes a union in the payload. + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { RestJsonProtocolClient, HttpPayloadWithUnionCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, HttpPayloadWithUnionCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import + * const client = new RestJsonProtocolClient(config); + * const input = { // HttpPayloadWithUnionInputOutput + * nested: { // UnionPayload Union: only one key present + * greeting: "STRING_VALUE", + * }, + * }; + * const command = new HttpPayloadWithUnionCommand(input); + * const response = await client.send(command); + * // { // HttpPayloadWithUnionInputOutput + * // nested: { // UnionPayload Union: only one key present + * // greeting: "STRING_VALUE", + * // }, + * // }; + * + * ``` + * + * @param HttpPayloadWithUnionCommandInput - {@link HttpPayloadWithUnionCommandInput} + * @returns {@link HttpPayloadWithUnionCommandOutput} + * @see {@link HttpPayloadWithUnionCommandInput} for command's `input` shape. + * @see {@link HttpPayloadWithUnionCommandOutput} for command's `response` shape. + * @see {@link RestJsonProtocolClientResolvedConfig | config} for RestJsonProtocolClient's `config` shape. + * + * @throws {@link RestJsonProtocolServiceException} + *

                                                                                                                                                                                                                                                                                                                                                                                                                    Base exception class for all service exceptions from RestJsonProtocol service.

                                                                                                                                                                                                                                                                                                                                                                                                                    + * + */ +export class HttpPayloadWithUnionCommand extends $Command< + HttpPayloadWithUnionCommandInput, + HttpPayloadWithUnionCommandOutput, + RestJsonProtocolClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + /** + * @public + */ + constructor(readonly input: HttpPayloadWithUnionCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: RestJsonProtocolClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "RestJsonProtocolClient"; + const commandName = "HttpPayloadWithUnionCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: (_: any) => _, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + /** + * @internal + */ + private serialize(input: HttpPayloadWithUnionCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return se_HttpPayloadWithUnionCommand(input, context); + } + + /** + * @internal + */ + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return de_HttpPayloadWithUnionCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithUnionCommand.ts b/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithUnionCommand.ts new file mode 100644 index 0000000000000..2fd82b4cf97e7 --- /dev/null +++ b/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithUnionCommand.ts @@ -0,0 +1,133 @@ +// smithy-typescript generated code +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@smithy/types"; + +import { HttpPayloadWithUnionInputOutput } from "../models/models_0"; +import { de_HttpPayloadWithUnionCommand, se_HttpPayloadWithUnionCommand } from "../protocols/Aws_restXml"; +import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; + +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link HttpPayloadWithUnionCommand}. + */ +export interface HttpPayloadWithUnionCommandInput extends HttpPayloadWithUnionInputOutput {} +/** + * @public + * + * The output of {@link HttpPayloadWithUnionCommand}. + */ +export interface HttpPayloadWithUnionCommandOutput extends HttpPayloadWithUnionInputOutput, __MetadataBearer {} + +/** + * @public + * This example serializes a union in the payload. + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { RestXmlProtocolClient, HttpPayloadWithUnionCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, HttpPayloadWithUnionCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import + * const client = new RestXmlProtocolClient(config); + * const input = { // HttpPayloadWithUnionInputOutput + * nested: { // UnionPayload Union: only one key present + * greeting: "STRING_VALUE", + * }, + * }; + * const command = new HttpPayloadWithUnionCommand(input); + * const response = await client.send(command); + * // { // HttpPayloadWithUnionInputOutput + * // nested: { // UnionPayload Union: only one key present + * // greeting: "STRING_VALUE", + * // }, + * // }; + * + * ``` + * + * @param HttpPayloadWithUnionCommandInput - {@link HttpPayloadWithUnionCommandInput} + * @returns {@link HttpPayloadWithUnionCommandOutput} + * @see {@link HttpPayloadWithUnionCommandInput} for command's `input` shape. + * @see {@link HttpPayloadWithUnionCommandOutput} for command's `response` shape. + * @see {@link RestXmlProtocolClientResolvedConfig | config} for RestXmlProtocolClient's `config` shape. + * + * @throws {@link RestXmlProtocolServiceException} + *

                                                                                                                                                                                                                                                                                                                                                                                                                    Base exception class for all service exceptions from RestXmlProtocol service.

                                                                                                                                                                                                                                                                                                                                                                                                                    + * + */ +export class HttpPayloadWithUnionCommand extends $Command< + HttpPayloadWithUnionCommandInput, + HttpPayloadWithUnionCommandOutput, + RestXmlProtocolClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + /** + * @public + */ + constructor(readonly input: HttpPayloadWithUnionCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: RestXmlProtocolClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "RestXmlProtocolClient"; + const commandName = "HttpPayloadWithUnionCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: (_: any) => _, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + /** + * @internal + */ + private serialize(input: HttpPayloadWithUnionCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return se_HttpPayloadWithUnionCommand(input, context); + } + + /** + * @internal + */ + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return de_HttpPayloadWithUnionCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/private/aws-protocoltests-restxml/src/commands/XmlMapWithXmlNamespaceCommand.ts b/private/aws-protocoltests-restxml/src/commands/XmlMapWithXmlNamespaceCommand.ts new file mode 100644 index 0000000000000..dd84184fc3127 --- /dev/null +++ b/private/aws-protocoltests-restxml/src/commands/XmlMapWithXmlNamespaceCommand.ts @@ -0,0 +1,133 @@ +// smithy-typescript generated code +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@smithy/types"; + +import { XmlMapWithXmlNamespaceInputOutput } from "../models/models_0"; +import { de_XmlMapWithXmlNamespaceCommand, se_XmlMapWithXmlNamespaceCommand } from "../protocols/Aws_restXml"; +import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; + +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link XmlMapWithXmlNamespaceCommand}. + */ +export interface XmlMapWithXmlNamespaceCommandInput extends XmlMapWithXmlNamespaceInputOutput {} +/** + * @public + * + * The output of {@link XmlMapWithXmlNamespaceCommand}. + */ +export interface XmlMapWithXmlNamespaceCommandOutput extends XmlMapWithXmlNamespaceInputOutput, __MetadataBearer {} + +/** + * @public + * Maps with @xmlNamespace and @xmlName + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { RestXmlProtocolClient, XmlMapWithXmlNamespaceCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, XmlMapWithXmlNamespaceCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import + * const client = new RestXmlProtocolClient(config); + * const input = { // XmlMapWithXmlNamespaceInputOutput + * myMap: { // XmlMapWithXmlNamespaceInputOutputMap + * "": "STRING_VALUE", + * }, + * }; + * const command = new XmlMapWithXmlNamespaceCommand(input); + * const response = await client.send(command); + * // { // XmlMapWithXmlNamespaceInputOutput + * // myMap: { // XmlMapWithXmlNamespaceInputOutputMap + * // "": "STRING_VALUE", + * // }, + * // }; + * + * ``` + * + * @param XmlMapWithXmlNamespaceCommandInput - {@link XmlMapWithXmlNamespaceCommandInput} + * @returns {@link XmlMapWithXmlNamespaceCommandOutput} + * @see {@link XmlMapWithXmlNamespaceCommandInput} for command's `input` shape. + * @see {@link XmlMapWithXmlNamespaceCommandOutput} for command's `response` shape. + * @see {@link RestXmlProtocolClientResolvedConfig | config} for RestXmlProtocolClient's `config` shape. + * + * @throws {@link RestXmlProtocolServiceException} + *

                                                                                                                                                                                                                                                                                                                                                                                                                    Base exception class for all service exceptions from RestXmlProtocol service.

                                                                                                                                                                                                                                                                                                                                                                                                                    + * + */ +export class XmlMapWithXmlNamespaceCommand extends $Command< + XmlMapWithXmlNamespaceCommandInput, + XmlMapWithXmlNamespaceCommandOutput, + RestXmlProtocolClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + /** + * @public + */ + constructor(readonly input: XmlMapWithXmlNamespaceCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: RestXmlProtocolClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "RestXmlProtocolClient"; + const commandName = "XmlMapWithXmlNamespaceCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: (_: any) => _, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + /** + * @internal + */ + private serialize(input: XmlMapWithXmlNamespaceCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return se_XmlMapWithXmlNamespaceCommand(input, context); + } + + /** + * @internal + */ + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return de_XmlMapWithXmlNamespaceCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/private/aws-restjson-server/src/server/operations/HttpPayloadWithUnion.ts b/private/aws-restjson-server/src/server/operations/HttpPayloadWithUnion.ts new file mode 100644 index 0000000000000..012b6e690abed --- /dev/null +++ b/private/aws-restjson-server/src/server/operations/HttpPayloadWithUnion.ts @@ -0,0 +1,191 @@ +// smithy-typescript generated code +import { + httpbinding, + InternalFailureException as __InternalFailureException, + isFrameworkException as __isFrameworkException, + Mux as __Mux, + Operation as __Operation, + OperationInput as __OperationInput, + OperationOutput as __OperationOutput, + OperationSerializer as __OperationSerializer, + SerializationException as __SerializationException, + ServerSerdeContext as __ServerSerdeContext, + ServerSerdeContext, + ServiceException as __ServiceException, + ServiceHandler as __ServiceHandler, + SmithyFrameworkException as __SmithyFrameworkException, + ValidationCustomizer as __ValidationCustomizer, + ValidationFailure as __ValidationFailure, +} from "@aws-smithy/server-common"; +import { NodeHttpHandler, streamCollector } from "@smithy/node-http-handler"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http"; +import { fromBase64, toBase64 } from "@smithy/util-base64"; +import { fromUtf8, toUtf8 } from "@smithy/util-utf8"; + +import { HttpPayloadWithUnionInputOutput } from "../../models/models_0"; +import { + deserializeHttpPayloadWithUnionRequest, + serializeFrameworkException, + serializeHttpPayloadWithUnionResponse, +} from "../../protocols/Aws_restJson1"; +import { RestJsonService } from "../RestJsonService"; + +export type HttpPayloadWithUnion = __Operation< + HttpPayloadWithUnionServerInput, + HttpPayloadWithUnionServerOutput, + Context +>; + +export interface HttpPayloadWithUnionServerInput extends HttpPayloadWithUnionInputOutput {} +export namespace HttpPayloadWithUnionServerInput { + /** + * @internal + */ + export const validate: ( + obj: Parameters[0] + ) => __ValidationFailure[] = HttpPayloadWithUnionInputOutput.validate; +} +export interface HttpPayloadWithUnionServerOutput extends HttpPayloadWithUnionInputOutput {} + +export type HttpPayloadWithUnionErrors = never; + +export class HttpPayloadWithUnionSerializer + implements __OperationSerializer, "HttpPayloadWithUnion", HttpPayloadWithUnionErrors> +{ + serialize = serializeHttpPayloadWithUnionResponse; + deserialize = deserializeHttpPayloadWithUnionRequest; + + isOperationError(error: any): error is HttpPayloadWithUnionErrors { + return false; + } + + serializeError(error: HttpPayloadWithUnionErrors, ctx: ServerSerdeContext): Promise<__HttpResponse> { + throw error; + } +} + +export const getHttpPayloadWithUnionHandler = ( + operation: __Operation, + customizer: __ValidationCustomizer<"HttpPayloadWithUnion"> +): __ServiceHandler => { + const mux = new httpbinding.HttpBindingMux<"RestJson", "HttpPayloadWithUnion">([ + new httpbinding.UriSpec<"RestJson", "HttpPayloadWithUnion">( + "PUT", + [{ type: "path_literal", value: "HttpPayloadWithUnion" }], + [], + { service: "RestJson", operation: "HttpPayloadWithUnion" } + ), + ]); + return new HttpPayloadWithUnionHandler( + operation, + mux, + new HttpPayloadWithUnionSerializer(), + serializeFrameworkException, + customizer + ); +}; + +const serdeContextBase = { + base64Encoder: toBase64, + base64Decoder: fromBase64, + utf8Encoder: toUtf8, + utf8Decoder: fromUtf8, + streamCollector: streamCollector, + requestHandler: new NodeHttpHandler(), + disableHostPrefix: true, +}; +async function handle( + request: __HttpRequest, + context: Context, + operationName: O, + serializer: __OperationSerializer, + operation: __Operation<__OperationInput, __OperationOutput, Context>, + serializeFrameworkException: (e: __SmithyFrameworkException, ctx: __ServerSerdeContext) => Promise<__HttpResponse>, + validationFn: (input: __OperationInput) => __ValidationFailure[], + validationCustomizer: __ValidationCustomizer +): Promise<__HttpResponse> { + let input; + try { + input = await serializer.deserialize(request, { + endpoint: () => Promise.resolve(request), + ...serdeContextBase, + }); + } catch (error: unknown) { + if (__isFrameworkException(error)) { + return serializeFrameworkException(error, serdeContextBase); + } + return serializeFrameworkException(new __SerializationException(), serdeContextBase); + } + try { + const validationFailures = validationFn(input); + if (validationFailures && validationFailures.length > 0) { + const validationException = validationCustomizer({ operation: operationName }, validationFailures); + if (validationException) { + return serializer.serializeError(validationException, serdeContextBase); + } + } + const output = await operation(input, context); + return serializer.serialize(output, serdeContextBase); + } catch (error: unknown) { + if (serializer.isOperationError(error)) { + return serializer.serializeError(error, serdeContextBase); + } + console.log("Received an unexpected error", error); + return serializeFrameworkException(new __InternalFailureException(), serdeContextBase); + } +} +export class HttpPayloadWithUnionHandler implements __ServiceHandler { + private readonly operation: __Operation; + private readonly mux: __Mux<"RestJson", "HttpPayloadWithUnion">; + private readonly serializer: __OperationSerializer< + RestJsonService, + "HttpPayloadWithUnion", + HttpPayloadWithUnionErrors + >; + private readonly serializeFrameworkException: ( + e: __SmithyFrameworkException, + ctx: __ServerSerdeContext + ) => Promise<__HttpResponse>; + private readonly validationCustomizer: __ValidationCustomizer<"HttpPayloadWithUnion">; + /** + * Construct a HttpPayloadWithUnion handler. + * @param operation The {@link __Operation} implementation that supplies the business logic for HttpPayloadWithUnion + * @param mux The {@link __Mux} that verifies which service and operation are being invoked by a given {@link __HttpRequest} + * @param serializer An {@link __OperationSerializer} for HttpPayloadWithUnion that + * handles deserialization of requests and serialization of responses + * @param serializeFrameworkException A function that can serialize {@link __SmithyFrameworkException}s + * @param validationCustomizer A {@link __ValidationCustomizer} for turning validation failures into {@link __SmithyFrameworkException}s + */ + constructor( + operation: __Operation, + mux: __Mux<"RestJson", "HttpPayloadWithUnion">, + serializer: __OperationSerializer, "HttpPayloadWithUnion", HttpPayloadWithUnionErrors>, + serializeFrameworkException: (e: __SmithyFrameworkException, ctx: __ServerSerdeContext) => Promise<__HttpResponse>, + validationCustomizer: __ValidationCustomizer<"HttpPayloadWithUnion"> + ) { + this.operation = operation; + this.mux = mux; + this.serializer = serializer; + this.serializeFrameworkException = serializeFrameworkException; + this.validationCustomizer = validationCustomizer; + } + async handle(request: __HttpRequest, context: Context): Promise<__HttpResponse> { + const target = this.mux.match(request); + if (target === undefined) { + console.log( + "Received a request that did not match aws.protocoltests.restjson#RestJson.HttpPayloadWithUnion. This indicates a misconfiguration." + ); + return this.serializeFrameworkException(new __InternalFailureException(), serdeContextBase); + } + return handle( + request, + context, + "HttpPayloadWithUnion", + this.serializer, + this.operation, + this.serializeFrameworkException, + HttpPayloadWithUnionServerInput.validate, + this.validationCustomizer + ); + } +}