From 5642814d2c48b6c22804e952d134a179835fd2bc Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Thu, 23 Jan 2020 23:03:20 +0000 Subject: [PATCH 1/2] chore: codegen for remove duplicate shapes --- clients/client-acm-pca/models/index.ts | 146 +- clients/client-acm/models/index.ts | 236 +- .../client-alexa-for-business/models/index.ts | 1390 +- clients/client-amplify/models/index.ts | 80 +- clients/client-api-gateway/models/index.ts | 672 +- clients/client-apigatewayv2/models/index.ts | 130 +- clients/client-appconfig/models/index.ts | 60 +- .../models/index.ts | 148 +- .../models/index.ts | 144 +- .../models/index.ts | 34 +- clients/client-appstream/models/index.ts | 344 +- clients/client-appsync/models/index.ts | 188 +- clients/client-athena/models/index.ts | 70 +- .../client-auto-scaling-plans/models/index.ts | 188 +- clients/client-auto-scaling/models/index.ts | 92 +- clients/client-backup/models/index.ts | 92 +- clients/client-batch/models/index.ts | 138 +- clients/client-budgets/models/index.ts | 84 +- clients/client-chime/models/index.ts | 244 +- clients/client-cloud9/models/index.ts | 68 +- clients/client-clouddirectory/models/index.ts | 188 +- clients/client-cloudformation/models/index.ts | 10646 +++++----- clients/client-cloudfront/models/index.ts | 5868 ++--- clients/client-cloudhsm-v2/models/index.ts | 268 +- clients/client-cloudhsm/models/index.ts | 50 +- .../client-cloudsearch-domain/models/index.ts | 8 +- clients/client-cloudsearch/models/index.ts | 150 +- clients/client-cloudtrail/models/index.ts | 50 +- .../client-cloudwatch-events/models/index.ts | 412 +- .../client-cloudwatch-logs/models/index.ts | 54 +- clients/client-cloudwatch/models/index.ts | 254 +- clients/client-codebuild/models/index.ts | 352 +- clients/client-codecommit/models/index.ts | 186 +- clients/client-codedeploy/models/index.ts | 468 +- .../client-codeguru-reviewer/models/index.ts | 24 +- clients/client-codepipeline/models/index.ts | 1572 +- .../models/index.ts | 72 +- .../models/index.ts | 430 +- .../client-cognito-identity/models/index.ts | 34 +- clients/client-cognito-sync/models/index.ts | 26 +- clients/client-comprehend/models/index.ts | 192 +- .../client-comprehendmedical/models/index.ts | 120 +- .../client-compute-optimizer/models/index.ts | 68 +- clients/client-config-service/models/index.ts | 534 +- clients/client-connect/models/index.ts | 718 +- .../client-connectparticipant/models/index.ts | 312 +- .../models/index.ts | 38 +- clients/client-cost-explorer/models/index.ts | 194 +- clients/client-data-pipeline/models/index.ts | 28 +- .../models/index.ts | 1032 +- clients/client-dataexchange/models/index.ts | 134 +- clients/client-datasync/models/index.ts | 232 +- clients/client-dax/models/index.ts | 1710 +- clients/client-device-farm/models/index.ts | 590 +- clients/client-direct-connect/models/index.ts | 204 +- .../client-directory-service/models/index.ts | 336 +- clients/client-dlm/models/index.ts | 62 +- clients/client-docdb/models/index.ts | 5588 ++--- .../client-dynamodb-streams/models/index.ts | 444 +- clients/client-dynamodb/models/index.ts | 346 +- clients/client-ebs/models/index.ts | 24 +- clients/client-ecr/models/index.ts | 110 +- clients/client-ecs/models/index.ts | 512 +- clients/client-efs/models/index.ts | 936 +- clients/client-eks/models/index.ts | 176 +- .../client-elastic-beanstalk/models/index.ts | 200 +- .../models/index.ts | 158 +- .../client-elastic-transcoder/models/index.ts | 236 +- clients/client-elasticache/models/index.ts | 2830 +-- .../models/index.ts | 628 +- clients/client-emr/models/index.ts | 436 +- clients/client-eventbridge/models/index.ts | 412 +- clients/client-firehose/models/index.ts | 186 +- clients/client-fms/models/index.ts | 72 +- clients/client-forecast/models/index.ts | 74 +- clients/client-frauddetector/models/index.ts | 274 +- clients/client-fsx/models/index.ts | 110 +- clients/client-gamelift/models/index.ts | 490 +- clients/client-glacier/models/index.ts | 2010 +- .../client-global-accelerator/models/index.ts | 42 +- clients/client-glue/models/index.ts | 13346 ++++++------ clients/client-greengrass/models/index.ts | 158 +- clients/client-guardduty/models/index.ts | 158 +- clients/client-health/models/index.ts | 238 +- clients/client-iam/models/index.ts | 250 +- clients/client-imagebuilder/models/index.ts | 104 +- clients/client-inspector/models/index.ts | 366 +- .../client-iot-events-data/models/index.ts | 258 +- clients/client-iot-events/models/index.ts | 542 +- .../models/index.ts | 314 +- clients/client-iotanalytics/models/index.ts | 634 +- .../client-iotsecuretunneling/models/index.ts | 20 +- clients/client-iotthingsgraph/models/index.ts | 1992 +- clients/client-kafka/models/index.ts | 56 +- clients/client-kendra/models/index.ts | 200 +- .../models/index.ts | 124 +- .../client-kinesis-analytics/models/index.ts | 40 +- .../models/index.ts | 262 +- .../models/index.ts | 270 +- clients/client-kinesis-video/models/index.ts | 32 +- clients/client-kinesis/models/index.ts | 342 +- clients/client-kms/models/index.ts | 232 +- clients/client-lakeformation/models/index.ts | 580 +- clients/client-lambda/models/index.ts | 186 +- .../models/index.ts | 352 +- .../models/index.ts | 502 +- .../client-license-manager/models/index.ts | 54 +- clients/client-lightsail/models/index.ts | 748 +- .../client-machine-learning/models/index.ts | 172 +- clients/client-macie/models/index.ts | 18 +- .../client-managedblockchain/models/index.ts | 120 +- .../models/index.ts | 26 +- .../models/index.ts | 8 +- .../models/index.ts | 10 +- .../models/index.ts | 12 +- clients/client-mediaconnect/models/index.ts | 68 +- clients/client-mediaconvert/models/index.ts | 3638 ++-- clients/client-medialive/models/index.ts | 2384 +-- .../client-mediapackage-vod/models/index.ts | 32 +- clients/client-mediapackage/models/index.ts | 118 +- .../client-mediastore-data/models/index.ts | 18 +- clients/client-mediastore/models/index.ts | 26 +- clients/client-mediatailor/models/index.ts | 10 +- clients/client-migration-hub/models/index.ts | 52 +- .../models/index.ts | 8 +- clients/client-mobile/models/index.ts | 32 +- clients/client-mq/models/index.ts | 78 +- clients/client-mturk/models/index.ts | 262 +- clients/client-neptune/models/index.ts | 7554 +++---- clients/client-networkmanager/models/index.ts | 114 +- clients/client-opsworks/models/index.ts | 364 +- clients/client-opsworkscm/models/index.ts | 78 +- clients/client-organizations/models/index.ts | 332 +- .../client-personalize-events/models/index.ts | 40 +- .../models/index.ts | 40 +- clients/client-personalize/models/index.ts | 258 +- clients/client-pi/models/index.ts | 120 +- clients/client-pinpoint-email/models/index.ts | 246 +- .../client-pinpoint-sms-voice/models/index.ts | 20 +- clients/client-pinpoint/models/index.ts | 290 +- clients/client-polly/models/index.ts | 252 +- clients/client-pricing/models/index.ts | 8 +- clients/client-qldb/models/index.ts | 46 +- clients/client-quicksight/models/index.ts | 1606 +- clients/client-ram/models/index.ts | 78 +- clients/client-rds-data/models/index.ts | 494 +- clients/client-rds/models/index.ts | 17718 ++++++++-------- clients/client-redshift/models/index.ts | 11240 +++++----- clients/client-rekognition/models/index.ts | 302 +- .../models/index.ts | 10 +- .../client-resource-groups/models/index.ts | 36 +- clients/client-robomaker/models/index.ts | 228 +- .../client-route-53-domains/models/index.ts | 794 +- clients/client-route-53/models/index.ts | 294 +- .../client-route53resolver/models/index.ts | 108 +- clients/client-s3-control/models/index.ts | 226 +- clients/client-s3/models/index.ts | 598 +- .../models/index.ts | 26 +- clients/client-sagemaker/models/index.ts | 1832 +- clients/client-schemas/models/index.ts | 30 +- clients/client-securityhub/models/index.ts | 232 +- .../models/index.ts | 26 +- .../client-service-catalog/models/index.ts | 1196 +- clients/client-service-quotas/models/index.ts | 60 +- .../client-servicediscovery/models/index.ts | 168 +- clients/client-ses/models/index.ts | 292 +- clients/client-sesv2/models/index.ts | 358 +- clients/client-sfn/models/index.ts | 3420 +-- clients/client-shield/models/index.ts | 76 +- clients/client-signer/models/index.ts | 24 +- clients/client-sms/models/index.ts | 132 +- clients/client-snowball/models/index.ts | 104 +- clients/client-sqs/models/index.ts | 64 +- clients/client-ssm/models/index.ts | 1004 +- .../client-storage-gateway/models/index.ts | 7792 +++---- clients/client-support/models/index.ts | 1064 +- clients/client-swf/models/index.ts | 6548 +++--- clients/client-textract/models/index.ts | 84 +- .../models/index.ts | 112 +- clients/client-transcribe/models/index.ts | 116 +- clients/client-transfer/models/index.ts | 80 +- clients/client-translate/models/index.ts | 26 +- clients/client-waf-regional/models/index.ts | 1388 +- clients/client-waf/models/index.ts | 1556 +- clients/client-wafv2/models/index.ts | 804 +- clients/client-workdocs/models/index.ts | 366 +- clients/client-worklink/models/index.ts | 66 +- clients/client-workspaces/models/index.ts | 244 +- clients/client-xray/models/index.ts | 40 +- 189 files changed, 75367 insertions(+), 75367 deletions(-) diff --git a/clients/client-acm-pca/models/index.ts b/clients/client-acm-pca/models/index.ts index 5636727dc8c5..ed80cafb4f7f 100644 --- a/clients/client-acm-pca/models/index.ts +++ b/clients/client-acm-pca/models/index.ts @@ -1,6 +1,79 @@ import * as _smithy from "@aws-sdk/smithy-client"; import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types"; +export enum ActionType { + GetCertificate = "GetCertificate", + IssueCertificate = "IssueCertificate", + ListPermissions = "ListPermissions" +} + +export enum AuditReportResponseFormat { + CSV = "CSV", + JSON = "JSON" +} + +export enum AuditReportStatus { + CREATING = "CREATING", + FAILED = "FAILED", + SUCCESS = "SUCCESS" +} + +export enum CertificateAuthorityStatus { + ACTIVE = "ACTIVE", + CREATING = "CREATING", + DELETED = "DELETED", + DISABLED = "DISABLED", + EXPIRED = "EXPIRED", + FAILED = "FAILED", + PENDING_CERTIFICATE = "PENDING_CERTIFICATE" +} + +export enum CertificateAuthorityType { + ROOT = "ROOT", + SUBORDINATE = "SUBORDINATE" +} + +export enum FailureReason { + OTHER = "OTHER", + REQUEST_TIMED_OUT = "REQUEST_TIMED_OUT", + UNSUPPORTED_ALGORITHM = "UNSUPPORTED_ALGORITHM" +} + +export enum KeyAlgorithm { + EC_prime256v1 = "EC_prime256v1", + EC_secp384r1 = "EC_secp384r1", + RSA_2048 = "RSA_2048", + RSA_4096 = "RSA_4096" +} + +export enum RevocationReason { + AFFILIATION_CHANGED = "AFFILIATION_CHANGED", + A_A_COMPROMISE = "A_A_COMPROMISE", + CERTIFICATE_AUTHORITY_COMPROMISE = "CERTIFICATE_AUTHORITY_COMPROMISE", + CESSATION_OF_OPERATION = "CESSATION_OF_OPERATION", + KEY_COMPROMISE = "KEY_COMPROMISE", + PRIVILEGE_WITHDRAWN = "PRIVILEGE_WITHDRAWN", + SUPERSEDED = "SUPERSEDED", + UNSPECIFIED = "UNSPECIFIED" +} + +export enum SigningAlgorithm { + SHA256WITHECDSA = "SHA256WITHECDSA", + SHA256WITHRSA = "SHA256WITHRSA", + SHA384WITHECDSA = "SHA384WITHECDSA", + SHA384WITHRSA = "SHA384WITHRSA", + SHA512WITHECDSA = "SHA512WITHECDSA", + SHA512WITHRSA = "SHA512WITHRSA" +} + +export enum ValidityPeriodType { + ABSOLUTE = "ABSOLUTE", + DAYS = "DAYS", + END_DATE = "END_DATE", + MONTHS = "MONTHS", + YEARS = "YEARS" +} + /** * *

Contains information about the certificate subject. The certificate can be one issued @@ -131,23 +204,6 @@ export namespace ASN1Subject { } } -export enum ActionType { - GetCertificate = "GetCertificate", - IssueCertificate = "IssueCertificate", - ListPermissions = "ListPermissions" -} - -export enum AuditReportResponseFormat { - CSV = "CSV", - JSON = "JSON" -} - -export enum AuditReportStatus { - CREATING = "CREATING", - FAILED = "FAILED", - SUCCESS = "SUCCESS" -} - /** * *

Contains information about your private certificate authority (CA). Your private CA can @@ -301,21 +357,6 @@ export namespace CertificateAuthorityConfiguration { } } -export enum CertificateAuthorityStatus { - ACTIVE = "ACTIVE", - CREATING = "CREATING", - DELETED = "DELETED", - DISABLED = "DISABLED", - EXPIRED = "EXPIRED", - FAILED = "FAILED", - PENDING_CERTIFICATE = "PENDING_CERTIFICATE" -} - -export enum CertificateAuthorityType { - ROOT = "ROOT", - SUBORDINATE = "SUBORDINATE" -} - /** * *

The certificate authority certificate you are importing does not comply with @@ -869,12 +910,6 @@ export namespace DescribeCertificateAuthorityResponse { } } -export enum FailureReason { - OTHER = "OTHER", - REQUEST_TIMED_OUT = "REQUEST_TIMED_OUT", - UNSUPPORTED_ALGORITHM = "UNSUPPORTED_ALGORITHM" -} - export interface GetCertificateAuthorityCertificateRequest { __type?: "GetCertificateAuthorityCertificateRequest"; /** @@ -1323,13 +1358,6 @@ export namespace IssueCertificateResponse { } } -export enum KeyAlgorithm { - EC_prime256v1 = "EC_prime256v1", - EC_secp384r1 = "EC_secp384r1", - RSA_2048 = "RSA_2048", - RSA_4096 = "RSA_4096" -} - /** * *

An ACM Private CA limit has been exceeded. See the exception message returned to determine the @@ -1780,17 +1808,6 @@ export namespace RevocationConfiguration { } } -export enum RevocationReason { - AFFILIATION_CHANGED = "AFFILIATION_CHANGED", - A_A_COMPROMISE = "A_A_COMPROMISE", - CERTIFICATE_AUTHORITY_COMPROMISE = "CERTIFICATE_AUTHORITY_COMPROMISE", - CESSATION_OF_OPERATION = "CESSATION_OF_OPERATION", - KEY_COMPROMISE = "KEY_COMPROMISE", - PRIVILEGE_WITHDRAWN = "PRIVILEGE_WITHDRAWN", - SUPERSEDED = "SUPERSEDED", - UNSPECIFIED = "UNSPECIFIED" -} - export interface RevokeCertificateRequest { __type?: "RevokeCertificateRequest"; /** @@ -1836,15 +1853,6 @@ export namespace RevokeCertificateRequest { } } -export enum SigningAlgorithm { - SHA256WITHECDSA = "SHA256WITHECDSA", - SHA256WITHRSA = "SHA256WITHRSA", - SHA384WITHECDSA = "SHA384WITHECDSA", - SHA384WITHRSA = "SHA384WITHRSA", - SHA512WITHECDSA = "SHA512WITHECDSA", - SHA512WITHRSA = "SHA512WITHRSA" -} - /** * *

Tags are labels that you can use to identify and organize your private CAs. Each tag @@ -2015,11 +2023,3 @@ export namespace Validity { return _smithy.isa(o, "Validity"); } } - -export enum ValidityPeriodType { - ABSOLUTE = "ABSOLUTE", - DAYS = "DAYS", - END_DATE = "END_DATE", - MONTHS = "MONTHS", - YEARS = "YEARS" -} diff --git a/clients/client-acm/models/index.ts b/clients/client-acm/models/index.ts index 65e44762b37c..012558a0d334 100644 --- a/clients/client-acm/models/index.ts +++ b/clients/client-acm/models/index.ts @@ -1,6 +1,124 @@ import * as _smithy from "@aws-sdk/smithy-client"; import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types"; +export enum CertificateStatus { + EXPIRED = "EXPIRED", + FAILED = "FAILED", + INACTIVE = "INACTIVE", + ISSUED = "ISSUED", + PENDING_VALIDATION = "PENDING_VALIDATION", + REVOKED = "REVOKED", + VALIDATION_TIMED_OUT = "VALIDATION_TIMED_OUT" +} + +export enum CertificateTransparencyLoggingPreference { + DISABLED = "DISABLED", + ENABLED = "ENABLED" +} + +export enum CertificateType { + AMAZON_ISSUED = "AMAZON_ISSUED", + IMPORTED = "IMPORTED", + PRIVATE = "PRIVATE" +} + +export enum DomainStatus { + FAILED = "FAILED", + PENDING_VALIDATION = "PENDING_VALIDATION", + SUCCESS = "SUCCESS" +} + +export enum ExtendedKeyUsageName { + ANY = "ANY", + CODE_SIGNING = "CODE_SIGNING", + CUSTOM = "CUSTOM", + EMAIL_PROTECTION = "EMAIL_PROTECTION", + IPSEC_END_SYSTEM = "IPSEC_END_SYSTEM", + IPSEC_TUNNEL = "IPSEC_TUNNEL", + IPSEC_USER = "IPSEC_USER", + NONE = "NONE", + OCSP_SIGNING = "OCSP_SIGNING", + TIME_STAMPING = "TIME_STAMPING", + TLS_WEB_CLIENT_AUTHENTICATION = "TLS_WEB_CLIENT_AUTHENTICATION", + TLS_WEB_SERVER_AUTHENTICATION = "TLS_WEB_SERVER_AUTHENTICATION" +} + +export enum FailureReason { + ADDITIONAL_VERIFICATION_REQUIRED = "ADDITIONAL_VERIFICATION_REQUIRED", + CAA_ERROR = "CAA_ERROR", + DOMAIN_NOT_ALLOWED = "DOMAIN_NOT_ALLOWED", + DOMAIN_VALIDATION_DENIED = "DOMAIN_VALIDATION_DENIED", + INVALID_PUBLIC_DOMAIN = "INVALID_PUBLIC_DOMAIN", + NO_AVAILABLE_CONTACTS = "NO_AVAILABLE_CONTACTS", + OTHER = "OTHER", + PCA_ACCESS_DENIED = "PCA_ACCESS_DENIED", + PCA_INVALID_ARGS = "PCA_INVALID_ARGS", + PCA_INVALID_ARN = "PCA_INVALID_ARN", + PCA_INVALID_DURATION = "PCA_INVALID_DURATION", + PCA_INVALID_STATE = "PCA_INVALID_STATE", + PCA_LIMIT_EXCEEDED = "PCA_LIMIT_EXCEEDED", + PCA_NAME_CONSTRAINTS_VALIDATION = "PCA_NAME_CONSTRAINTS_VALIDATION", + PCA_REQUEST_FAILED = "PCA_REQUEST_FAILED", + PCA_RESOURCE_NOT_FOUND = "PCA_RESOURCE_NOT_FOUND" +} + +export enum KeyAlgorithm { + EC_prime256v1 = "EC_prime256v1", + EC_secp384r1 = "EC_secp384r1", + EC_secp521r1 = "EC_secp521r1", + RSA_1024 = "RSA_1024", + RSA_2048 = "RSA_2048", + RSA_4096 = "RSA_4096" +} + +export enum KeyUsageName { + ANY = "ANY", + CERTIFICATE_SIGNING = "CERTIFICATE_SIGNING", + CRL_SIGNING = "CRL_SIGNING", + CUSTOM = "CUSTOM", + DATA_ENCIPHERMENT = "DATA_ENCIPHERMENT", + DECIPHER_ONLY = "DECIPHER_ONLY", + DIGITAL_SIGNATURE = "DIGITAL_SIGNATURE", + ENCHIPER_ONLY = "ENCIPHER_ONLY", + KEY_AGREEMENT = "KEY_AGREEMENT", + KEY_ENCIPHERMENT = "KEY_ENCIPHERMENT", + NON_REPUDATION = "NON_REPUDIATION" +} + +export enum RecordType { + CNAME = "CNAME" +} + +export enum RenewalEligibility { + ELIGIBLE = "ELIGIBLE", + INELIGIBLE = "INELIGIBLE" +} + +export enum RenewalStatus { + FAILED = "FAILED", + PENDING_AUTO_RENEWAL = "PENDING_AUTO_RENEWAL", + PENDING_VALIDATION = "PENDING_VALIDATION", + SUCCESS = "SUCCESS" +} + +export enum RevocationReason { + AFFILIATION_CHANGED = "AFFILIATION_CHANGED", + A_A_COMPROMISE = "A_A_COMPROMISE", + CA_COMPROMISE = "CA_COMPROMISE", + CERTIFICATE_HOLD = "CERTIFICATE_HOLD", + CESSATION_OF_OPERATION = "CESSATION_OF_OPERATION", + KEY_COMPROMISE = "KEY_COMPROMISE", + PRIVILEGE_WITHDRAWN = "PRIVILEGE_WITHDRAWN", + REMOVE_FROM_CRL = "REMOVE_FROM_CRL", + SUPERCEDED = "SUPERCEDED", + UNSPECIFIED = "UNSPECIFIED" +} + +export enum ValidationMethod { + DNS = "DNS", + EMAIL = "EMAIL" +} + export interface AddTagsToCertificateRequest { __type?: "AddTagsToCertificateRequest"; /** @@ -295,16 +413,6 @@ export namespace CertificateOptions { } } -export enum CertificateStatus { - EXPIRED = "EXPIRED", - FAILED = "FAILED", - INACTIVE = "INACTIVE", - ISSUED = "ISSUED", - PENDING_VALIDATION = "PENDING_VALIDATION", - REVOKED = "REVOKED", - VALIDATION_TIMED_OUT = "VALIDATION_TIMED_OUT" -} - /** * *

This structure is returned in the response object of ListCertificates @@ -341,17 +449,6 @@ export namespace CertificateSummary { } } -export enum CertificateTransparencyLoggingPreference { - DISABLED = "DISABLED", - ENABLED = "ENABLED" -} - -export enum CertificateType { - AMAZON_ISSUED = "AMAZON_ISSUED", - IMPORTED = "IMPORTED", - PRIVATE = "PRIVATE" -} - export interface DeleteCertificateRequest { __type?: "DeleteCertificateRequest"; /** @@ -410,12 +507,6 @@ export namespace DescribeCertificateResponse { } } -export enum DomainStatus { - FAILED = "FAILED", - PENDING_VALIDATION = "PENDING_VALIDATION", - SUCCESS = "SUCCESS" -} - /** * *

Contains information about the validation of each domain name in the certificate.

@@ -683,40 +774,6 @@ export namespace ExtendedKeyUsage { } } -export enum ExtendedKeyUsageName { - ANY = "ANY", - CODE_SIGNING = "CODE_SIGNING", - CUSTOM = "CUSTOM", - EMAIL_PROTECTION = "EMAIL_PROTECTION", - IPSEC_END_SYSTEM = "IPSEC_END_SYSTEM", - IPSEC_TUNNEL = "IPSEC_TUNNEL", - IPSEC_USER = "IPSEC_USER", - NONE = "NONE", - OCSP_SIGNING = "OCSP_SIGNING", - TIME_STAMPING = "TIME_STAMPING", - TLS_WEB_CLIENT_AUTHENTICATION = "TLS_WEB_CLIENT_AUTHENTICATION", - TLS_WEB_SERVER_AUTHENTICATION = "TLS_WEB_SERVER_AUTHENTICATION" -} - -export enum FailureReason { - ADDITIONAL_VERIFICATION_REQUIRED = "ADDITIONAL_VERIFICATION_REQUIRED", - CAA_ERROR = "CAA_ERROR", - DOMAIN_NOT_ALLOWED = "DOMAIN_NOT_ALLOWED", - DOMAIN_VALIDATION_DENIED = "DOMAIN_VALIDATION_DENIED", - INVALID_PUBLIC_DOMAIN = "INVALID_PUBLIC_DOMAIN", - NO_AVAILABLE_CONTACTS = "NO_AVAILABLE_CONTACTS", - OTHER = "OTHER", - PCA_ACCESS_DENIED = "PCA_ACCESS_DENIED", - PCA_INVALID_ARGS = "PCA_INVALID_ARGS", - PCA_INVALID_ARN = "PCA_INVALID_ARN", - PCA_INVALID_DURATION = "PCA_INVALID_DURATION", - PCA_INVALID_STATE = "PCA_INVALID_STATE", - PCA_LIMIT_EXCEEDED = "PCA_LIMIT_EXCEEDED", - PCA_NAME_CONSTRAINTS_VALIDATION = "PCA_NAME_CONSTRAINTS_VALIDATION", - PCA_REQUEST_FAILED = "PCA_REQUEST_FAILED", - PCA_RESOURCE_NOT_FOUND = "PCA_RESOURCE_NOT_FOUND" -} - /** * *

This structure can be used in the ListCertificates action to filter the @@ -988,15 +1045,6 @@ export namespace InvalidTagException { } } -export enum KeyAlgorithm { - EC_prime256v1 = "EC_prime256v1", - EC_secp384r1 = "EC_secp384r1", - EC_secp521r1 = "EC_secp521r1", - RSA_1024 = "RSA_1024", - RSA_2048 = "RSA_2048", - RSA_4096 = "RSA_4096" -} - /** * *

The Key Usage X.509 v3 extension defines the purpose of the public key contained in the @@ -1019,20 +1067,6 @@ export namespace KeyUsage { } } -export enum KeyUsageName { - ANY = "ANY", - CERTIFICATE_SIGNING = "CERTIFICATE_SIGNING", - CRL_SIGNING = "CRL_SIGNING", - CUSTOM = "CUSTOM", - DATA_ENCIPHERMENT = "DATA_ENCIPHERMENT", - DECIPHER_ONLY = "DECIPHER_ONLY", - DIGITAL_SIGNATURE = "DIGITAL_SIGNATURE", - ENCHIPER_ONLY = "ENCIPHER_ONLY", - KEY_AGREEMENT = "KEY_AGREEMENT", - KEY_ENCIPHERMENT = "KEY_ENCIPHERMENT", - NON_REPUDATION = "NON_REPUDIATION" -} - /** * *

An ACM limit has been exceeded.

@@ -1157,10 +1191,6 @@ export namespace ListTagsForCertificateResponse { } } -export enum RecordType { - CNAME = "CNAME" -} - export interface RemoveTagsFromCertificateRequest { __type?: "RemoveTagsFromCertificateRequest"; /** @@ -1212,18 +1242,6 @@ export namespace RenewCertificateRequest { } } -export enum RenewalEligibility { - ELIGIBLE = "ELIGIBLE", - INELIGIBLE = "INELIGIBLE" -} - -export enum RenewalStatus { - FAILED = "FAILED", - PENDING_AUTO_RENEWAL = "PENDING_AUTO_RENEWAL", - PENDING_VALIDATION = "PENDING_VALIDATION", - SUCCESS = "SUCCESS" -} - /** * *

Contains information about the status of ACM's managed renewal for the certificate. This @@ -1567,19 +1585,6 @@ export namespace ResourceRecord { } } -export enum RevocationReason { - AFFILIATION_CHANGED = "AFFILIATION_CHANGED", - A_A_COMPROMISE = "A_A_COMPROMISE", - CA_COMPROMISE = "CA_COMPROMISE", - CERTIFICATE_HOLD = "CERTIFICATE_HOLD", - CESSATION_OF_OPERATION = "CESSATION_OF_OPERATION", - KEY_COMPROMISE = "KEY_COMPROMISE", - PRIVILEGE_WITHDRAWN = "PRIVILEGE_WITHDRAWN", - REMOVE_FROM_CRL = "REMOVE_FROM_CRL", - SUPERCEDED = "SUPERCEDED", - UNSPECIFIED = "UNSPECIFIED" -} - /** * *

A key-value pair that identifies or specifies metadata about an ACM resource.

@@ -1677,8 +1682,3 @@ export namespace UpdateCertificateOptionsRequest { return _smithy.isa(o, "UpdateCertificateOptionsRequest"); } } - -export enum ValidationMethod { - DNS = "DNS", - EMAIL = "EMAIL" -} diff --git a/clients/client-alexa-for-business/models/index.ts b/clients/client-alexa-for-business/models/index.ts index e45aaa127dfa..699cfe50170e 100644 --- a/clients/client-alexa-for-business/models/index.ts +++ b/clients/client-alexa-for-business/models/index.ts @@ -1,610 +1,187 @@ import * as _smithy from "@aws-sdk/smithy-client"; import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types"; -/** - * - *

The resource being created already exists.

- * - */ -export interface AlreadyExistsException - extends _smithy.SmithyException, - $MetadataBearer { - __type: "AlreadyExistsException"; - name: "AlreadyExistsException"; - $fault: "client"; - Message?: string; +export enum BusinessReportFailureCode { + ACCESS_DENIED = "ACCESS_DENIED", + INTERNAL_FAILURE = "INTERNAL_FAILURE", + NO_SUCH_BUCKET = "NO_SUCH_BUCKET" } -export namespace AlreadyExistsException { - export function isa(o: any): o is AlreadyExistsException { - return _smithy.isa(o, "AlreadyExistsException"); - } +export enum BusinessReportFormat { + CSV = "CSV", + CSV_ZIP = "CSV_ZIP" } -/** - * - *

There is a concurrent modification of resources.

- * - */ -export interface ConcurrentModificationException - extends _smithy.SmithyException, - $MetadataBearer { - __type: "ConcurrentModificationException"; - name: "ConcurrentModificationException"; - $fault: "client"; - Message?: string; +export enum BusinessReportInterval { + ONE_DAY = "ONE_DAY", + ONE_WEEK = "ONE_WEEK", + THIRTY_DAYS = "THIRTY_DAYS" } -export namespace ConcurrentModificationException { - export function isa(o: any): o is ConcurrentModificationException { - return _smithy.isa(o, "ConcurrentModificationException"); - } +export enum BusinessReportStatus { + FAILED = "FAILED", + RUNNING = "RUNNING", + SUCCEEDED = "SUCCEEDED" } -/** - * - *

The request failed because this device is no longer registered and therefore no longer managed by this account.

- * - */ -export interface DeviceNotRegisteredException - extends _smithy.SmithyException, - $MetadataBearer { - __type: "DeviceNotRegisteredException"; - name: "DeviceNotRegisteredException"; - $fault: "client"; - Message?: string; +export enum CommsProtocol { + H323 = "H323", + SIP = "SIP", + SIPS = "SIPS" } -export namespace DeviceNotRegisteredException { - export function isa(o: any): o is DeviceNotRegisteredException { - return _smithy.isa(o, "DeviceNotRegisteredException"); - } +export enum ConferenceProviderType { + BLUEJEANS = "BLUEJEANS", + CHIME = "CHIME", + CUSTOM = "CUSTOM", + FUZE = "FUZE", + GOOGLE_HANGOUTS = "GOOGLE_HANGOUTS", + POLYCOM = "POLYCOM", + RINGCENTRAL = "RINGCENTRAL", + SKYPE_FOR_BUSINESS = "SKYPE_FOR_BUSINESS", + WEBEX = "WEBEX", + ZOOM = "ZOOM" } -/** - * - *

A filter name and value pair that is used to return a more specific list of results. - * Filters can be used to match a set of resources by various criteria.

- * - */ -export interface Filter { - __type?: "Filter"; - /** - * - *

The key of a filter.

- * - */ - Key: string | undefined; - - /** - * - *

The values of a filter.

- * - */ - Values: Array | undefined; +export enum ConnectionStatus { + OFFLINE = "OFFLINE", + ONLINE = "ONLINE" } -export namespace Filter { - export function isa(o: any): o is Filter { - return _smithy.isa(o, "Filter"); - } +export enum DeviceEventType { + CONNECTION_STATUS = "CONNECTION_STATUS", + DEVICE_STATUS = "DEVICE_STATUS" } -/** - * - *

You are performing an action that would put you beyond your account's limits.

- * - */ -export interface LimitExceededException - extends _smithy.SmithyException, - $MetadataBearer { - __type: "LimitExceededException"; - name: "LimitExceededException"; - $fault: "client"; - Message?: string; +export enum DeviceStatus { + DEREGISTERED = "DEREGISTERED", + FAILED = "FAILED", + PENDING = "PENDING", + READY = "READY", + WAS_OFFLINE = "WAS_OFFLINE" } -export namespace LimitExceededException { - export function isa(o: any): o is LimitExceededException { - return _smithy.isa(o, "LimitExceededException"); - } +export enum DeviceStatusDetailCode { + ASSOCIATION_REJECTION = "ASSOCIATION_REJECTION", + AUTHENTICATION_FAILURE = "AUTHENTICATION_FAILURE", + CERTIFICATE_ISSUING_LIMIT_EXCEEDED = "CERTIFICATE_ISSUING_LIMIT_EXCEEDED", + CREDENTIALS_ACCESS_FAILURE = "CREDENTIALS_ACCESS_FAILURE", + DEVICE_SOFTWARE_UPDATE_NEEDED = "DEVICE_SOFTWARE_UPDATE_NEEDED", + DEVICE_WAS_OFFLINE = "DEVICE_WAS_OFFLINE", + DHCP_FAILURE = "DHCP_FAILURE", + DNS_FAILURE = "DNS_FAILURE", + INTERNET_UNAVAILABLE = "INTERNET_UNAVAILABLE", + INVALID_CERTIFICATE_AUTHORITY = "INVALID_CERTIFICATE_AUTHORITY", + INVALID_PASSWORD_STATE = "INVALID_PASSWORD_STATE", + NETWORK_PROFILE_NOT_FOUND = "NETWORK_PROFILE_NOT_FOUND", + PASSWORD_NOT_FOUND = "PASSWORD_NOT_FOUND", + TLS_VERSION_MISMATCH = "TLS_VERSION_MISMATCH", + UNKNOWN_FAILURE = "UNKNOWN_FAILURE" } -/** - * - *

The name sent in the request is already in use.

- * - */ -export interface NameInUseException - extends _smithy.SmithyException, - $MetadataBearer { - __type: "NameInUseException"; - name: "NameInUseException"; - $fault: "client"; - Message?: string; +export enum DeviceUsageType { + VOICE = "VOICE" } -export namespace NameInUseException { - export function isa(o: any): o is NameInUseException { - return _smithy.isa(o, "NameInUseException"); - } +export enum DistanceUnit { + IMPERIAL = "IMPERIAL", + METRIC = "METRIC" } -/** - * - *

The resource is not found.

- * - */ -export interface NotFoundException - extends _smithy.SmithyException, - $MetadataBearer { - __type: "NotFoundException"; - name: "NotFoundException"; - $fault: "client"; - Message?: string; +export enum EnablementType { + ENABLED = "ENABLED", + PENDING = "PENDING" } -export namespace NotFoundException { - export function isa(o: any): o is NotFoundException { - return _smithy.isa(o, "NotFoundException"); - } +export enum EnablementTypeFilter { + ENABLED = "ENABLED", + PENDING = "PENDING" } -/** - * - *

The resource in the request is already in use.

- * - */ -export interface ResourceInUseException - extends _smithy.SmithyException, - $MetadataBearer { - __type: "ResourceInUseException"; - name: "ResourceInUseException"; - $fault: "client"; - /** - * - *

A unique, user-specified identifier for the request that ensures idempotency.

- * - */ - ClientRequestToken?: string; +export enum EndOfMeetingReminderType { + ANNOUNCEMENT_TIME_CHECK = "ANNOUNCEMENT_TIME_CHECK", + ANNOUNCEMENT_VARIABLE_TIME_LEFT = "ANNOUNCEMENT_VARIABLE_TIME_LEFT", + CHIME = "CHIME", + KNOCK = "KNOCK" +} - Message?: string; +export enum EnrollmentStatus { + DEREGISTERING = "DEREGISTERING", + DISASSOCIATING = "DISASSOCIATING", + INITIALIZED = "INITIALIZED", + PENDING = "PENDING", + REGISTERED = "REGISTERED" } -export namespace ResourceInUseException { - export function isa(o: any): o is ResourceInUseException { - return _smithy.isa(o, "ResourceInUseException"); - } +export enum Feature { + ALL = "ALL", + BLUETOOTH = "BLUETOOTH", + LISTS = "LISTS", + NETWORK_PROFILE = "NETWORK_PROFILE", + NOTIFICATIONS = "NOTIFICATIONS", + SETTINGS = "SETTINGS", + SKILLS = "SKILLS", + VOLUME = "VOLUME" } -/** - * - *

The caller has no permissions to operate on the resource involved in the API call.

- * - */ -export interface UnauthorizedException - extends _smithy.SmithyException, - $MetadataBearer { - __type: "UnauthorizedException"; - name: "UnauthorizedException"; - $fault: "client"; - Message?: string; +export enum Locale { + en_US = "en-US" } -export namespace UnauthorizedException { - export function isa(o: any): o is UnauthorizedException { - return _smithy.isa(o, "UnauthorizedException"); - } +export enum NetworkEapMethod { + EAP_TLS = "EAP_TLS" } -export enum CommsProtocol { - H323 = "H323", - SIP = "SIP", - SIPS = "SIPS" -} - -/** - * - *

An entity that provides a conferencing solution. Alexa for Business acts as the voice interface and mediator that connects users to their preferred conference provider. Examples of conference providers include Amazon Chime, Zoom, Cisco, and Polycom.

- * - */ -export interface ConferenceProvider { - __type?: "ConferenceProvider"; - /** - * - *

The ARN of the newly created conference provider.

- * - */ - Arn?: string; - - /** - * - *

The IP endpoint and protocol for calling.

- * - */ - IPDialIn?: IPDialIn; - - /** - * - *

The meeting settings for the conference provider.

- * - */ - MeetingSetting?: MeetingSetting; - - /** - * - *

The name of the conference provider.

- * - */ - Name?: string; - - /** - * - *

The information for PSTN conferencing.

- * - */ - PSTNDialIn?: PSTNDialIn; - - /** - * - *

The type of conference providers.

- * - */ - Type?: ConferenceProviderType | string; -} - -export namespace ConferenceProvider { - export function isa(o: any): o is ConferenceProvider { - return _smithy.isa(o, "ConferenceProvider"); - } -} - -export enum ConferenceProviderType { - BLUEJEANS = "BLUEJEANS", - CHIME = "CHIME", - CUSTOM = "CUSTOM", - FUZE = "FUZE", - GOOGLE_HANGOUTS = "GOOGLE_HANGOUTS", - POLYCOM = "POLYCOM", - RINGCENTRAL = "RINGCENTRAL", - SKYPE_FOR_BUSINESS = "SKYPE_FOR_BUSINESS", - WEBEX = "WEBEX", - ZOOM = "ZOOM" -} - -/** - * - *

The IP endpoint and protocol for calling.

- * - */ -export interface IPDialIn { - __type?: "IPDialIn"; - /** - * - *

The protocol, including SIP, SIPS, and H323.

- * - */ - CommsProtocol: CommsProtocol | string | undefined; - - /** - * - *

The IP address.

- * - */ - Endpoint: string | undefined; -} - -export namespace IPDialIn { - export function isa(o: any): o is IPDialIn { - return _smithy.isa(o, "IPDialIn"); - } -} - -/** - * - *

The values that indicate whether a pin is always required (YES), never required (NO), - * or OPTIONAL.

- * - * - */ -export interface MeetingSetting { - __type?: "MeetingSetting"; - /** - * - *

The values that indicate whether the pin is always required.

- * - */ - RequirePin: RequirePin | string | undefined; -} - -export namespace MeetingSetting { - export function isa(o: any): o is MeetingSetting { - return _smithy.isa(o, "MeetingSetting"); - } -} - -/** - * - *

The information for public switched telephone network (PSTN) conferencing.

- * - */ -export interface PSTNDialIn { - __type?: "PSTNDialIn"; - /** - * - *

The zip code.

- * - */ - CountryCode: string | undefined; - - /** - * - *

The delay duration before Alexa enters the conference ID with dual-tone multi-frequency (DTMF). Each number on the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network.

- * - */ - OneClickIdDelay: string | undefined; - - /** - * - *

The delay duration before Alexa enters the conference pin with dual-tone multi-frequency (DTMF). Each number on the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network.

- * - */ - OneClickPinDelay: string | undefined; - - /** - * - *

The phone number to call to join the conference.

- * - */ - PhoneNumber: string | undefined; -} - -export namespace PSTNDialIn { - export function isa(o: any): o is PSTNDialIn { - return _smithy.isa(o, "PSTNDialIn"); - } -} - -export enum RequirePin { - NO = "NO", - OPTIONAL = "OPTIONAL", - YES = "YES" -} - -/** - * - *

The audio message. There is a 1 MB limit on the audio file input and the only supported - * format is MP3. To convert your MP3 audio files to an Alexa-friendly,

- *

required codec version (MPEG version 2) and bit rate (48 kbps), you might use converter - * software. One option for this is a command-line tool, FFmpeg. For more information, see - * FFmpeg. The following command converts the - * provided to an MP3 file that is played in the announcement:

- *

- * ffmpeg -i -ac 2 -codec:a libmp3lame -b:a 48k -ar 16000 - * - *

- * - */ -export interface Audio { - __type?: "Audio"; - /** - * - *

The locale of the audio message. Currently, en-US is supported.

- * - */ - Locale: Locale | string | undefined; - - /** - * - *

The location of the audio file. Currently, S3 URLs are supported. Only S3 locations - * comprised of safe characters are valid. For more information, see Safe Characters.

- * - */ - Location: string | undefined; -} - -export namespace Audio { - export function isa(o: any): o is Audio { - return _smithy.isa(o, "Audio"); - } -} - -/** - * - *

The content definition. This can contain only one text, SSML, or audio list - * object.

- * - */ -export interface Content { - __type?: "Content"; - /** - * - *

The list of audio messages.

- * - */ - AudioList?: Array